📄 readersystempanel.java
字号:
// for(int i=0;i<ztype.length;i++){
// jtxType1.addItem(ztype[i]); jtxType1.updateUI();}
// typeshow();
jtxType1 = new JComboBox(ztype);
jtxType1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxType1.setForeground(SystemColor.activeCaption);
jtxType1.setBounds(new Rectangle(92, 41, 222, 27));
jtxType1.addItemListener(new ReaderSystemPanel_jtxType1_itemAdapter(this));
jLabel34.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel34.setForeground(Color.blue);
jLabel34.setText("证件编号");
jLabel34.setBounds(new Rectangle(20, 75, 62, 30));
jtxZhengjian1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxZhengjian1.setForeground(SystemColor.activeCaption);
jtxZhengjian1.setBounds(new Rectangle(92, 75, 222, 27));
jtxAdd1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxAdd1.setForeground(SystemColor.activeCaption);
jtxAdd1.setBounds(new Rectangle(92, 111, 222, 27));
jLabel35.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel35.setForeground(Color.blue);
jLabel35.setText("读者类型");
jLabel35.setBounds(new Rectangle(15, 39, 62, 30));
jLabel36.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel36.setForeground(Color.blue);
jLabel36.setText("读者姓名");
jLabel36.setBounds(new Rectangle(20, 8, 62, 30));
jButton8.setBounds(new Rectangle(116, 191, 101, 28));
jButton8.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jButton8.setForeground(Color.blue);
jButton8.setText("数据重置");
jButton8.addActionListener(new ReaderSystemPanel_jButton8_actionAdapter(this));
jtxTelphone1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxTelphone1.setForeground(SystemColor.activeCaption);
jtxTelphone1.setText("");
jtxTelphone1.setBounds(new Rectangle(100, 114, 222, 27));
jtxZhengjianNum1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxZhengjianNum1.setForeground(SystemColor.activeCaption);
jtxZhengjianNum1.setBounds(new Rectangle(99, 79, 222, 27));
jLabel38.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel38.setForeground(Color.blue);
jLabel38.setText("押金金额");
jLabel38.setBounds(new Rectangle(20, 38, 62, 30));
jtxNum1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxNum1.setForeground(SystemColor.activeCaption);
jtxNum1.setEditable(false);
jtxNum1.setText("编号在填写资料后点击获取");
jtxNum1.setBounds(new Rectangle(92, 7, 222, 27));
jtxNum1.addMouseListener(new ReaderSystemPanel_jtxNum1_mouseAdapter(this));
jLabel39.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel39.setForeground(Color.blue);
jLabel39.setText("读者编号");
jLabel39.setBounds(new Rectangle(15, 5, 62, 30));
jLabel40.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel40.setForeground(Color.blue);
jLabel40.setText("读者电话");
jLabel40.setBounds(new Rectangle(21, 112, 62, 30));
jPanelBottom.setBorder(BorderFactory.createEtchedBorder());
jPanelBottom.setBounds(new Rectangle(2, 307, 775, 218));
jPanelBottom.addComponentListener(new
ReaderSystemPanel_jPanelBottom_componentAdapter(this));
jPanelBottom.setLayout(null);
jScrollPane1.setBorder(BorderFactory.createLineBorder(Color.black));
jScrollPane1.setBounds(new Rectangle(5, 8, 717, 161));
jScrollPane1.addComponentListener(new
ReaderSystemPanel_jScrollPane1_componentAdapter(this));
radearjTable.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
radearjTable.setForeground(Color.blue);
radearjTable.getTableHeader().setFont(new java.awt.Font("宋体",
Font.PLAIN, 14));
radearjTable.getTableHeader().setForeground(Color.blue);
radearjTable.setBorder(null);
radearjTable.setGridColor(Color.cyan);
radearjTable.setRowHeight(25);
btnY.setBounds(new Rectangle(470, 8, 107, 25));
btnY.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
btnY.setForeground(Color.blue);
btnY.setBorder(BorderFactory.createRaisedBevelBorder());
btnY.setMargin(new Insets(2, 2, 2, 2));
btnY.setText("查询已借书用户");
btnY.addActionListener(new ReaderSystemPanel_btnY_actionAdapter(this));
btnW.setBounds(new Rectangle(236, 8, 124, 24));
btnW.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
btnW.setForeground(Color.blue);
btnW.setBorder(BorderFactory.createRaisedBevelBorder());
btnW.setMargin(new Insets(2, 2, 2, 2));
btnW.setText("查询未借书用户");
btnW.addActionListener(new ReaderSystemPanel_btnW_actionAdapter(this));
btnQ.setBounds(new Rectangle(18, 6, 99, 25));
btnQ.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
btnQ.setForeground(Color.blue);
btnQ.setBorder(BorderFactory.createRaisedBevelBorder());
btnQ.setMargin(new Insets(2, 2, 2, 2));
btnQ.setText("查询全部用户");
btnQ.addActionListener(new ReaderSystemPanel_btnQ_actionAdapter(this));
jPanel1btmm.setBounds(new Rectangle(10, 176, 710, 35));
jPanel1btmm.addComponentListener(new
ReaderSystemPanel_jPanel1btmm_componentAdapter(this));
jPanel1btmm.setLayout(null);
jLabel41.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel41.setForeground(Color.blue);
jLabel41.setText("性 别");
jLabel41.setBounds(new Rectangle(21, 150, 69, 30));
jLabel42.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel42.setForeground(Color.blue);
jLabel42.setText("办证日期");
jLabel42.setBounds(new Rectangle(17, 147, 62, 30));
jtxYajin1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxYajin1.setForeground(SystemColor.activeCaption);
jtxYajin1.setEditable(false);
jtxYajin1.setText("选择读者类型点击获取押金值");
jtxYajin1.setBounds(new Rectangle(98, 43, 222, 27));
jtxYajin1.addMouseListener(new ReaderSystemPanel_jtxYajin1_mouseAdapter(this));
jtxDangqianTime.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxDangqianTime.setForeground(Color.red);
jtxDangqianTime.setEditable(false);
jtxDangqianTime.setText("点击获取当前时间");
jtxDangqianTime.setBounds(new Rectangle(92, 151, 222, 27));
jtxDangqianTime.addMouseListener(new
ReaderSystemPanel_jtxBanzhengshijian_mouseAdapter(this));
jtxDangqianTime.addActionListener(new
ReaderSystemPanel_jtxBanzhengshijian_actionAdapter(this));
jRadioButton1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jRadioButton1.setForeground(Color.blue);
jRadioButton1.setText(" 女");
jRadioButton1.setBounds(new Rectangle(217, 148, 57, 24));
jRadioButton2.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jRadioButton2.setForeground(Color.blue);
jRadioButton2.setSelected(true);
jRadioButton2.setText(" 男");
jRadioButton2.setBounds(new Rectangle(113, 153, 61, 21));
jlbMassageY.setText("");
jlbMassageY.setBackground(SystemColor.menu);
jlbMassageY.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jlbMassageY.setForeground(Color.red);
jlbMassageY.setBorder(null);
jlbMassageY.setCaretColor(Color.pink);
jlbMassageY.setLineWrap(true);
jlbMassageY.setBounds(new Rectangle(361, 5, 120, 184));
jPanelleftJ.setAlignmentX((float) 5.0);
jPanelleftJ.setAlignmentY((float) 5.0);
jPanelleftJ.setBorder(null);
jPanelleftJ.setMinimumSize(new Dimension(20, 20));
jPanelleftJ.setInputVerifier(null);
jPanelleftJ.setBounds(new Rectangle(2, 2, 347, 238));
jPanelleftJ.setLayout(null);
jTpRightBottomjPanel1.setLayout(null);
jPanelRigthJ.setBorder(null);
jPanelRigthJ.setBounds(new Rectangle(355, 2, 347, 238));
jPanelRigthJ.setLayout(null);
jTpRightBottomjPanel1.addComponentListener(new
ReaderSystemPanel_jTpRightBottomjPanel1_componentAdapter(this));
jPanelRigthY.setBorder(null);
jPanelRigthY.setBounds(new Rectangle(331, 2, 488, 237));
jPanelRigthY.setLayout(null);
jPanelLeftY.setBorder(null);
jPanelLeftY.setBounds(new Rectangle(7, 4, 329, 237));
jPanelLeftY.setLayout(null);
jTpRightBottomjPanel2.addComponentListener(new
ReaderSystemPanel_jTpRightBottomjPanel2_componentAdapter(this));
jPanelRigth1.setBackground(SystemColor.control);
jPanelRigth1.setBorder(null);
jPanelRigth1.setToolTipText("");
jPanelRigth1.setBounds(new Rectangle(338, 4, 558, 237));
jPanelRigth1.setLayout(null);
jLabel51.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel51.setForeground(Color.blue);
jLabel51.setText("是否借书");
jLabel51.setBounds(new Rectangle(10, 43, 62, 30));
jTextField38.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField38.setForeground(SystemColor.activeCaption);
jTextField38.setBounds(new Rectangle(88, 48, 222, 27));
jTextField39.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField39.setForeground(SystemColor.activeCaption);
jTextField39.setText("");
jTextField39.setBounds(new Rectangle(87, 12, 222, 27));
jlbMassage.setBackground(SystemColor.control);
jlbMassage.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jlbMassage.setForeground(Color.red);
jlbMassage.setBorder(null);
jlbMassage.setCaretColor(Color.pink);
jlbMassage.setLineWrap(true);
jlbMassage.setBounds(new Rectangle(360, 8, 120, 184));
jTextField40.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField40.setForeground(SystemColor.activeCaption);
jTextField40.setText("");
jTextField40.setBounds(new Rectangle(90, 161, 222, 27));
jButton11.setBounds(new Rectangle(128, 199, 101, 28));
jButton11.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jButton11.setForeground(Color.blue);
jButton11.setText("数据重置");
jLabel52.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel52.setForeground(Color.blue);
jLabel52.setText("证件编号");
jLabel52.setBounds(new Rectangle(10, 82, 62, 30));
jLabel53.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel53.setForeground(Color.blue);
jLabel53.setText("读者姓名");
jLabel53.setBounds(new Rectangle(10, 10, 62, 30));
jTextField41.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField41.setForeground(SystemColor.activeCaption);
jTextField41.setText("");
jTextField41.setBounds(new Rectangle(89, 86, 222, 27));
jLabel54.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel54.setForeground(Color.blue);
jLabel54.setText("使用期限");
jLabel54.setBounds(new Rectangle(10, 157, 62, 30));
jLabel55.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel55.setForeground(Color.blue);
jLabel55.setText("读者电话");
jLabel55.setBounds(new Rectangle(10, 123, 62, 30));
jTextField42.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField42.setForeground(SystemColor.activeCaption);
jTextField42.setBounds(new Rectangle(89, 125, 222, 27));
jLabel3.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel3.setForeground(Color.blue);
jLabel3.setText("读者编号");
jLabel3.setBounds(new Rectangle(7, 6, 62, 30));
jTextField3.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField3.setForeground(SystemColor.activeCaption);
jTextField3.setText("");
jTextField3.setBounds(new Rectangle(84, 121, 222, 27));
jLabel23.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel23.setForeground(Color.blue);
jLabel23.setText("读者地址");
jLabel23.setBounds(new Rectangle(9, 119, 62, 30));
jtxReaderNumZ.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxReaderNumZ.setForeground(SystemColor.activeCaption);
jtxReaderNumZ.setBounds(new Rectangle(84, 8, 222, 27));
jtxReaderNumZ.addMouseListener(new
ReaderSystemPanel_jtxReaderNumZ_mouseAdapter(this));
jLabel24.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel24.setForeground(Color.blue);
jLabel24.setText("办证日期");
jLabel24.setBounds(new Rectangle(10, 155, 62, 30));
jPanelLeft1.setBorder(null);
jPanelLeft1.setBounds(new Rectangle(7, 4, 329, 237));
jPanelLeft1.setLayout(null);
jLabel25.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel25.setForeground(Color.blue);
jLabel25.setText("读者类型");
jLabel25.setBounds(new Rectangle(7, 43, 62, 30));
jtxZhengjian3.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxZhengjian3.setForeground(SystemColor.activeCaption);
jtxZhengjian3.setBounds(new Rectangle(84, 82, 222, 27));
jButton3.setBounds(new Rectangle(80, 196, 101, 28));
jButton3.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jButton3.setForeground(Color.blue);
jButton3.setText("确认办理");
jtxType3.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxType3.setForeground(SystemColor.activeCaption);
jtxType3.setText("");
jtxType3.setBounds(new Rectangle(84, 44, 222, 27));
jLabel26.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel26.setForeground(Color.blue);
jLabel26.setText("证件类型");
jLabel26.setBounds(new Rectangle(7, 79, 62, 30));
jTextField26.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField26.setForeground(SystemColor.activeCaption);
jTextField26.setBounds(new Rectangle(84, 157, 222, 27));
jLabel1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel1.setForeground(Color.blue);
jLabel1.setText("证件类型");
jLabel1.setBounds(new Rectangle(9, 80, 62, 30));
jtxType4.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxType4.setForeground(SystemColor.activeCaption);
jtxType4.setText("");
jtxType4.setBounds(new Rectangle(86, 45, 222, 27));
jTextField2.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField2.setForeground(SystemColor.activeCaption);
jTextField2.setText("");
jTextField2.setBounds(new Rectangle(86, 158, 222, 27));
jLabel2.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel2.setForeground(Color.blue);
jLabel2.setText("读者编号");
jLabel2.setBounds(new Rectangle(9, 10, 62, 30));
jTextField5.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jTextField5.setForeground(SystemColor.activeCaption);
jTextField5.setText("");
jTextField5.setBounds(new Rectangle(86, 122, 222, 27));
jLabel4.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel4.setForeground(Color.blue);
jLabel4.setText("办证日期");
jLabel4.setBounds(new Rectangle(12, 156, 62, 30));
jButton1.setBounds(new Rectangle(82, 197, 101, 28));
jButton1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jButton1.setForeground(Color.blue);
jButton1.setText("确认办理");
jtxZhengjian4.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxZhengjian4.setForeground(SystemColor.activeCaption);
jtxZhengjian4.setText("");
jtxZhengjian4.setBounds(new Rectangle(86, 83, 222, 27));
jLabel5.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jLabel5.setForeground(Color.blue);
jLabel5.setText("读者地址");
jLabel5.setBounds(new Rectangle(11, 120, 62, 30));
jPanelLeft2.setBorder(null);
jPanelLeft2.setBounds(new Rectangle(3, 0, 329, 237));
jPanelLeft2.setLayout(null);
jtxReaderNumG1.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
jtxReaderNumG1.setForeground(SystemColor.activeCaption);
jtxReaderNumG1.setText("");
jtxReaderNumG1.setBounds(new Rectangle(86, 10, 222, 27));
jtxReaderNumG1.addMouseListener(new
ReaderSystemPanel_jtxReaderNumG1_mouseAdapter(this));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -