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

📄 stfm.java

📁 j2me 手机拼图源码
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package yuan;//import javax.microedition.midlet.*;import javax.microedition.lcdui.*;import java.io.*;/** * * @author YUANYUEXIANG */public class stfm extends Form implements CommandListener{    Command c1=new Command("游戏",Command.OK,1);    Command c2=new Command("退出",Command.EXIT,2);    static StringItem tf;    Image im =null;      stfm()   {       super("叶飘零设计");            try{        im=Image.createImage("/yuan/Ja.png");    }    catch(IOException e)    {}    ImageItem ii=new ImageItem("",im,Item.LAYOUT_CENTER,"图片",Item.BUTTON);    this.append(ii);    addCommand(c1);    addCommand(c2);      this.setCommandListener(this);   }        public void commandAction(Command c,Displayable dis)    {if(dis==this)     {    if(c==c1)    {    yue.game();    }    if(c==c2)    {    yue.quitApp();    }        }    }}

⌨️ 快捷键说明

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