?? jsr184coordinates.java
字號:
/***************************************************************************** Description: The MIDlet class Created By: Oscar Vivall 2006-06-12 @file JSR184Coordinates.java COPYRIGHT All rights reserved Sony Ericsson Mobile Communications AB 2004. The software is the copyrighted work of Sony Ericsson Mobile Communications AB. The use of the software is subject to the terms of the end-user license agreement which accompanies or is included with the software. The software is provided "as is" and Sony Ericsson specifically disclaim any warranty or condition whatsoever regarding merchantability or fitness for a specific purpose, title or non-infringement. No warranty of any kind is made in relation to the condition, suitability, availability, accuracy, reliability, merchantability and/or non-infringement of the software provided herein. *****************************************************************************/import javax.microedition.midlet.*;import javax.microedition.lcdui.*;public class JSR184Coordinates extends javax.microedition.midlet.MIDlet { public void startApp() { Display.getDisplay(this).setCurrent(new CoordinatesCanvas(this)); } public void pauseApp() { } public void destroyApp(boolean unconditional) { } /* * Method to display a help screen. */ public void showHelp(Displayable d){ String sHelp = "Use Joy pad to rotate the mesh.\n" + "(4,6) to rotate the mesh using a Transform\n" + "(7,*) Move the mesh in the world on the Z-axis\n" + "(9,#) Move the mesh in the local coordinate system on the Z-axis."; Alert a = new Alert("Help", sHelp, null, AlertType.INFO); Display.getDisplay(this).setCurrent(a, d); }}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -