📄 activationf.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: ActivationF.java
import java.util.Hashtable;
import javax.microedition.lcdui.*;
public class ActivationF extends Form
implements CommandListener
{
public ActivationF(Main main1)
{
super("Activation");
main = main1;
setCommandListener(this);
keyField = new TextField("cl\351 d'activation", "", 10, 0);
append(keyField);
Command command = new Command("Activer", 4, 1);
Command command1 = new Command("Retour", 2, 1);
addCommand(command);
addCommand(command1);
}
public void commandAction(Command command, Displayable displayable)
{
String s = command.getLabel();
if(s.equals("Activer"))
{
main.cache.put("key", keyField.getString());
HttpLogic httplogic = new HttpLogic(main);
httplogic.call("activate");
}
if(s.equals("Retour"))
{
MainMenuL mainmenul = new MainMenuL(main);
main.setCurrentDA(mainmenul);
}
}
private Main main;
private TextField keyField;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -