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

📄 about.java~8~

📁 JBuilder实现的具有单机
💻 JAVA~8~
字号:
package dialog;import java.awt.*;import javax.swing.*;import java.awt.event.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class About extends JDialog {  JLabel jLabel1 = new JLabel();  JLabel jLabel2 = new JLabel();  JButton jButton1 = new JButton();  JLabel jLabel3 = new JLabel();  JLabel jLabel4 = new JLabel();  JScrollPane jScrollPane1 = new JScrollPane();  JTextArea jTextArea1 = new JTextArea();  public About(Frame frame, String title, boolean modal) {    super(frame, title, modal);    try {      jbInit();      pack();    }    catch(Exception ex) {      ex.printStackTrace();    }  }  public About() {    this(null, "", false);  }  private void jbInit() throws Exception {    jLabel1.setFont(new java.awt.Font("宋体", 0, 13));    jLabel1.setText("超快俄罗斯V 1.0");    jLabel1.setBounds(new Rectangle(16, 2, 115, 23));    this.getContentPane().setLayout(null);    jLabel2.setFont(new java.awt.Font("宋体", 0, 13));    jLabel2.setPreferredSize(new Dimension(152, 16));    jLabel2.setText("作者:huang   2005.5");    jLabel2.setBounds(new Rectangle(16, 19, 166, 27));    jButton1.setBounds(new Rectangle(191, 17, 86, 28));    jButton1.setFont(new java.awt.Font("Dialog", 0, 13));    jButton1.setBorder(BorderFactory.createRaisedBevelBorder());    jButton1.setText("确定");    jButton1.addActionListener(new About_jButton1_actionAdapter(this));    jLabel3.setText("Email: hjj-8759@163.com");    jLabel3.setBounds(new Rectangle(16, 44, 159, 28));    jLabel4.setText("QQ: 165568328");    jLabel4.setBounds(new Rectangle(177, 53, 93, 20));    jScrollPane1.setBorder(null);    jScrollPane1.setBounds(new Rectangle(14, 80, 285, 153));    jTextArea1.setBackground(Color.lightGray);    jTextArea1.setBorder(BorderFactory.createLoweredBevelBorder());    jTextArea1.setSelectedTextColor(Color.black);    jTextArea1.setText("");    jTextArea1.setRows(10);    jTextArea1.setTabSize(8);    jTextArea1.setAutoscrolls(true);    jTextArea1.setText("超快俄罗斯V1.0是由传统的经典俄罗斯方块游戏发\n展出来的一种方块网络(或单机)对战型游戏。你只\n需要一次性消两行或以上,就可以加行给对方。内\n含人工智能,支持方块编辑、背景音乐等。当把服\n务器一方的所有参数调整到最快后,你就会深刻体\n会到超快俄罗斯的含义。");    this.getContentPane().add(jScrollPane1, null);    this.getContentPane().add(jLabel1, null);    this.getContentPane().add(jLabel2, null);    this.getContentPane().add(jLabel3, null);    this.getContentPane().add(jLabel4, null);    this.getContentPane().add(jButton1, null);    jScrollPane1.getViewport().add(jTextArea1, null);  }  void jButton1_actionPerformed(ActionEvent e) {    this.dispose();  }}class About_jButton1_actionAdapter implements java.awt.event.ActionListener {  About adaptee;  About_jButton1_actionAdapter(About adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.jButton1_actionPerformed(e);  }}

⌨️ 快捷键说明

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