J2ME中文教程 7 开发无线网络应用程序[32]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

   } else {

    if (!stop) {

     ioe.printStackTrace();

    }

   }

  } catch (Exception e) {

   e.printStackTrace();

  }

 }

 public void commandAction(Command c, Displayable s) {

  if (c == sendCommand && !parent.isPaused()) {

   sender.send(tf.getString());

  }

  if ((c == Alert.DISMISS_COMMAND) || (c == exitCommand)) {

   parent.notifyDestroyed();

   parent.destroyApp(true);

  }

 }

 /**

  * Close all open streams

  */

 public void stop() {

  try {

   stop = true;

   if (is != null) {

    is.close();

   }

   if (os != null) {

    os.close();

   }

   if (sc != null) {

    sc.close();

本文关键:J2ME中文教程 7 开发无线网络应用程序
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top