⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gameinterface.java

📁 j2me简单实例,j2me教程加源码,希望大家喜欢
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
//#
//#elif SE_K500
//#         /** Mobile Screen Width(手机屏幕的宽度)  */
//#         public static final int SCREEN_WIDTH=128;
//#
//#         /** Mobile Screen Height(手机屏幕的高度)*/
//#         public static final int SCREEN_HEIGHT=160;
//#
//#         /** Mobile softkey left (手机左软键键值)*/
//#         public static final byte SOFT_KEY_LEFT = -6;
//#
//#         /** Mobile softkey right (手机右软键键值)*/
//#         public static final byte SOFT_KEY_RIGHT = -7;
//#
//#     /** Mobile Key Up (手机方向键上)*/
//#     public static final byte KEY_UP = -1;
//#
//#     /** Mobile Key Down (手机方向键下)*/
//#     public static final byte KEY_DOWN = -2;
//#
//#     /** Mobile Key LEFT (手机方向键左)*/
//#     public static final byte KEY_LEFT = -3;
//#
//#     /** Mobile Key RIGHT (手机方向键右)*/
//#     public static final byte KEY_RIGHT = -4;
//#
//#     /** Mobile Key FIRE (手机选择键)*/
//#     public static final byte KEY_FIRE = -5;
//#
//#         /** Resource Path (资源路径  位于src/RES_PATH )    */
//#         public static final String RES_PATH="/res/SE_K500/";
//#
//#        /** Font Height (字体高度)            */
//#         public static final int FONT_HEIGHT=20;
//#         /** Font Height (字体宽度)            */
//#         public static final int FONT_WIDTH = 16;
//#         /**FONT_SYSTEM  系统默认字体       */
//#         public static final Font FONT_SYSTEM=Font.getFont(Font.STYLE_PLAIN,   Font.FACE_SYSTEM, Font.SIZE_SMALL);
//#elif SE_K300
//#         /** Mobile Screen Width(手机屏幕的宽度)  */
//#         public static final int SCREEN_WIDTH=128;
//#
//#         /** Mobile Screen Height(手机屏幕的高度)*/
//#         public static final int SCREEN_HEIGHT=128;
//#
//#         /** Mobile softkey left (手机左软键键值)*/
//#         public static final byte SOFT_KEY_LEFT = -6;
//#
//#         /** Mobile softkey right (手机右软键键值)*/
//#         public static final byte SOFT_KEY_RIGHT = -7;
//#
//#     /** Mobile Key Up (手机方向键上)*/
//#     public static final byte KEY_UP = -1;
//#
//#     /** Mobile Key Down (手机方向键下)*/
//#     public static final byte KEY_DOWN = -2;
//#
//#     /** Mobile Key LEFT (手机方向键左)*/
//#     public static final byte KEY_LEFT = -3;
//#
//#     /** Mobile Key RIGHT (手机方向键右)*/
//#     public static final byte KEY_RIGHT = -4;
//#
//#     /** Mobile Key FIRE (手机选择键)*/
//#     public static final byte KEY_FIRE = -5;
//#
//#         /** Resource Path (资源路径  位于src/RES_PATH )    */
//#         public static final String RES_PATH="/res/SE_K300/";
//#
//#        /** Font Height (字体高度)            */
//#         public static final int FONT_HEIGHT=16;
//#         /** Font Height (字体宽度)            */
//#         public static final int FONT_WIDTH = 16;
//#         /**FONT_SYSTEM  系统默认字体       */
//#         public static final Font FONT_SYSTEM=Font.getFont(Font.STYLE_PLAIN,   Font.FACE_SYSTEM, Font.SIZE_SMALL);
//#elif SAMSUNG_D508
//#     /** Mobile Screen Width(手机屏幕的宽度)  */
//#     public static final int SCREEN_WIDTH=176;
//#     
//#     /** Mobile Screen Height(手机屏幕的高度)*/
//#     public static final int SCREEN_HEIGHT=220;
//#     
//#     /** Mobile softkey left (手机左软键键值)*/
//#     public static final byte SOFT_KEY_LEFT = -6;
//#     
//#     /** Mobile softkey right (手机右软键键值)*/
//#     public static final byte SOFT_KEY_RIGHT = -7;
//#     
//#     /** Mobile Key Up (手机方向键上)*/
//#     public static final byte KEY_UP = -1;
//#     
//#     /** Mobile Key Down (手机方向键下)*/
//#     public static final byte KEY_DOWN = -2;
//#     
//#     /** Mobile Key LEFT (手机方向键左)*/
//#     public static final byte KEY_LEFT = -3;
//#     
//#     /** Mobile Key RIGHT (手机方向键右)*/
//#     public static final byte KEY_RIGHT = -4;
//#     
//#     /** Mobile Key FIRE (手机选择键)*/
//#     public static final byte KEY_FIRE = -5;
//#     
//#     /** Resource Path (资源路径  位于src/RES_PATH )    */
//#     public static final String RES_PATH="/res/SAMSUNG_D508/";
//#     
//#     /** Font Height (字体高度)            */
//#     public static final int FONT_HEIGHT=20;
//#     /** Font Height (字体宽度)            */
//#     public static final int FONT_WIDTH = 16;
//#     /**FONT_SYSTEM  系统默认字体       */
//#     public static final Font FONT_SYSTEM=Font.getFont(Font.STYLE_PLAIN, Font.FACE_SYSTEM, Font.SIZE_SMALL);
//#     
//#elif SAMSUNG_E108
//#         /** Mobile Screen Width(手机屏幕的宽度)  */
//#         public static final int SCREEN_WIDTH=128;
//#
//#         /** Mobile Screen Height(手机屏幕的高度)*/
//#         public static final int SCREEN_HEIGHT=140;
//#
//#         /** Mobile softkey left (手机左软键键值)*/
//#         public static final byte SOFT_KEY_LEFT = -6;
//#
//#         /** Mobile softkey right (手机右软键键值)*/
//#         public static final byte SOFT_KEY_RIGHT = -7;
//#
//#     /** Mobile Key Up (手机方向键上)*/
//#     public static final byte KEY_UP = -1;
//#
//#     /** Mobile Key Down (手机方向键下)*/
//#     public static final byte KEY_DOWN = -2;
//#
//#     /** Mobile Key LEFT (手机方向键左)*/
//#     public static final byte KEY_LEFT = -3;
//#
//#     /** Mobile Key RIGHT (手机方向键右)*/
//#     public static final byte KEY_RIGHT = -4;
//#
//#     /** Mobile Key FIRE (手机选择键)*/
//#     public static final byte KEY_FIRE = -5;
//#
//#         /** Resource Path (资源路径  位于src/RES_PATH )    */
//#         public static final String RES_PATH="/res/SAMSUNG_E108/";
//#
//#        /** Font Height (字体高度)            */
//#         public static final int FONT_HEIGHT=16;
//#         /** Font Height (字体宽度)            */
//#         public static final int FONT_WIDTH = 16;
//#         /**FONT_SYSTEM  系统默认字体       */
//#         public static final Font FONT_SYSTEM=Font.getDefaultFont();
//#elif MOTO_C650
//#         /** Mobile Screen Width(手机屏幕的宽度)  */
//#         public static final int SCREEN_WIDTH=128;
//#
//#         /** Mobile Screen Height(手机屏幕的高度)*/
//#         public static final int SCREEN_HEIGHT=116;
//#
//#         /** Mobile softkey left (手机左软键键值)*/
//#         public static final byte SOFT_KEY_LEFT = -22;
//#
//#         /** Mobile softkey right (手机右软键键值)*/
//#         public static final byte SOFT_KEY_RIGHT = -21;
//#
//#         /** Mobile Key Up (手机方向键上)*/
//#     public static final byte KEY_UP = -1;
//#
//#     /** Mobile Key Down (手机方向键下)*/
//#     public static final byte KEY_DOWN = -6;
//#
//#     /** Mobile Key LEFT (手机方向键左)*/
//#     public static final byte KEY_LEFT = -2;
//#
//#     /** Mobile Key RIGHT (手机方向键右)*/
//#     public static final byte KEY_RIGHT = -5;
//#
//#     /** Mobile Key FIRE (手机选择键)*/
//#     public static final byte KEY_FIRE = -20;
//#         /** Resource Path (资源路径  位于src/RES_PATH )    */
//#         public static final String RES_PATH="/res/MOTO_C650/";
//#
//#        /** Font Height (字体高度)            */
//#         public static final int FONT_HEIGHT=20;
//#         /** Font Height (字体宽度)            */
//#         public static final int FONT_WIDTH = 15;
//#         /**FONT_SYSTEM  系统默认字体       */
//#         public static final Font FONT_SYSTEM=Font.getDefaultFont();
//#elif MOTO_V878
//#         /** Mobile Screen Width(手机屏幕的宽度)  */
//#         public static final int SCREEN_WIDTH=128;
//#
//#         /** Mobile Screen Height(手机屏幕的高度)*/
//#         public static final int SCREEN_HEIGHT=142;
//#
//#         /** Mobile softkey left (手机左软键键值)*/
//#         public static final byte SOFT_KEY_LEFT = -16;
//#
//#         /** Mobile softkey right (手机右软键键值)*/
//#         public static final byte SOFT_KEY_RIGHT = -18;
//#
//#         /** Mobile Key Up (手机方向键上)*/
//#     public static final byte KEY_UP = -11;
//#
//#     /** Mobile Key Down (手机方向键下)*/
//#     public static final byte KEY_DOWN = -12;
//#
//#     /** Mobile Key LEFT (手机方向键左)*/
//#     public static final byte KEY_LEFT = -14;
//#
//#     /** Mobile Key RIGHT (手机方向键右)*/
//#     public static final byte KEY_RIGHT = -13;
//#
//#     /** Mobile Key FIRE (手机选择键)*/
//#     public static final byte KEY_FIRE = -20;
//#
//#         /** Resource Path (资源路径  位于src/RES_PATH )    */
//#         public static final String RES_PATH="/res/MOTO_V878/";
//#
//#        /** Font Height (字体高度)            */
//#         public static final int FONT_HEIGHT=16;
//#         /** Font Height (字体宽度)            */
//#         public static final int FONT_WIDTH = 15;
//#         /**FONT_SYSTEM  系统默认字体       */
//#         public static final Font FONT_SYSTEM=Font.getDefaultFont();
//#elif MOTO_E680
//#         /** Mobile Screen Width(手机屏幕的宽度)  */
//#         public static final int SCREEN_WIDTH=320;
//#
//#         /** Mobile Screen Height(手机屏幕的高度)*/
//#         public static final int SCREEN_HEIGHT=240;
//#
//#         /** Mobile softkey left (手机左软键键值)*/
//#         public static final byte SOFT_KEY_LEFT = -6;
//#
//#         /** Mobile softkey right (手机右软键键值)*/
//#         public static final byte SOFT_KEY_RIGHT = -7;
//#
//#         /** Mobile Key Up (手机方向键上)*/
//#         public static final byte KEY_UP = -1;
//#
//#         /** Mobile Key Down (手机方向键下)*/
//#         public static final byte KEY_DOWN = -2;
//#
//#         /** Mobile Key LEFT (手机方向键左)*/
//#         public static final byte KEY_LEFT = -3;
//#
//#         /** Mobile Key RIGHT (手机方向键右)*/
//#         public static final byte KEY_RIGHT = -4;
//#
//#         /** Mobile Key FIRE (手机选择键)*/
//#         public static final byte KEY_FIRE = -5;
//#
//#         /** Resource Path (资源路径   位于src/RES_PATH )    */
//#         public static final String RES_PATH="/res/MOTO_E680/";
//#
//#        /** Font Height (字体高度)            */
//#         public static final int FONT_HEIGHT=20;
//#         /** Font Height (字体宽度)            */
//#         public static final int FONT_WIDTH = 16;
//#         /**FONT_SYSTEM  系统默认字体       */
//#         public static final Font FONT_SYSTEM=Font.getFont(Font.STYLE_PLAIN,   Font.FACE_SYSTEM, Font.SIZE_SMALL);
//#
//#else //for other mobile (其它机型或测试时用)
//#         /** Mobile Screen Width(手机屏幕的宽度)  */
//#         public static final int SCREEN_WIDTH=176;
//# 
//#         /** Mobile Screen Height(手机屏幕的高度)*/
//#         public static final int SCREEN_HEIGHT=220;
//# 
//#         /** Mobile softkey left (手机左软键键值)*/
//#         public static final byte SOFT_KEY_LEFT = -6;
//# 
//#         /** Mobile softkey right (手机右软键键值)*/
//#         public static final byte SOFT_KEY_RIGHT = -7;
//# 
//#     /** Mobile Key Up (手机方向键上)*/
//#     public static final byte KEY_UP = -1;
//# 
//#     /** Mobile Key Down (手机方向键下)*/
//#     public static final byte KEY_DOWN = -2;
//# 
//#     /** Mobile Key LEFT (手机方向键左)*/
//#     public static final byte KEY_LEFT = -3;
//# 
//#     /** Mobile Key RIGHT (手机方向键右)*/
//#     public static final byte KEY_RIGHT = -4;
//# 
//#     /** Mobile Key FIRE (手机选择键)*/
//#     public static final byte KEY_FIRE = -5;
//# 
//#         /** Resource Path (资源路径   位于src/RES_PATH )    */
//#         public static final String RES_PATH="/res/SE_K700/";
//# 
//#        /** Font Height (字体高度)            */
//#         public static final int FONT_HEIGHT=20;
//#         /** Font Height (字体宽度)            */
//#         public static final int FONT_WIDTH = 16;
//#         /**FONT_SYSTEM  系统默认字体       */
//#         public static final Font FONT_SYSTEM=Font.getFont(Font.STYLE_PLAIN,   Font.FACE_SYSTEM, Font.SIZE_SMALL);
//# 
//#endif
    
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -