亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? jimmui.java.svn-base

?? 類似QQ的功能
?? SVN-BASE
?? 第 1 頁 / 共 5 頁
字號:
/******************************************************************************* Jimm - Mobile Messaging - J2ME ICQ clone Copyright (C) 2003-08  Jimm Project This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. ******************************************************************************** File: src/jimm/JimmUI.java Version: ###VERSION###  Date: ###DATE### Author(s): Artyomov Denis, Igor Palkin, Andreas Rossbacher *******************************************************************************/package jimm;import java.io.IOException;import java.io.InputStream;import java.util.*;import javax.microedition.io.Connector;import javax.microedition.io.HttpConnection;import javax.microedition.lcdui.Alert;import javax.microedition.lcdui.AlertType;import javax.microedition.lcdui.Canvas;import javax.microedition.lcdui.Command;import javax.microedition.lcdui.CommandListener;import javax.microedition.lcdui.Displayable;import javax.microedition.lcdui.Font;import javax.microedition.lcdui.Form;import javax.microedition.lcdui.Image;import javax.microedition.lcdui.List;import javax.microedition.lcdui.TextBox;import javax.microedition.lcdui.TextField;import jimm.comm.*;import jimm.util.ResourceBundle;import DrawControls.ImageList;import DrawControls.TextList;import DrawControls.VirtualList;public class JimmUI implements CommandListener{	static private Vector lastScreens = new Vector();	static private TextList msgBoxList;		public static void setLastScreen(JimmScreen screen, boolean isRoot)	{		synchronized (lastScreens)		{			if (isRoot) lastScreens.removeAllElements();			else lastScreens.removeElement(screen);			lastScreens.addElement(screen);		}	}		public static void removeScreen(JimmScreen screen)	{		synchronized (lastScreens)		{			lastScreens.removeElement(screen);		}	}		public static void backToLastScreen()	{		synchronized (lastScreens)		{			if (lastScreens.size() == 0) MainMenu.activateMenu();			else			{				for (;;)				{					JimmScreen screen = (JimmScreen)lastScreens.lastElement();					lastScreens.removeElement(screen);										if (lastScreens.size() == 0 || !screen.isScreenActive()) 					{						//System.out.println("lastScreens.size()="+lastScreens.size()+", screen.isScreenActive()="+screen.isScreenActive()+", screen="+screen.getClass().getName());						screen.activate();						break;					}				} 			}		}	}		// Commands codes	final public static int CMD_OK = 1;	final public static int CMD_CANCEL = 2;	final public static int CMD_YES = 3;	final public static int CMD_NO = 4;	final public static int CMD_FIND = 5;	final public static int CMD_BACK = 6;	// Commands	public final static Command cmdSave = new Command(ResourceBundle.getString("save"), Command.ITEM, 1);	public final static Command cmdOk = new Command(ResourceBundle.getString("ok"), Command.OK, 1);	public final static Command cmdCancel = new Command(ResourceBundle.getString("cancel"), Jimm.cmdBack, 5);	public final static Command cmdYes = new Command(ResourceBundle.getString("yes"), Command.OK, 1);	public final static Command cmdNo = new Command(ResourceBundle.getString("no"), Command.CANCEL, 2);	public final static Command cmdFind = new Command(ResourceBundle.getString("find"), Command.OK, 1);	public final static Command cmdBack = new Command(ResourceBundle.getString("back"), Jimm.cmdBack, 1);	public final static Command cmdCopyText = new Command(ResourceBundle.getString("copy_text"), Command.ITEM, 3);	public final static Command cmdCopyAll = new Command(ResourceBundle.getString("copy_all_text"), Command.ITEM, 4);	public final static Command cmdEdit = new Command(ResourceBundle.getString("edit"), Command.ITEM, 1);	public final static Command cmdMenu = new Command(ResourceBundle.getString("menu"), Command.ITEM, 1);	public final static Command cmdSelect = new Command(ResourceBundle.getString("select"), Command.OK, 2);	public final static Command cmdSelect2 = new Command(ResourceBundle.getString("select"), Command.ITEM, 2);	public final static Command cmdSend = new Command(ResourceBundle.getString("send"), Command.OK, 1);	public final static Command cmdList = new Command(ResourceBundle.getString("contact_list"), Command.ITEM, 1);	public final static Command cmdInfo = new Command(ResourceBundle.getString("info"), Command.ITEM, 10);		//#sijapp cond.if modules_SMILES_STD="true" | modules_SMILES_ANI="true" #	public final static Command cmdInsertEmo = new Command(ResourceBundle.getString("insert_emotion"), Command.ITEM, 3);	//#sijapp cond.end#		public final static Command cmdInsTemplate = new Command(ResourceBundle.getString("templates"), Command.ITEM, 4);			//#sijapp cond.if target is "MIDP2" | target is "SIEMENS2" | target is "MOTOROLA"#	public final static Command cmdGotoURL = new Command(ResourceBundle.getString("goto_url"), Command.ITEM, 9);	//#sijapp cond.end#		private final static Command cmdClearText = new Command(ResourceBundle.getString("clear"), Command.ITEM, 5);	static private CommandListener listener;	static private Hashtable commands = new Hashtable();	static private JimmUI _this;		// Misc constants	final private static int GROUP_SELECTOR_MOVE_TAG = 4; 	// Associate commands and commands codes 	static	{		commands.put(cmdOk, new Integer(CMD_OK));		commands.put(List.SELECT_COMMAND, new Integer(CMD_OK));		commands.put(cmdCancel, new Integer(CMD_CANCEL));		commands.put(cmdYes, new Integer(CMD_YES));		commands.put(cmdNo, new Integer(CMD_NO));		commands.put(cmdFind, new Integer(CMD_FIND));		commands.put(cmdBack, new Integer(CMD_BACK));	}	JimmUI()	{		_this = this;	}	// Returns commands index of command	public static int getCommandIdx(Command command)	{		Object result = commands.get(command);		return (result == null) ? -1 : ((Integer) result).intValue();	}	// Place "object = null;" code here:	private static void clearAll()	{		msgForm = null;		aboutTextList = null;		System.gc();	}	public void commandAction(Command c, Displayable d)	{		Jimm.aaUserActivity();				if (isControlActive(tlStatusMessage))		{			tlStatusMessage = null;			statusMessCI = null;			backToLastScreen();		}				else if (isControlActive(loadErrorTextList))		{			MainMenu.activateMenu();		}				else if (isControlActive(removeContactMessageBox))		{			if (c == cmdOk) menuRemoveContactSelected();			else backToLastScreen();			removeContactMessageBox = null;		}				else if ((renameTextbox != null) && (d == renameTextbox))		{			if (c == cmdOk) menuRenameSelected();			backToLastScreen();			renameTextbox = null;		}				else if (isControlActive(removeMeMessageBox))		{			if (c == cmdOk) menuRemoveMeSelected();			else backToLastScreen();			removeMeMessageBox = null;		}				else if (isControlActive(tlContactMenu))		{			if (c == cmdSelect) contactMenuSelected(tlContactMenu.getCurrTextIndex());			else			{				backToLastScreen();				tlContactMenu = null;				clciContactMenu = null;			}		}				else if ((authTextbox != null) && (d == authTextbox))		{			if (c == cmdSend)			{				SystemNotice notice = null;				boolean authRequested = false;				/* If or if not a reason was entered				 Though this box is used twice (reason for auth request and auth repley)				 we have to distinguish what we wanna do requReason is used for that */				String textBoxText = authTextbox.getString();				String reasonText = (textBoxText == null || textBoxText.length() < 1) ? "" : textBoxText;								switch (authType)				{				case AUTH_TYPE_DENY:					notice = new SystemNotice(							SystemNotice.SYS_NOTICE_AUTHORISE,							authContactItem.getStringValue(ContactItem.CONTACTITEM_UIN),							false, reasonText);					break;				case AUTH_TYPE_REQ_AUTH:					notice = new SystemNotice(							SystemNotice.SYS_NOTICE_REQUAUTH,							authContactItem.getStringValue(ContactItem.CONTACTITEM_UIN),							false, reasonText);					authRequested = true;					break;				}								/* Assemble the sysNotAction and request it */				SysNoticeAction sysNotAct = new SysNoticeAction(notice);				try				{					Icq.requestAction(sysNotAct);					ChatHistory.rebuildMenu(authContactItem);					if (authRequested) 						authContactItem.setBooleanValue(ContactItem.CONTACTITEM_IS_TEMP, false);										authContactItem.setBooleanValue(ContactItem.CONTACTITEM_B_AUTREQUESTS, false);				} 				catch (JimmException e)				{					JimmException.handleException(e);					if (e.isCritical()) return;				}			}			boolean activated = ChatHistory.activateIfExists(authContactItem);			if (!activated) JimmUI.backToLastScreen(); 			authTextbox = null;			authContactItem = null;						return;		}				//#sijapp cond.if target is "MIDP2" | target is "MOTOROLA" | target is "SIEMENS2"#		else if (JimmUI.isControlActive(URLList))		{			if (c == cmdSelect)			{				try				{					Jimm.jimm.platformRequest(URLList.getCurrText(0, false));				} catch (Exception e) {}			}			URLList = null;						backToLastScreen();			return;		}		//#sijapp cond.end#				else if ((messageTextbox != null) && (d == messageTextbox))		{			sendTypeingNotify(false);			if (c == cmdCancel)			{				backToLastScreen();			}			else if (c == cmdSend)			{				switch (textMessCurMode)				{				case EDITOR_MODE_MESSAGE:					String messText = messageTextbox.getString();					if (messText.length() != 0)					{						sendMessage(messText, textMessReceiver);						if (Jimm.getPhoneVendor() == Jimm.PHONE_SONYERICSSON)						{							messageTextbox = null;						}						else						{							messageTextbox.setString(null);						}					}					boolean activated = ChatHistory.activateIfExists(textMessReceiver);					if (!activated) JimmUI.backToLastScreen();					break;				}			}						//#sijapp cond.if modules_SMILES_STD="true" | modules_SMILES_ANI="true" #			else if (c == cmdInsertEmo)			{				Emotions.selectEmotion(messageTextbox);			}			//#sijapp cond.end#						else if (c == cmdInsTemplate)			{				Templates.selectTemplate(messageTextbox);			}						else if (c == cmdClearText)			{				messageTextbox.setString(new String());			}		}				// "About" -> "Back"		else if (JimmUI.isControlActive(aboutTextList))		{			if (c == cmdBack)			{				MainMenu.activateMenu();				aboutTextList = null;			}//#sijapp cond.if target isnot "DEFAULT"#						else if (c == cmdSelect)			{				if (aboutTextList.getCurrTextIndex() == ABOUT_JIMM_WAP)				{					try					{											Jimm.jimm.platformRequest("http://jimm.org/wap/");					}					catch (Exception e) {}				}			}//#sijapp cond.end#				}		// "User info"		else if (JimmUI.isControlActive(infoTextList))		{			// "User info" -> "Cancel, Back"			if ((c == cmdCancel) || (c == cmdBack))			{

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
五月婷婷久久丁香| 久久影院午夜论| 中文字幕制服丝袜一区二区三区| 国产最新精品精品你懂的| 欧美一级高清片在线观看| 六月婷婷色综合| 26uuuu精品一区二区| 国产91精品一区二区| 亚洲免费三区一区二区| 在线视频国产一区| 午夜精品视频一区| 日韩欧美国产1| 成人一级视频在线观看| 亚洲日本成人在线观看| 欧美综合一区二区| 美女视频黄频大全不卡视频在线播放| 日韩视频一区在线观看| 国产精品1024| 一区二区三区小说| 日韩视频在线永久播放| 不卡欧美aaaaa| 日韩主播视频在线| 国产午夜久久久久| 欧美优质美女网站| 国模无码大尺度一区二区三区| 亚洲国产激情av| 欧美日韩亚洲另类| 国产成人在线色| 亚洲一区精品在线| 欧美精品一区二区三区在线播放| 99精品一区二区三区| 七七婷婷婷婷精品国产| 中文字幕制服丝袜一区二区三区| 欧美美女网站色| eeuss影院一区二区三区 | 国产亚洲人成网站| 色屁屁一区二区| 国产一区二区福利| 亚洲一二三四区| 欧美极品少妇xxxxⅹ高跟鞋 | 911国产精品| 懂色中文一区二区在线播放| 亚洲国产欧美另类丝袜| 国产日韩在线不卡| 欧美第一区第二区| 欧洲精品一区二区三区在线观看| 国产精品456露脸| 日韩高清一区二区| 亚洲欧美色一区| 久久久久高清精品| 欧美一区二区三区在线观看视频| 97超碰欧美中文字幕| 国产乱人伦偷精品视频不卡 | 日韩成人免费在线| 亚洲欧美另类久久久精品 | 国产不卡免费视频| 日本不卡一二三| 亚洲韩国精品一区| 亚洲人吸女人奶水| 国产精品欧美极品| 国产喂奶挤奶一区二区三区| 日韩免费福利电影在线观看| 欧美日韩国产小视频| 日本电影亚洲天堂一区| www.日本不卡| 国产a级毛片一区| 国产乱码字幕精品高清av| 蜜桃视频一区二区三区在线观看| 午夜精品成人在线视频| 亚洲一二三四久久| 亚洲国产sm捆绑调教视频| 亚洲乱码日产精品bd| 亚洲欧洲精品一区二区三区不卡| 久久精品一区二区三区不卡牛牛 | 久久99国产精品成人| 日韩国产欧美三级| 美洲天堂一区二卡三卡四卡视频| 男男gaygay亚洲| 久久精品免费观看| 蜜臀久久99精品久久久画质超高清| 三级欧美韩日大片在线看| 奇米一区二区三区| 韩国三级中文字幕hd久久精品| 久久国产精品72免费观看| 免费成人在线视频观看| 精品一区二区三区在线播放视频 | 洋洋成人永久网站入口| 亚洲综合色成人| 亚洲成人精品影院| 日韩精彩视频在线观看| 毛片基地黄久久久久久天堂| 久久99精品国产麻豆婷婷| 国产一区二区三区精品欧美日韩一区二区三区| 看片的网站亚洲| 国产激情一区二区三区四区| 成+人+亚洲+综合天堂| 91美女视频网站| 欧美亚洲国产bt| 欧美一区二区在线免费播放| 日韩欧美国产午夜精品| 国产欧美日产一区| 亚洲黄色免费电影| 蜜桃视频在线一区| 国产ts人妖一区二区| 91在线观看视频| 欧美日本不卡视频| 久久久久国产精品麻豆ai换脸 | 在线视频国内自拍亚洲视频| 在线播放91灌醉迷j高跟美女| 欧美大尺度电影在线| 国产精品视频九色porn| 亚洲影院久久精品| 久久99精品久久久久久国产越南 | 韩国v欧美v亚洲v日本v| www.在线欧美| 欧美理论片在线| 国产亚洲1区2区3区| 亚洲成人一区二区在线观看| 韩国精品免费视频| 在线免费亚洲电影| 久久亚洲精精品中文字幕早川悠里| 中文字幕亚洲不卡| 麻豆精品一二三| 99久久精品费精品国产一区二区| 日韩一区二区影院| 综合av第一页| 狠狠色丁香九九婷婷综合五月| 99久久国产综合精品色伊| 这里是久久伊人| 亚洲精品久久久蜜桃| 国产一区二区三区在线看麻豆 | 欧美日韩成人在线一区| 国产午夜亚洲精品午夜鲁丝片| 亚洲成人免费在线| 91香蕉视频在线| 久久久www成人免费毛片麻豆| 亚洲午夜激情网页| 成人动漫av在线| 日韩欧美你懂的| 亚洲国产欧美一区二区三区丁香婷| 高清shemale亚洲人妖| 欧美一级生活片| 伊人色综合久久天天| 丰满少妇在线播放bd日韩电影| 日韩午夜在线影院| 亚洲aaa精品| 在线视频中文字幕一区二区| 国产精品免费免费| 国产一区二区三区四区在线观看| 欧美精品色一区二区三区| 亚洲男人的天堂一区二区| 国产成人午夜视频| 26uuu精品一区二区三区四区在线| 日韩成人一区二区| 欧美天堂一区二区三区| 亚洲欧美日韩久久| 9人人澡人人爽人人精品| 久久久不卡网国产精品二区| 国产一区91精品张津瑜| 精品久久免费看| 麻豆91在线播放免费| 91.麻豆视频| 日韩黄色免费网站| 538在线一区二区精品国产| 亚洲一区成人在线| 精品视频1区2区3区| 亚洲成人福利片| 欧美精品99久久久**| 亚洲超碰97人人做人人爱| 欧美日韩在线播放三区| 五月天欧美精品| 91精品免费在线| 老司机午夜精品99久久| 欧美岛国在线观看| 国产美女在线精品| 中文子幕无线码一区tr| 97精品久久久久中文字幕| 亚洲色图欧美偷拍| 91精品1区2区| 五月综合激情网| 欧美一区二区私人影院日本| 麻豆国产精品一区二区三区| 久久婷婷综合激情| 成人av网站在线观看免费| 亚洲女人小视频在线观看| 欧洲一区二区三区在线| 天天色天天爱天天射综合| 91精品国产入口| 国产伦理精品不卡| 亚洲人妖av一区二区| 欧美三级电影网站| 乱一区二区av| 亚洲欧美一区二区视频| 欧美午夜电影在线播放| 秋霞午夜鲁丝一区二区老狼| 国产日产精品1区| 色婷婷狠狠综合| 美女脱光内衣内裤视频久久网站| 国产欧美日韩卡一| 色婷婷av一区二区三区软件 |