dialog7.java

来自「俄罗斯方块游戏,大学时写的,支持单机及点对点网络对战!同时我还在里面加入了使用技」· Java 代码 · 共 43 行

JAVA
43
字号
package ct;import java.awt.*;import javax.swing.*;import com.borland.jbcl.layout.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Dialog7 extends JDialog {  JPanel panel1 = new JPanel();  XYLayout xYLayout1 = new XYLayout();  JScrollPane jScrollPane1 = new JScrollPane();  JTextArea jTextArea1 = new JTextArea();  public Dialog7(Frame frame, String title, boolean modal) {    super(frame, title, modal);    try {      jbInit();      pack();    }    catch(Exception ex) {      ex.printStackTrace();    }  }  public Dialog7() {    this(null, "", false);  }  private void jbInit() throws Exception {    panel1.setLayout(xYLayout1);    jTextArea1.setEditable(false);    getContentPane().add(panel1);    panel1.add(jScrollPane1,    new XYConstraints(1, 2, 419, 300));    jScrollPane1.getViewport().add(jTextArea1, null);  }}

⌨️ 快捷键说明

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