锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲AV无码国产一区二区三区,亚洲国产成人久久一区WWW,亚洲国产熟亚洲女视频http://www.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://www.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://www.tkk7.com/supercrsky/articles/210416.html</guid><wfw:comment>http://www.tkk7.com/supercrsky/comments/210416.html</wfw:comment><comments>http://www.tkk7.com/supercrsky/articles/210416.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/supercrsky/comments/commentRss/210416.html</wfw:commentRss><trackback:ping>http://www.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://www.tkk7.com/supercrsky/articles/210416.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/supercrsky/aggbug/210416.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/supercrsky/" target="_blank">銆呬笂鍠勮嫢姘淬?/a> 2008-06-24 23:24 <a href="http://www.tkk7.com/supercrsky/articles/210416.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎴戠殑絎竴涓狫2ME 紼嬪簭http://www.tkk7.com/supercrsky/articles/210027.html銆呬笂鍠勮嫢姘淬?/dc:creator>銆呬笂鍠勮嫢姘淬?/author>Mon, 23 Jun 2008 04:55:00 GMThttp://www.tkk7.com/supercrsky/articles/210027.htmlhttp://www.tkk7.com/supercrsky/comments/210027.htmlhttp://www.tkk7.com/supercrsky/articles/210027.html#Feedback0http://www.tkk7.com/supercrsky/comments/commentRss/210027.htmlhttp://www.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免费观看| 久久久久免费视频| jlzzjlzz亚洲jzjzjz| 波多野结衣一区二区免费视频| 久久免费美女视频| 亚洲gay片在线gv网站| 久久精品国产精品亚洲人人 | 日本人成在线视频免费播放| 亚洲一区二区影视| 国产亚洲情侣一区二区无| 久久99九九国产免费看小说| 一级午夜a毛片免费视频| 亚洲一卡2卡4卡5卡6卡残暴在线| 亚洲国产一区二区视频网站| 日韩一区二区a片免费观看| 久久免费香蕉视频| 亚洲色大情网站www| 蜜芽亚洲av无码精品色午夜| 亚洲国产成人爱av在线播放| 99re热免费精品视频观看| a级毛片100部免费观看| 亚洲国产欧美国产综合一区| 亚洲国产综合专区电影在线| 久久亚洲AV无码西西人体| 天天摸天天碰成人免费视频| 7m凹凸精品分类大全免费| 本道天堂成在人线av无码免费| 亚洲综合激情五月丁香六月| 亚洲∧v久久久无码精品| 亚洲片一区二区三区| 色播在线永久免费视频| 国产成人精品免费视频大| 在线成人精品国产区免费| 又黄又大的激情视频在线观看免费视频社区在线 | 精品成在人线AV无码免费看 | 国产免费牲交视频免费播放| 亚洲精品无码成人|