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

📄 frame1_help.java~2~

📁 简单java实现的FTP客户端
💻 JAVA~2~
字号:
package emptyframe;import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.border.*;import com.borland.jbcl.layout.*;abstract class Frame1_Help extends JDialog implements ActionListener {  JScrollPane jScrollPane1 = new JScrollPane();  JButton jButton1 = new JButton();  JTextArea jTextArea1 = new JTextArea();  public Frame1_Help(Frame parent) {    super(parent);    enableEvents(AWTEvent.WINDOW_EVENT_MASK);    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  //Component initialization  private void jbInit() throws Exception  {    this.setTitle("帮助文档");    this.getContentPane().setLayout(null);    setResizable(true);    jScrollPane1.setBounds(new Rectangle(1, 0, 397, 325));    jButton1.setBounds(new Rectangle(312, 335, 82, 25));    jButton1.setText("确定");    this.getContentPane().add(jScrollPane1, null);    jScrollPane1.getViewport().add(jTextArea1, null);    this.getContentPane().add(jButton1, null);  }  //Overridden so we can exit when window is closed  protected void processWindowEvent(WindowEvent e) {    if (e.getID() == WindowEvent.WINDOW_CLOSING) {      cancel();    }    super.processWindowEvent(e);  }  //Close the dialog  void cancel() {    dispose();  }  //Close the dialog on a button event}

⌨️ 快捷键说明

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