📄 help.java
字号:
package rebot;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.Border;
import rebot.language;
public class help extends JDialog {
JPanel panel1 = new JPanel();
JScrollPane jScrollPane1 = new JScrollPane();
JTextArea jTextArea1 = new JTextArea();
Border border1 = BorderFactory.createMatteBorder(6, 6, 6, 6,
new Color(255, 255, 95));
public help(Frame frame, String string, boolean _boolean) {
super(frame, string, _boolean);
try {
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
jbInit();
pack();
} catch (Exception exception) {
exception.printStackTrace();
}
}
public help() {
this(new Frame(), "help", false);
}
private void jbInit() throws Exception {
panel1.setLayout(null);
jScrollPane1.setBounds(new Rectangle(33, 27, 333, 241));
jTextArea1.setBorder(border1);
jTextArea1.setEditable(false);
jTextArea1.setLineWrap(true);
panel1.setBackground(new Color(88, 183, 216));
if(language.lang){
this.setTitle("使用帮助");
jTextArea1.setText("软件帮助\n版本名称:小叮当圣诞beta1.0\n功能介绍:\n1.学习功能\n 输入'问:你添加的问题'单击发送\n 输入'答:你添加的答案'单击发送\n2.手机查询\n 直接输入手机号码\n (暂时不支持15开头手机号码)\n3.IP查询\n 直接输入IP\n (本功能暂时有缺陷,可能不准确,仅供参考)\n IP数据库更新日期12月25日\n实时帮助请直接输入帮助或help");
}else{
this.setTitle("Help");
jTextArea1.setText("Help \nVersion Name: Xdd Christmas beta1.0\nIntrduce:\n1.Teching\n Input'Q:Your Quesstion'Click OK\n Input 'A:Your Answer'Click OK\n2.Mobile Number Searching\n Input Mobile Number\n (Not Supposed the number begin with '15')\n3.IP Address Searching \n Input IP address\n (The Ip searching has something wrong, I'll to build it to success as soon as possible)\n IP Data Update time:12.25.\nInput 'Help' in the chat if you need help");
}
getContentPane().add(panel1);
panel1.add(jScrollPane1, null);
jScrollPane1.getViewport().add(jTextArea1);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -