📄 xiangzhenframe.java
字号:
package net.aetherial.gis.surface.design.jiaotongbu;
import java.awt.*;
import javax.swing.*;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2004</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class XiangzhenFrame
extends JFrame {
JLabel jLabel1 = new JLabel();
XYLayout xYLayout1 = new XYLayout();
JLabel jLabel2 = new JLabel();
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
JLabel jLabel5 = new JLabel();
JLabel jLabel6 = new JLabel();
JLabel jLabel7 = new JLabel();
JLabel jLabel8 = new JLabel();
JLabel jLabel9 = new JLabel();
JLabel jLabel10 = new JLabel();
JLabel jLabel11 = new JLabel();
JTextField jTextField1 = new JTextField();
JTextField jTextField2 = new JTextField();
JTextField jTextField3 = new JTextField();
JTextField jTextField4 = new JTextField();
JComboBox jComboBox1 = new JComboBox();
JComboBox jComboBox2 = new JComboBox();
JTextField jTextField5 = new JTextField();
JComboBox jComboBox3 = new JComboBox();
JComboBox jComboBox4 = new JComboBox();
JComboBox jComboBox5 = new JComboBox();
JTextArea jTextArea1 = new JTextArea();
public XiangzhenFrame() {
try {
jbInit();
}
catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
getContentPane().setLayout(xYLayout1);
jLabel1.setText("乡镇名称:");
xYLayout1.setWidth(446);
xYLayout1.setHeight(372);
this.getContentPane().add(jLabel1, new XYConstraints(16, 17, 75, -1));
jTextArea1.setText("jTextArea1");
jTextField5.setText("jTextField5");
jTextField4.setText("jTextField4");
jTextField3.setText("jTextField3");
jTextField2.setText("jTextField2");
jTextField1.setText("jTextField1");
jLabel11.setText("备注:");
jLabel10.setText("不适宜原因:");
jLabel9.setText("是否适宜通公路:");
jLabel8.setText("岛内是否建有公路:");
jLabel7.setText("码头与陆地距离:");
jLabel6.setText("岛屿是否建有陆岛交通码头:");
jLabel5.setText("所属地形:");
jLabel4.setText("行政村数量:");
jLabel3.setText("人口:");
jLabel2.setText("编码:");
this.getContentPane().add(jLabel2, new XYConstraints(16, 42, -1, 16));
this.getContentPane().add(jLabel3, new XYConstraints(16, 69, -1, 16));
this.getContentPane().add(jLabel4, new XYConstraints(16, 97, -1, 16));
this.getContentPane().add(jLabel5, new XYConstraints(16, 127, -1, 16));
this.getContentPane().add(jTextField1, new XYConstraints(91, 14, -1, -1));
this.getContentPane().add(jTextField2, new XYConstraints(90, 38, -1, -1));
this.getContentPane().add(jTextField3, new XYConstraints(89, 65, -1, -1));
this.getContentPane().add(jTextField4, new XYConstraints(88, 91, -1, -1));
this.getContentPane().add(jComboBox1, new XYConstraints(87, 124, -1, -1));
this.getContentPane().add(jLabel9, new XYConstraints(190, 15, -1, -1));
this.getContentPane().add(jLabel10, new XYConstraints(190, 39, -1, -1));
this.getContentPane().add(jComboBox4, new XYConstraints(289, 12, -1, -1));
this.getContentPane().add(jComboBox5, new XYConstraints(287, 37, -1, -1));
this.getContentPane().add(jLabel6, new XYConstraints(196, 157, -1, -1));
this.getContentPane().add(jLabel7, new XYConstraints(196, 182, -1, -1));
this.getContentPane().add(jLabel8, new XYConstraints(196, 209, -1, -1));
this.getContentPane().add(jComboBox2, new XYConstraints(343, 154, -1, -1));
this.getContentPane().add(jTextField5, new XYConstraints(343, 179, -1, -1));
this.getContentPane().add(jComboBox3, new XYConstraints(344, 204, -1, -1));
this.getContentPane().add(jLabel11, new XYConstraints(17, 240, -1, -1));
this.getContentPane().add(jTextArea1, new XYConstraints(67, 249, 142, 49));
}
public static void main(String[] args) {
XiangzhenFrame xiangzhenframe = new XiangzhenFrame();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -