📄 inputdialog.java
字号:
package com.cownew.phoneshow.framework.ctrl;
import nextapp.echo2.app.Component;
import nextapp.echo2.app.Extent;
import nextapp.echo2.app.TextField;
public class InputDialog extends OKCancelPane
{
public InputDialog(String title)
{
super(title, new Extent(320), new Extent(100));
}
private TextField textField;
public Component createDialogContent()
{
textField = new TextField();
return textField;
}
/**
* 得到输入的值
* @return
*/
public String getInputValue()
{
return textField.getText();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -