📄 xuigaikaochang.java~2~
字号:
package untitled2;import javax.swing.*;import java.awt.*;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 xuiGaiKaoChang extends JFrame { XYLayout xYLayout1 = new XYLayout(); JTextField jTextField1 = new JTextField(); JTextField jTextField2 = new JTextField(); JList jList1 = new JList(); JLabel jLabel1 = new JLabel(); JLabel jLabel2 = new JLabel(); JButton jButton1 = new JButton(); JButton jButton2 = new JButton(); JTextField jTextField3 = new JTextField(); JTextField jTextField4 = new JTextField(); JLabel jLabel3 = new JLabel(); JLabel jLabel4 = new JLabel(); JButton jButton3 = new JButton(); JButton jButton4 = new JButton(); public xuiGaiKaoChang() { try { jbInit(); } catch(Exception ex) { ex.printStackTrace(); } } void jbInit() throws Exception { jTextField1.setText("jTextField1"); this.getContentPane().setLayout(xYLayout1); jTextField2.setText("jTextField2"); jLabel1.setText("jLabel1"); jLabel2.setText("jLabel2"); jButton1.setText("jButton1"); jButton2.setText("jButton2"); jTextField3.setText("jTextField3"); jTextField4.setText("jTextField4"); jLabel3.setText("jLabel3"); jLabel4.setText("jLabel4"); jButton3.setText("jButton3"); jButton4.setText("jButton4"); this.setSize(new Dimension(400, 300)); this.getContentPane().add(jList1, new XYConstraints(0, 100, 401, 109)); this.getContentPane().add(jTextField1, new XYConstraints(137, 22, 99, -1)); this.getContentPane().add(jTextField2, new XYConstraints(139, 58, 96, 27)); this.getContentPane().add(jButton1, new XYConstraints(287, 22, -1, -1)); this.getContentPane().add(jLabel1, new XYConstraints(51, 26, -1, -1)); this.getContentPane().add(jLabel2, new XYConstraints(58, 63, -1, -1)); this.getContentPane().add(jButton4, new XYConstraints(306, 264, -1, -1)); this.getContentPane().add(jButton3, new XYConstraints(304, 223, -1, -1)); this.getContentPane().add(jButton2, new XYConstraints(296, 58, -1, -1)); this.getContentPane().add(jTextField3, new XYConstraints(145, 225, 102, -1)); this.getContentPane().add(jTextField4, new XYConstraints(139, 265, 100, -1)); this.getContentPane().add(jLabel3, new XYConstraints(70, 228, -1, -1)); this.getContentPane().add(jLabel4, new XYConstraints(68, 267, -1, -1)); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -