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

📄 menulist.java

📁 手机拼图游戏:J2ME游戏
💻 JAVA
字号:
/*
 * Author:wangfeng
 * Version:1.0
 * CreateDate:2007-02-23
 * Description:the class is the main class for Spell picture
 */
 
import javax.microedition.midlet.MIDlet;
import javax.microedition.lcdui.*;
import java.io.*;

public class MenuList extends List 
{
	public static Command comdConfirm = new Command("确定",Command.SCREEN,2);
	public static Command comdBack = new Command("返回",Command.BACK,1);
	public static int SELECT_NEWGAME = 0;
    public static int SELECT_PACEIN =1;
    public static int SELECT_DESC = 2;

    private static String title = "FW拼图游戏";

	public MenuList()
	{
		super(MenuList.title,Choice.IMPLICIT);

        this.addCommand(comdConfirm);
        this.addCommand(comdBack);
		try
		{
			this.append("新游戏",Image.createImage("/img/Icon.jpg"));
			this.append("游戏排行",Image.createImage("/img/Icon.jpg"));
			this.append("游戏说明",Image.createImage("/img/Icon.jpg"));
		}catch(IllegalArgumentException e)
		{
		  System.out.println(e);
		}
		catch(IOException e)
		{
		  System.out.println(e);
		}

	}
	
}

⌨️ 快捷键说明

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