锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲AV无码国产一区二区三区,亚洲国产成人久久一区WWW,亚洲国产熟亚洲女视频http://m.tkk7.com/supercrsky/category/32524.html涓撴敞浜嶫avaWeb寮鍙?/description>zh-cnTue, 24 Jun 2008 19:26:13 GMTTue, 24 Jun 2008 19:26:13 GMT60J2Me妯℃嫙鍙戦佹墜鏈虹煭淇℃祦紼?/title><link>http://m.tkk7.com/supercrsky/articles/210416.html</link><dc:creator>銆呬笂鍠勮嫢姘淬?/dc:creator><author>銆呬笂鍠勮嫢姘淬?/author><pubDate>Tue, 24 Jun 2008 15:24:00 GMT</pubDate><guid>http://m.tkk7.com/supercrsky/articles/210416.html</guid><wfw:comment>http://m.tkk7.com/supercrsky/comments/210416.html</wfw:comment><comments>http://m.tkk7.com/supercrsky/articles/210416.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/supercrsky/comments/commentRss/210416.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/supercrsky/services/trackbacks/210416.html</trackback:ping><description><![CDATA[     鎽樿: package com; import javax.microedition.lcdui.Alert; import javax.microedition.lcdui.AlertType; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.C...  <a href='http://m.tkk7.com/supercrsky/articles/210416.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/supercrsky/aggbug/210416.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/supercrsky/" target="_blank">銆呬笂鍠勮嫢姘淬?/a> 2008-06-24 23:24 <a href="http://m.tkk7.com/supercrsky/articles/210416.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎴戠殑絎竴涓狫2ME 紼嬪簭http://m.tkk7.com/supercrsky/articles/210027.html銆呬笂鍠勮嫢姘淬?/dc:creator>銆呬笂鍠勮嫢姘淬?/author>Mon, 23 Jun 2008 04:55:00 GMThttp://m.tkk7.com/supercrsky/articles/210027.htmlhttp://m.tkk7.com/supercrsky/comments/210027.htmlhttp://m.tkk7.com/supercrsky/articles/210027.html#Feedback0http://m.tkk7.com/supercrsky/comments/commentRss/210027.htmlhttp://m.tkk7.com/supercrsky/services/trackbacks/210027.htmlpackage com;

import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.TextBox;
import javax.microedition.lcdui.TextField;
import javax.microedition.lcdui.Ticker;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

/*******************************************************************************
 * 
 * 
@author zdw
 * 
 
*/

public class TextTest extends MIDlet implements CommandListener
{
    
// 鏂囨湰妗?/span>
    private TextBox tbx = null;
    
// 鎺у埗杈撳叆杈撳嚭鐨勭被
    private Display display = Display.getDisplay(this);
    
// 鍛戒護鑿滃崟(娓呴櫎)
    private Command clear;
    
// 寰楀埌榧犳爣浣嶇疆
    private Command getCursorPos;
    
// 杈撳叆闄愬埗
    private Command astrict;
    
// 鍙戦?/span>
    private Command send;
    
// 閫鍑?/span>
    private Command exit;

    
public TextTest()
    
{
        
// 鍒濆鍖杢extBox
        tbx = new TextBox("嫻嬭瘯鏍囬""嫻嬭瘯鍐呭"200, TextField.ANY);
        
// 璁劇疆涓哄綋鍓嶆樉紺?/span>
        display.setCurrent(tbx);
        
// 娓呴櫎鑿滃崟
        clear = new Command("娓呯┖", Command.SCREEN, 1);
        
// 鍏夋爣浣嶇疆鑿滃崟
        getCursorPos = new Command("鍏夋爣浣嶇疆", Command.SCREEN, 1);
        
// 杈撳叆闄愬埗鑿滃崟
        astrict = new Command("鍙兘杈撳叆鏁板瓧", Command.SCREEN, 1);
        
// 鍙戦佽彍鍗?/span>
        send = new Command("鍙戦?/span>", Command.SCREEN, 1);
        
// 閫鍑鴻彍鍗?/span>
        exit = new Command("閫鍑?/span>", Command.EXIT, 1);

        tbx.addCommand(clear);
        tbx.addCommand(getCursorPos);
        tbx.addCommand(astrict);
        tbx.addCommand(send);
        tbx.addCommand(exit);
        
// 娣誨姞Ticker(鏄劇ず鍦═extBox涓婃柟)
        tbx.setTicker(new Ticker("鐭俊緙栬緫鍣?/span>"));
        
// 娣誨姞浜嬩歡鐩戝惉鍣?/span>
        tbx.setCommandListener(this);
    }


    
// Alert鐨勫垵濮嬪嚱鏁?/span>
    public void initAlert()
    
{
        Alert alert 
= new Alert("鎻愮ず""鍙戦佹垚鍔?/span>"null, AlertType.INFO);
        alert.setTimeout(Alert.FOREVER);
        display.setCurrent(alert);
    }


    
// 浜嬩歡澶勭悊
    public void commandAction(Command cmd, Displayable dis)
    
{
        
if (cmd == getCursorPos)
        
{
            System.out.println(
"鍏夋爣浣嶇疆涓?" + tbx.getCaretPosition());
        }

        
if (cmd == clear)
        
{
            tbx.setString(
"");
        }

        
if (cmd.getLabel().equals("鍙兘杈撳叆鏁板瓧"))
        
{
            tbx.setConstraints(TextField.DECIMAL);
            tbx.removeCommand(astrict);
            astrict 
= new Command("鍙栨秷闄愬埗", Command.SCREEN, 1);
            tbx.addCommand(astrict);
        }

        
if (cmd.getLabel().equals("鍙栨秷闄愬埗"))
        
{
            tbx.setConstraints(TextField.ANY);
            tbx.removeCommand(astrict);
            astrict 
= new Command("鍙兘杈撳叆鏁板瓧", Command.SCREEN, 1);
            tbx.addCommand(astrict);
        }

        
if (cmd.getCommandType() == Command.EXIT)
        
{
            
this.notifyDestroyed();
        }

        
if (cmd == send)
        
{
            
this.initAlert();
        }

    }


    
protected void destroyApp(boolean arg0) throws MIDletStateChangeException
    
{

    }


    
protected void pauseApp()
    
{

    }


    
protected void startApp() throws MIDletStateChangeException
    
{

    }


}



]]>
主站蜘蛛池模板: 久久精品免费观看| 亚洲人成电影院在线观看| 亚洲av永久无码精品网址| 四虎永久在线精品免费观看视频| 97se亚洲综合在线| 日本免费一区二区在线观看| 亚洲激情电影在线| 毛片免费视频在线观看| 亚洲中文字幕无码久久2020| 免费高清资源黄网站在线观看| 亚洲日韩精品国产一区二区三区| 午夜a级成人免费毛片| 国产亚洲福利精品一区二区| 亚洲日韩国产成网在线观看| 国产伦精品一区二区免费| 国产亚洲3p无码一区二区| 嫩草在线视频www免费观看| 久久久久亚洲AV无码麻豆| 在线观看特色大片免费视频| 精品亚洲福利一区二区| 国产亚洲欧洲Aⅴ综合一区| 久久综合九色综合97免费下载| 亚洲精品福利在线观看| 毛片a级毛片免费播放100| 美女羞羞视频免费网站| 亚洲精品成人无限看| 美女视频黄的全免费视频 | 成年18网站免费视频网站| 亚洲欧美日韩综合久久久| 啊v在线免费观看| 成人爽a毛片免费| 亚洲xxxx视频| 亚洲综合无码精品一区二区三区| 无码免费一区二区三区免费播放 | 亚洲精品视频在线观看视频| 成年人性生活免费视频| 两个人日本免费完整版在线观看1| 亚洲成年人免费网站| 免费一级特黄特色大片在线 | 日本免费中文字幕| 亚洲AV无码专区在线电影成人|