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

📄 messagebox.java

📁 Mofire的JAR压缩包
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   MessageBox.java

package com.modofo.mofire;

import javax.microedition.lcdui.*;

// Referenced classes of package com.modofo.mofire:
//			MoFire

public class MessageBox extends Form
	implements CommandListener
{

	private Command okCmd;
	private StringItem info;

	public MessageBox(String title)
	{
		super(title);
		info = new StringItem("", "");
		setCommandListener(this);
		append(info);
	}

	public void setInfo(String info)
	{
		this.info.setText(info);
	}

	public void commandAction(Command arg0, Displayable arg1)
	{
		if (arg0 == okCmd)
			doOkCmd();
	}

	void doOkCmd()
	{
		MoFire.getInstance().setCurrent("editForm");
	}
}

⌨️ 快捷键说明

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