Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JAVA ME ÊÖ»ú³ÌÐòÈëÃż¶Ô´Âë

 Ò»¸öÓÉ Carol Hamer дµÄ±È½ÏÓдú±íÐÔµÄÔ´Â룬×÷ÕßÈ«Á¦ÍƼö£¬ÓÈÆäÊǶÔÓÚûÓÐ J2ME ¿ª·¢¾­ÑéµÄÅóÓÑ¡£×Ô¼º¶¯ÊÖÇóöÒÔÏÂÌù³öµÄ Hello.java ºÍ HelloCanvas.java Ô´Â룬²¢ÔËÐУ¬ÓÃÐÄÌå»áһϡ£ÏàÐÅÄãÀí½âÁË´ËÔ´ÂëÖ®ºó£¬¼´¿É²½Èë J2ME ¿ª·¢¡£
×¢ÊͶ¼ÔÚÔ´ÂëÀÔËÐл·¾³×Ô¼ºÅ䣬×Ô¼º¶¯ÊÖ¿´ÔËÐÐЧ¹û£¬Àí½âÖ®ºó£¬È»ºó¶¯ÊÖÐÞ¸ÄÒ»ÏÂÔ´Â룬J2ME ¿ª·¢£¬Äã¿ÉÒԵģ¡
Hello.java Ô´Â룺
package net.frog_parrot.hello;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
/**
* This is the main class of the hello world demo
*
* @author Carol Hamer
*
*/
public class Hello extends MIDlet implements CommandListener {

/**
* The canvas is the region of the screen that has bean alloted to the game
*/
HelloCanvas myCanvas;

/**
* The Command objects apears as buttons.
*/
private Command exitCommand = new Command("Exit",Command.EXIT,99);

/**
* The Command objects apears as buttons.
*/
private Command newCommand = new Command("Toggle Msg",Command.SCREEN,1);

/**
* initialize the canvas and the commands
*/
public Hello() {
myCanvas = new HelloCanvas(Display.getDisplay(this));
myCanvas.addCommand(exitCommand);
myCanvas.addCommand(newCommand);
myCanvas.setCommandListener(this);
}
//--------------------------------
// implementation of MIDlet

/**
* Start the application
*/
protected void startApp() throws MIDletStateChangeException {
myCanvas.start();
}

/**
* This method is called to notify the MIDlet to enter a paused state.
* The MIDlet should use this opportunity to release shared resources.
*/
protected void pauseApp() {
}

/**
* If the MIDlet was using resources,it should release them in this method
*/
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
}

//-----------------------
// implementation of CommandListener.
/**
* Respond to a command issued on the Canvas
* (either reset or exit)
*/
public void commandAction(Co


Ïà¹ØÎĵµ£º

javaðÅÝÅÅÐò£¡

int temp;
int [] arr=new int[];
for(int i=0;i<arr.length;i++)
{
    for(int j=0;j<arr.length-i-1;j++)
    {
         if(arr[j]<arr[j+1])
          {
   & ......

Axis2 java WebServices¿ª·¢ÈýPOJO

»·¾³JDK1.5
Eclipse 3.2
Ö±½ÓÉÏ´úÂ룺Èç¹ûûÓÐÅäÖúû·¾³Çë²Î¿´Ç°Á½ÆªÈÕÖ¾
·þÎñÆ÷¶Ë´úÂë
UserÀࣺ
/*
*Class User.java
*Create Date: 2009-11-4
*Author:a276202460
*/
package com.axis.pojo.test;
public class User implements java.io.Serializable{
public boolean equals(Object obj) {
if (obj == ......

JavaµÄdz¿½±´ºÍÉ±´(1)

 JavaµÄ¿½±´·ÖΪÉ±´ºÍdz¿½±´
dz¿½±´£º°ÑÒ»¸ö¶ÔÏóÖÐËùÓеķÇstatic³ÉÔ±±äÁ¿(°üÀ¨¶ÔÆäËü¶ÔÏóµÄÒýÓã¬javaÖеÄÒýÓÃÏ൱ÓÚC/C++ÖеÄÖ¸Õë±äÁ¿)¶¼¿½±´Ò»±é£¬¶ø²»¿½±´ÒýÓÃËùÖ¸ÏòµÄ¶ÔÏó
É±´£º°ÑÒ»¸ö¶ÔÏóÖÐËùÓеķÇstatic³ÉÔ±±äÁ¿(°üÀ¨¶ÔÆäËü¶ÔÏóµÄÒýÓÃ)¶¼¿½±´Ò»±é£¬ÒýÓÃËùÖ¸ÏòµÄ¶ÔÏóÒ²¿½±´Ò»·Ý
ÕâƪÎÄÕÂÏȽ²Êödz¿½±´£ ......

javaµÄÄÇЩÊ£ºÊµÏÖѧÉúÐÅϢ¼ÈëºÍ²é¿´

±¾³ÌÐò¿ÉÒÔʵÏÖѧÉúÐÅϢ¼ÈëºÍ²é¿´¡£
ÒªÇó£º
£¨1£©ÀûÓÃSwingÉè¼ÆͼÐÎÓû§½çÃ棬½çÃæ°üÀ¨£ºÑ§ÉúÐÅϢ¼ÈëºÍÏÔʾѧÉúÐÅÏ¢£»
£¨2£©Ìí¼ÓѧÉúÐÅÏ¢£ºÊµÏÖÍù¼¯ºÏÀïÌí¼ÓѧÉúÐÅÏ¢£¨Ñ§ºÅ,ÐÕÃû,ÐԱ𣬳ɼ¨£©
      ×¢Ò⣺Óû§ÊäÈëÐÅÏ¢µÄÑéÖ¤¡£
£¨3£©ÐÞ¸ÄѧÉúÐÅÏ¢£ºÓÉÓû§ÊäÈëѧÉúµÄѧºÅ£¬³ÌÐòÑéÖ¤ÊÇ·ñÓдËѧÉú ......

·Ç³ÏÎðÈÅ£º2010Ó¦½ì±ÏÒµÉú java³ÌÐòÔ±


¸öÈ˼òÀú
¸öÈËÐÅÏ¢
ÐÕÃû
£º

Öì½ð¹ú
 
     
ÐÔ±ð
£º

ÄÐ
³öÉúÈÕÆÚ
£º
1988
Äê
1
ÔÂ
9
ÈÕ
                   
Email
£º
zhujinguo2009@gmail.com
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ