📄 jpaneltrack.java
字号:
package net.aetherial.gis.surface.main;
import javax.swing.JPanel;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import javax.swing.JButton;
import javax.swing.JTextField;
import javax.swing.JScrollPane;
import picker.DateField;
import javax.swing.JComboBox;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2004</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class JPanelTrack extends JPanel{
public JPanelTrack() {
try {
jbInit();
}
catch (Exception ex) {
ex.printStackTrace();
}
}
public static void main(String[] args) {
JPanelTrack jpaneltrack = new JPanelTrack();
}
private void jbInit() throws Exception {
this.setLayout(xYLayout1);
jLabel1.setText("路面类型:");
jLabel2.setText("县");
jLabel3.setText("完工日期:");
jButtonDelete.setText("删除此航迹");
jLabel4.setText("市");
jLabel5.setText("航迹名称:");
jLabel6.setText("M");
jLabel7.setText("行政等级:");
jTextFieldTrackName.setText(" ");
jLabel8.setText("路线编号:");
jLabel9.setText("技术标准:");
jButtonModi.setText(" 修 改");
jLabel10.setText("村");
jButtonCountDis.setText("计算里程");
jButtonNext.setText("下一条");
jLabel11.setText("路面现状:");
jButtonInsertWaypoint.setText("插入航点");
jLabel12.setText("始建日期:");
jButtonPre.setText("上一条");
jTextFieldStand.setText(" ");
jButtonExcel.setText("该航迹生成Excel");
jLabel13.setText("路面结构:");
jComboBoxType.setAutoscrolls(true);
jLabel14.setText("乡/镇");
jTextFieldNumber.setText(" ");
jTextFieldWidth.setText("");
jLabel15.setText("路面宽度:");
xYLayout1.setWidth(580);
xYLayout1.setHeight(448);
jTextAreaStructure.setBorder(null);
jTextAreaStructure.setText(" ");
jTextAreaStatus.setBorder(null);
jTextAreaStatus.setText(" ");
this.add(jTextFieldCIty, new XYConstraints(48, 27, 70, -1));
this.add(jLabel4, new XYConstraints(120, 29, 35, -1));
this.add(jTextFieldTrackName, new XYConstraints(106, 71, 128, -1));
this.add(jLabel13, new XYConstraints(298, 71, -1, -1));
this.add(jLabel11, new XYConstraints(297, 162, -1, -1));
jScrollPane1.getViewport().add(jTextAreaStructure);
this.add(jScrollPane1, new XYConstraints(360, 73, 190, 69));
jScrollPane2.getViewport().add(jTextAreaStatus);
this.add(jLabel6, new XYConstraints(166, 224, 21, -1));
this.add(jTextFieldTown, new XYConstraints(156, 27, 70, -1));
this.add(jTextFieldValage, new XYConstraints(263, 27, 70, -1));
this.add(jTextFieldCun, new XYConstraints(371, 27, 70, -1));
this.add(jLabel2, new XYConstraints(234, 28, 19, 19));
this.add(jLabel14, new XYConstraints(334, 29, -1, -1));
this.add(jLabel10, new XYConstraints(448, 29, -1, -1));
this.add(jScrollPane2, new XYConstraints(359, 170, 190, 69));
this.add(dateFieldBegin, new XYConstraints(358, 240, -1, -1));
this.add(jLabel12, new XYConstraints(300, 250, -1, -1));
this.add(jLabel3, new XYConstraints(297, 285, -1, -1));
this.add(jLabel5, new XYConstraints(38, 75, -1, -1));
this.add(jButtonExcel, new XYConstraints(438, 336, -1, -1));
this.add(jButtonCountDis, new XYConstraints(438, 364, -1, -1));
this.add(jButtonPre, new XYConstraints(35, 336, -1, -1));
this.add(jTextFieldStand, new XYConstraints(106, 259, 128, 22));
this.add(dateFieldEnd, new XYConstraints(358, 274, 171, -1));
this.add(jButtonModi, new XYConstraints(110, 336, -1, -1));
this.add(jButtonNext, new XYConstraints(180, 336, -1, -1));
this.add(jButtonDelete, new XYConstraints(255, 336, -1, -1));
this.add(jButtonInsertWaypoint, new XYConstraints(351, 336, -1, -1));
this.add(jTextFieldNumber, new XYConstraints(106, 109, 128, 22));
this.add(jComboBoxGrade, new XYConstraints(106, 146, 128, 22));
this.add(jComboBoxType, new XYConstraints(106, 184, 128, 22));
this.add(jTextFieldWidth, new XYConstraints(106, 221, 56, -1));
this.add(jLabel8, new XYConstraints(38, 106, 55, -1));
this.add(jLabel7, new XYConstraints(38, 142, 55, -1));
this.add(jLabel1, new XYConstraints(38, 181, 55, -1));
this.add(jLabel15, new XYConstraints(38, 222, 55, -1));
this.add(jLabel9, new XYConstraints(38, 263, 55, -1));
jComboBoxGrade.addItem("");
jComboBoxGrade.addItem("县道");
jComboBoxGrade.addItem("乡道");
jComboBoxGrade.addItem("村道");
jComboBoxType.addItem("");
jComboBoxType.addItem("水泥");
jComboBoxType.addItem("油路");
jComboBoxType.addItem("砂石路");
}
private XYLayout xYLayout1 = new XYLayout();
private JLabel jLabel1 = new JLabel();
private JLabel jLabel2 = new JLabel();
private JLabel jLabel3 = new JLabel();
private JButton jButtonDelete = new JButton();
private JLabel jLabel4 = new JLabel();
private JLabel jLabel5 = new JLabel();
private JLabel jLabel6 = new JLabel();
private JLabel jLabel7 = new JLabel();
private JTextField jTextFieldTrackName = new JTextField();
private JLabel jLabel8 = new JLabel();
private JScrollPane jScrollPane1 = new JScrollPane();
private JLabel jLabel9 = new JLabel();
private JButton jButtonModi = new JButton();
private DateField dateFieldEnd = new DateField();
private JTextField jTextFieldCIty = new JTextField();
private JLabel jLabel10 = new JLabel();
private JButton jButtonCountDis = new JButton();
private JButton jButtonNext = new JButton();
private JTextField jTextFieldCun = new JTextField();
private JLabel jLabel11 = new JLabel();
private JButton jButtonInsertWaypoint = new JButton();
private JLabel jLabel12 = new JLabel();
private JButton jButtonPre = new JButton();
private DateField dateFieldBegin = new DateField();
private JComboBox jComboBoxGrade = new JComboBox();
private JTextField jTextFieldStand = new JTextField();
private JButton jButtonExcel = new JButton();
private JLabel jLabel13 = new JLabel();
private JTextField jTextFieldTown = new JTextField();
private JComboBox jComboBoxType = new JComboBox();
private JLabel jLabel14 = new JLabel();
private JTextField jTextFieldNumber = new JTextField();
private JScrollPane jScrollPane2 = new JScrollPane();
private JTextField jTextFieldValage = new JTextField();
private JTextField jTextFieldWidth = new JTextField();
private JLabel jLabel15 = new JLabel();
private JTextArea jTextAreaStructure = new JTextArea();
private JTextArea jTextAreaStatus = new JTextArea();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -