/*
* dateFieldlet.java
*
* Created on 2005年4月15日, 上午11:32
*/
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
*
* @author Administrator
* @version
*/
public class dateFieldlet extends MIDlet implements CommandListener{
private Form aForm;
private Display aDisplay;
private DateField aDateField;
private Command exitCommand;
private Command okCommand;
private Alert anAlert;
public dateFieldlet(){
anAlert=new Alert("Today",null,null,AlertType.INFO);
anAlert.setTimeout(3000);
exitCommand=new Command("EXIT",Command.EXIT,1);
okCommand=new Command("OK",Command.EXIT,1);
aForm=new Form("DateFieldTest");
aDateField=new DateField("Today’s date:",DateField.DATE_TIME);
aForm.append(aDateField);
aForm.addCommand(exitCommand);
aForm.addCommand(okCommand);
我的绝色总裁未婚妻小说|我的J2ME编程联系(2)――DateField
http://m.bbyears.com/fanwenwang/5707.html
推荐访问:我的娇妻 我的家乡作文 我的将军啊 我的经纪人 我的绝色美房客免费阅读 我和我的经纪人 我的家乡