chesspanel.java~1~

来自「是JB的2D网络游戏」· JAVA~1~ 代码 · 共 24 行

JAVA~1~
24
字号
package wuziqiclient;import java.awt.*;import com.borland.jbcl.layout.*;import javax.swing.*;public class chessPanel extends JPanel {  XYLayout xYLayout1 = new XYLayout();  JTextField jTextField1 = new JTextField();  public chessPanel(){    try {      jbInit();    }    catch(Exception ex) {      ex.printStackTrace();    }  }  void jbInit() throws Exception {    this.setLayout(xYLayout1);    this.setBackground(SystemColor.inactiveCaptionText);    this.add(jTextField1, new XYConstraints(0, 3, 434, 24));  }}

⌨️ 快捷键说明

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