Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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


Ïà¹ØÎĵµ£º

ʹÓà IBM Rational ClearQuest Java API ½øÐм¯³É¿ª·¢

 Ô¤±¸ÖªÊ¶
¡¡¡¡±¾½Ì³ÌÕë¶ÔʹÓùý Rational ClearQuest Test Management µÄÈËÔ±¡£ÐèÒªÄãÁ˽â CQTM ÖеĻù±¾¸ÅÄî¡£ÁíÍâÄã×îºÃÁ˽â Eclipse£¬µ«²»ÊDZØÐèµÄ¡£
¡¡¡¡ÏµÍ³ÐèÇó
¡¡¡¡Äú¿ÉÒÔ°²×° IBM WebSphere Integration Developer À´ÔËÐб¾ÎÄÖеÄʾÀý³ÌÐò¡£
¡¡¡¡Rational ClearQuest Test Manager£¨CQTM£©¼ò½é
¡¡
¡¡Ä¿ ......

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 card ¼¼Êõ£¨Ò»£©

 
¼ò½é
¡¡¡¡Java Card ¼¼ÊõÊÊÓÃÓÚ Java ƽ̨£¬¿ÉÓ¦ÓÃÓÚ»·¾³¸ß¶ÈרÓû¯¡¢ÄÚ´æºÍ´¦ÀíÔ¼Êø±È J2ME É豸¸ü¿Á¿ÌµÄÖÇÄÜ¿¨ºÍÆäËûÉ豸¡£
¡¡¡¡ÖÇÄÜ¿¨ÔÚ¸öÈ˰²È«ÁìÓò·¢»ÓמÙ×ãÇáÖØµÄ×÷Óá£ËüÃÇ¿ÉÒÔÓÃÓÚÌí¼ÓÉí·ÝÑéÖ¤£¬²¢¶Ô°²È«¼¶±ðºÜ¸ßµÄÐÅϢϵͳÌṩ°²È«·ÃÎÊ¡£´æ´¢ÔÚÖÇÄÜ¿¨ÖеÄÐÅÏ¢ÊÇ¿ÉÒÆÖ²µÄ¡£½èÖú Java Card ¼¼Êõ£¬Äú¿ÉÒÔÐ ......

Java SE6 ϵͳÍÐÅÌСӦÓùþ

 /**
* @(#)MyTray.java
*
*
* @author Xie Xiaojin
* @version 1.00 2009/11/9
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class MyTray implements ActionListener {
private MenuItem item1;
private MenuItem item2;
private MenuItem item3;
private ......

java webservice ·þÎñÆ÷´úÂë»ñÈ¡ÇëÇó¿Í»§¶ËµÄIPµØÖ·

 package test;
import javax.annotation.Resource;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.xml.ws.WebServiceContext;
import javax.xml.ws.handler.MessageContext;
@javax.jws.WebService(targetNamespace = "http://test/", serviceName = "Web ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ