📄 omendframe2.java~6~
字号:
package project1;
import java.awt.*;
import javax.swing.*;
public class OmendFrame2 extends JFrame //修改采购单
{
ImageIcon image12 = new ImageIcon(project1.MainFrame.class.getResource("image14.png"));
ImageIcon image13 = new ImageIcon(project1.MainFrame.class.getResource("image15.png"));
ImageIcon image14 = new ImageIcon(project1.MainFrame.class.getResource("image16.png"));
ImageIcon image15 = new ImageIcon(project1.MainFrame.class.getResource("image17.png"));
ImageIcon image16 = new ImageIcon(project1.MainFrame.class.getResource("image18.png"));
ImageIcon image17 = new ImageIcon(project1.MainFrame.class.getResource("image19.png"));
ImageIcon image18 = new ImageIcon(project1.MainFrame.class.getResource("image20.png"));
ImageIcon image19 = new ImageIcon(project1.MainFrame.class.getResource("image21.png"));
public OmendFrame2() {
super();
setSize(601, 442);
setLocation(250,110);
setResizable(false);
try {
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
getContentPane().setLayout(null);
jPanel1.setBackground(Color.white);
jPanel1.setBounds(new Rectangle(0, 1, 592, 435));
jPanel1.setLayout(null);
jLabel1.setIcon(image12);
jLabel1.setText("");
jLabel1.setBounds(new Rectangle(7, 50, 95, 22));
jTextField1.setText("");
jTextField1.setBounds(new Rectangle(104, 40, 186, 26));
jLabel2.setIcon(image13);
jLabel2.setText("");
jLabel2.setBounds(new Rectangle(300, 47, 75, 28));
jTextField2.setText("");
jTextField2.setBounds(new Rectangle(385, 40, 186, 26));
jLabel3.setIcon(image14);
jLabel3.setText("");
jLabel3.setBounds(new Rectangle(20, 129, 78, 23));
jTextField3.setText("");
jTextField3.setBounds(new Rectangle(104, 120, 186, 26));
jLabel4.setIcon(image15);
jLabel4.setText("");
jLabel4.setBounds(new Rectangle(290, 128, 89, 25));
jTextField4.setText("");
jTextField4.setBounds(new Rectangle(385,120, 186, 26));
jLabel5.setIcon(image16);
jLabel5.setText("");
jLabel5.setBounds(new Rectangle(8, 198, 89, 24));
jTextField5.setText("");
jTextField5.setBounds(new Rectangle(104, 190, 186, 26));
jLabel6.setIcon(image17);
jLabel6.setText("");
jLabel6.setBounds(new Rectangle(291, 198, 91, 30));
jTextField6.setText("");
jTextField6.setBounds(new Rectangle(385, 190, 186, 26));
jLabel7.setIcon(image18);
jLabel7.setText("");
jLabel7.setBounds(new Rectangle(7, 268, 91, 28));
jTextField7.setText("");
jTextField7.setBounds(new Rectangle(104, 260, 186, 26));
jLabel8.setIcon(image19);
jLabel8.setText("");
jLabel8.setBounds(new Rectangle(301, 266, 76, 25));
jTextField8.setText("");
jTextField8.setBounds(new Rectangle(385, 260, 186, 26));
jButton1.setBounds(new Rectangle(175, 338, 85, 37));
jButton1.setText("确定");
jButton2.setBounds(new Rectangle(371, 338, 85, 37));
jButton2.setText("取消");
this.getContentPane().add(jPanel1);
jPanel1.add(jTextField5);
jPanel1.add(jTextField4);
jPanel1.add(jTextField6);
jPanel1.add(jTextField3);
jPanel1.add(jTextField7);
jPanel1.add(jTextField8);
jPanel1.add(jTextField1);
jPanel1.add(jTextField2);
jPanel1.add(jLabel7);
jPanel1.add(jLabel5);
jPanel1.add(jLabel3);
jPanel1.add(jLabel1);
jPanel1.add(jLabel4);
jPanel1.add(jLabel2);
jPanel1.add(jLabel6);
jPanel1.add(jLabel8);
jPanel1.add(jButton2);
jPanel1.add(jButton1);
this.setTitle("修改采购单");
}
JPanel jPanel1 = new JPanel();
JLabel jLabel1 = new JLabel();
JTextField jTextField1 = new JTextField();
JLabel jLabel2 = new JLabel();
JTextField jTextField2 = new JTextField();
JLabel jLabel3 = new JLabel();
JTextField jTextField3 = new JTextField();
JLabel jLabel4 = new JLabel();
JTextField jTextField4 = new JTextField();
JLabel jLabel5 = new JLabel();
JTextField jTextField5 = new JTextField();
JLabel jLabel6 = new JLabel();
JTextField jTextField6 = new JTextField();
JLabel jLabel7 = new JLabel();
JTextField jTextField7 = new JTextField();
JLabel jLabel8 = new JLabel();
JTextField jTextField8 = new JTextField();
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -