⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 housequery.java~3~

📁 java房产管理系统
💻 JAVA~3~
字号:
import javax.swing.*;import java.awt.*;import com.borland.jbcl.layout.*;public class HouseQuery extends JFrame {  XYLayout xYLayout1 = new XYLayout();  JButton btnExit = new JButton();  JLabel jLabel8 = new JLabel();  JScrollPane jScrollPane1 = new JScrollPane();  JLabel jLabel2 = new JLabel();  JButton btnView = new JButton();  JComboBox cboTable = new JComboBox();  JList lstResult = new JList();  JPanel jPanel1 = new JPanel();  XYLayout xYLayout2 = new XYLayout();  JLabel jLabel10 = new JLabel();  JComboBox cboItem = new JComboBox();  JComboBox cboOper = new JComboBox();  JLabel jLabel11 = new JLabel();  JComboBox cboValue = new JComboBox();  JButton btnQuery = new JButton();  public HouseQuery() {    try {      jbInit();    }    catch(Exception ex) {      ex.printStackTrace();    }  }  void jbInit() throws Exception {    jLabel8.setFont(new java.awt.Font("宋体", 0, 12));    jLabel8.setRequestFocusEnabled(true);    jLabel8.setText("信息集:");    btnExit.setFont(new java.awt.Font("宋体", 0, 12));    btnExit.setText("退出");    this.getContentPane().setLayout(xYLayout1);    jLabel2.setFont(new java.awt.Font("宋体", 0, 12));    jLabel2.setText("操作符:");    btnView.setText("查看");    btnView.setFont(new java.awt.Font("宋体", 0, 12));    cboTable.setFont(new java.awt.Font("宋体", 0, 12));    cboTable.setEditable(true);    jPanel1.setBorder(BorderFactory.createEtchedBorder());    jPanel1.setLayout(xYLayout2);    jLabel10.setText("查询项:");    jLabel10.setFont(new java.awt.Font("宋体", 0, 12));    cboItem.setEditable(true);    cboItem.setFont(new java.awt.Font("宋体", 0, 12));    xYLayout1.setWidth(439);    xYLayout1.setHeight(332);    cboOper.setFont(new java.awt.Font("宋体", 0, 12));    cboOper.setEditable(true);    jLabel11.setFont(new java.awt.Font("宋体", 0, 12));    jLabel11.setText("查询值:");    cboValue.setFont(new java.awt.Font("宋体", 0, 12));    cboValue.setEditable(true);    btnQuery.setFont(new java.awt.Font("宋体", 0, 12));    btnQuery.setText("查询");    this.setTitle("房产信息查询");    jPanel1.add(jLabel8,  new XYConstraints(12, 18, 68, -1));    jPanel1.add(jLabel2,  new XYConstraints(12, 57, 50, -1));    jPanel1.add(jScrollPane1,    new XYConstraints(13, 96, 366, 132));    jPanel1.add(cboItem, new XYConstraints(235, 14, 136, -1));    jPanel1.add(cboTable, new XYConstraints(62, 13, 112, -1));    jPanel1.add(jLabel10, new XYConstraints(182, 18, 50, -1));    jPanel1.add(cboOper, new XYConstraints(62, 52, 111, -1));    jPanel1.add(jLabel11, new XYConstraints(182, 57, 50, -1));    jPanel1.add(cboValue, new XYConstraints(234, 51, 138, -1));    jPanel1.add(btnView,  new XYConstraints(253, 246, 61, 27));    jPanel1.add(btnExit, new XYConstraints(318, 246, 61, 27));    jPanel1.add(btnQuery,    new XYConstraints(14, 246, 61, 27));    jScrollPane1.add(lstResult, null);    this.getContentPane().add(jPanel1,   new XYConstraints(18, 18, 401, 293));  }}

⌨️ 快捷键说明

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