📄 searchpnl.java~4~
字号:
package com.cdaccp.view;
import java.awt.*;
import javax.swing.*;
/**
* <p>Title: 查询面板</p>
*
* <p>Description: 主面板上的查询面板</p>
*
* <p>Copyright: Copyright (c) 2008</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class SearchPnl
extends JPanel {
FlowLayout flowLayout1 = new FlowLayout();
JLabel jLabel1 = new JLabel();
JTextField jTextField1 = new JTextField();
JLabel jLabel2 = new JLabel();
JTextField jTextField2 = new JTextField();
JLabel jLabel3 = new JLabel();
JButton jButton1 = new JButton();
public SearchPnl() {
try {
jbInit();
}
catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
this.setLayout(flowLayout1);
flowLayout1.setAlignment(FlowLayout.LEFT);
jLabel1.setText("资产编号 ");
jTextField1.setText("请输入资产编号");
jLabel2.setText("资产名称 ");
jTextField2.setText("请输入资产名称");
jLabel3.setText(" ");
jButton1.setText("查询");
this.add(jLabel3);
this.add(jLabel1);
this.add(jTextField1);
this.add(jLabel2);
this.add(jTextField2);
this.add(jButton1);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -