📄 membermanagepanel.java
字号:
lblTelphone.setText("联系方式:");
lblTelphone.setBounds(new Rectangle(40, 210, 82, 34));
lblAddress.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblAddress.setText("家庭地址:");
lblAddress.setBounds(new Rectangle(315, 12, 88, 31));
lblRemark.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblRemark.setText("备 注:");
lblRemark.setBounds(new Rectangle(315, 116, 80, 32));
lblStartTime.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblStartTime.setText("启用时间:");
lblStartTime.setBounds(new Rectangle(39, 211, 80, 33));
lblName.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblName.setText("姓 名:");
lblName.setBounds(new Rectangle(40, 13, 89, 34));
txtTelphone.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
txtTelphone.setBorder(BorderFactory.createEtchedBorder());
txtTelphone.setOpaque(false);
txtTelphone.setBounds(new Rectangle(132, 162, 160, 34));
txtWorkplace.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
txtWorkplace.setBorder(BorderFactory.createEtchedBorder());
txtWorkplace.setOpaque(false);
txtWorkplace.setBounds(new Rectangle(401, 62, 160, 34));
txtAddress.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
txtAddress.setBorder(BorderFactory.createEtchedBorder());
txtAddress.setOpaque(false);
txtAddress.setBounds(new Rectangle(401, 12, 160, 34));
txtStartTime.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
txtStartTime.setBorder(BorderFactory.createEtchedBorder());
txtStartTime.setOpaque(false);
txtStartTime.setBounds(new Rectangle(132, 210, 160, 34));
txtName.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
txtName.setBorder(BorderFactory.createEtchedBorder());
txtName.setOpaque(false);
txtName.setBounds(new Rectangle(132, 13, 160, 34));
txtRemark.setBorder(BorderFactory.createEtchedBorder());
txtRemark.setOpaque(false);
txtRemark.setBounds(new Rectangle(400, 113, 160, 82));
txtAge.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
txtAge.setBorder(BorderFactory.createEtchedBorder());
txtAge.setOpaque(false);
txtAge.setBounds(new Rectangle(132, 113, 160, 34));
btnYes.setBounds(new Rectangle(159, 272, 124, 34));
btnYes.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
btnYes.setBorder(BorderFactory.createRaisedBevelBorder());
btnYes.setOpaque(false);
btnYes.setContentAreaFilled(false);
btnYes.setText("注册");
btnYes.addActionListener(new MemberManagePanel_jbtnYes_actionAdapter(this));
btnCancel.setBounds(new Rectangle(352, 272, 124, 34));
btnCancel.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
btnCancel.setBorder(BorderFactory.createRaisedBevelBorder());
btnCancel.setOpaque(false);
btnCancel.setContentAreaFilled(false);
btnCancel.setText("重置");
btnCancel.addActionListener(new
MemberManagePanel_jbtnCancel_actionAdapter(this));
cmbSex.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
cmbSex.setBorder(BorderFactory.createEtchedBorder());
cmbSex.setOpaque(false);
cmbSex.setBounds(new Rectangle(132, 62, 160, 34));
pnlPerfect.setBorder(titledBorder1);
pnlPerfect.setOpaque(false);
pnlPerfect.setBounds(new Rectangle(420, 50, 171, 360));
pnlPerfect.setLayout(null);
lblName.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblName.setText("姓 名:");
lblName.setBounds(new Rectangle(39, 13, 88, 34));
lblAge.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblAge.setText("年 龄:");
lblAge.setBounds(new Rectangle(39, 116, 88, 35));
lblTelphone.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblTelphone.setText("联系方式:");
lblTelphone.setBounds(new Rectangle(39, 162, 88, 34));
lblWorkplace.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblWorkplace.setText("工作地址:");
lblWorkplace.setBounds(new Rectangle(315, 62, 88, 33));
textName.setForeground(SystemColor.activeCaption);
textName.setBorder(BorderFactory.createEtchedBorder());
textName.setOpaque(false);
textName.setBounds(new Rectangle(61, 11, 106, 22));
textAge.setForeground(SystemColor.activeCaption);
textAge.setBorder(BorderFactory.createEtchedBorder());
textAge.setOpaque(false);
textAge.setBounds(new Rectangle(61, 73, 106, 22));
textTelphone.setForeground(SystemColor.activeCaption);
textTelphone.setBorder(BorderFactory.createEtchedBorder());
textTelphone.setOpaque(false);
textTelphone.setBounds(new Rectangle(61, 103, 106, 22));
textWorkplace.setForeground(SystemColor.activeCaption);
textWorkplace.setBorder(BorderFactory.createEtchedBorder());
textWorkplace.setOpaque(false);
textWorkplace.setBounds(new Rectangle(61, 133, 106, 22));
bttnYes.setBounds(new Rectangle(10, 323, 72, 25));
bttnYes.setForeground(SystemColor.activeCaption);
bttnYes.setBorder(BorderFactory.createRaisedBevelBorder());
bttnYes.setContentAreaFilled(false);
bttnYes.setText("确定");
bttnYes.addActionListener(new
MemberManagePanel_jbttnYes_actionAdapter(this));
bttnCancel.setBounds(new Rectangle(86, 323, 77, 25));
bttnCancel.setForeground(SystemColor.activeCaption);
bttnCancel.setBorder(BorderFactory.createRaisedBevelBorder());
bttnCancel.setContentAreaFilled(false);
bttnCancel.setText("重置");
bttnCancel.addActionListener(new
MemberManagePanel_jbttnCancel_actionAdapter(this));
lbllName.setFont(new java.awt.Font("宋体", Font.PLAIN, 11));
lbllName.setForeground(SystemColor.activeCaption);
lbllName.setText("会员姓名:");
lbllName.setBounds(new Rectangle(7, 11, 53, 18));
lbllAge.setFont(new java.awt.Font("宋体", Font.PLAIN, 11));
lbllAge.setForeground(SystemColor.activeCaption);
lbllAge.setText("年 龄:");
lbllAge.setBounds(new Rectangle(7, 75, 53, 15));
lbllTelphone.setFont(new java.awt.Font("宋体", Font.PLAIN, 11));
lbllTelphone.setForeground(SystemColor.activeCaption);
lbllTelphone.setText("联系方式:");
lbllTelphone.setBounds(new Rectangle(7, 106, 53, 15));
lbllWorkplace.setFont(new java.awt.Font("宋体", Font.PLAIN, 11));
lbllWorkplace.setForeground(SystemColor.activeCaption);
lbllWorkplace.setText("工作地址:");
lbllWorkplace.setBounds(new Rectangle(7, 135, 53, 15));
lblQueryOnly.setBackground(Color.black);
lblQueryOnly.setForeground(SystemColor.activeCaption);
lblQueryOnly.setText("请输入会员卡号:");
lblQueryOnly.setBounds(new Rectangle(9, 288, 98, 18));
txtQuery.setForeground(SystemColor.activeCaption);
this.txtQuery.setToolTipText("请在此输入您要操作的会员卡号");
txtQuery.setOpaque(false);
txtQuery.setBounds(new Rectangle(114, 286, 154, 23));
btnQueryOnly.setBounds(new Rectangle(286, 286, 89, 23));
btnQueryOnly.setFont(new java.awt.Font("宋体", Font.PLAIN, 13));
btnQueryOnly.setForeground(SystemColor.activeCaption);
btnQueryOnly.setBorder(BorderFactory.createRaisedBevelBorder());
btnQueryOnly.setOpaque(false);
btnQueryOnly.setContentAreaFilled(false);
btnQueryOnly.setText("搜索");
// this.btnQueryOnly.setIcon(new ImageIcon("Image\\btnQueryOnly.gif"));
this.btnQueryOnly.setToolTipText("根据卡号查询会员");
btnQueryOnly.addActionListener(new
MemberManagePanel_btnQueryOnly_actionAdapter(this));
lblStarTel.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
lblStarTel.setForeground(Color.red);
lblStarTel.setText("*");
lblStarTel.setBounds(new Rectangle(294, 169, 11, 15));
lblStarAge.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
lblStarAge.setForeground(Color.red);
lblStarAge.setText("*");
lblStarAge.setBounds(new Rectangle(294, 124, 11, 15));
lblStarName.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
lblStarName.setForeground(Color.red);
lblStarName.setText("*");
lblStarName.setBounds(new Rectangle(294, 24, 11, 15));
lblStarSex.setFont(new java.awt.Font("宋体", Font.PLAIN, 15));
lblStarSex.setForeground(Color.red);
lblStarSex.setText("*");
lblStarSex.setBounds(new Rectangle(294, 73, 11, 15));
combScore.setOpaque(false);
combScore.setBounds(new Rectangle(171, 359, 97, 19));
combSex.setForeground(SystemColor.activeCaption);
combSex.setBorder(BorderFactory.createEtchedBorder());
combSex.setOpaque(false);
combSex.setBounds(new Rectangle(61, 42, 106, 22));
textSex.setFont(new java.awt.Font("宋体", Font.PLAIN, 11));
textSex.setForeground(SystemColor.activeCaption);
textSex.setText("性 别:");
textSex.setBounds(new Rectangle(7, 46, 53, 15));
lbllAddress.setFont(new java.awt.Font("宋体", Font.PLAIN, 11));
lbllAddress.setForeground(SystemColor.activeCaption);
lbllAddress.setText("家庭地址:");
lbllAddress.setBounds(new Rectangle(7, 169, 53, 15));
textAddress.setForeground(SystemColor.activeCaption);
textAddress.setBorder(BorderFactory.createEtchedBorder());
textAddress.setOpaque(false);
textAddress.setBounds(new Rectangle(61, 164, 106, 22));
lbllRemark.setFont(new java.awt.Font("宋体", Font.PLAIN, 11));
lbllRemark.setForeground(SystemColor.activeCaption);
lbllRemark.setText("备 注:");
lbllRemark.setBounds(new Rectangle(7, 204, 53, 15));
txaRemark.setForeground(SystemColor.activeCaption);
txaRemark.setBorder(BorderFactory.createEtchedBorder());
txaRemark.setOpaque(false);
txaRemark.setBounds(new Rectangle(60, 199, 106, 77));
lbldQuery.setForeground(SystemColor.activeCaption);
lbldQuery.setText("请选择条件进行模糊查询:");
lbldQuery.setBounds(new Rectangle(9, 312, 166, 20));
combAge.setOpaque(false);
combAge.setBounds(new Rectangle(171, 380, 97, 18));
combxSex.setOpaque(false);
combxSex.setBounds(new Rectangle(171, 340, 97, 17));
lblCheckSex.setText("性别:");
lblCheckSex.setBounds(new Rectangle(114, 340, 33, 11));
lblCheckAge.setText("年龄:");
lblCheckAge.setBounds(new Rectangle(114, 380, 30, 15));
lblCheckScore.setText("积分:");
lblCheckScore.setBounds(new Rectangle(114, 359, 30, 15));
btndQuery.setBounds(new Rectangle(286, 373, 89, 25));
btndQuery.setFont(new java.awt.Font("宋体", Font.PLAIN, 13));
btndQuery.setForeground(SystemColor.activeCaption);
btndQuery.setBorder(BorderFactory.createRaisedBevelBorder());
btndQuery.setOpaque(false);
btndQuery.setContentAreaFilled(false);
btndQuery.setText("模糊查询");
// this.btndQuery.setIcon(new ImageIcon("Image\\btndQuery.gif"));
this.btndQuery.setToolTipText("查询符合条件的会员");
btndQuery.addActionListener(new
MemberManagePanel_btndQuery_actionAdapter(this));
btnRefurbish.setBounds(new Rectangle(480, 3, 104, 30));
btnRefurbish.setFont(new java.awt.Font("宋体", Font.PLAIN, 14));
btnRefurbish.setForeground(SystemColor.desktop);
btnRefurbish.setBorder(null);
btnRefurbish.setOpaque(false);
btnRefurbish.setContentAreaFilled(false);
btnRefurbish.setText("刷新");
// this.btnRefurbish.setIcon(new ImageIcon("Image\\btnRefurbish.gif"));
this.btnRefurbish.setToolTipText("更新数据");
btnRefurbish.addActionListener(new
MemberManagePanel_btnRefurbish_actionAdapter(this));
lblScore.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
lblScore.setText("积 分:");
lblScore.setBounds(new Rectangle(315, 211, 87, 35));
txtScore.setFont(new java.awt.Font("宋体", Font.PLAIN, 16));
txtScore.setBorder(BorderFactory.createEtchedBorder());
txtScore.setOpaque(false);
txtScore.setBounds(new Rectangle(400, 210, 160, 34));
btnBack.setBounds(new Rectangle(110, 345, 428, 75));
btnBack.setBorderPainted(false);
btnBack.setContentAreaFilled(false);
btnBack.setIcon(new ImageIcon("Image\\btnBack.gif"));
this.btnBack.setToolTipText("返回查询界面");
btnBack.addActionListener(new MemberManagePanel_btnBack_actionAdapter(this));
pnlBtn.setBackground(SystemColor.control);
pnlBtn.setBorder(BorderFactory.createEtchedBorder());
pnlBtn.setOpaque(false);
pnlBtn.setBounds(new Rectangle(9, 6, 590, 38));
pnlBtn.setLayout(null);
lblId.setText("会员卡号:");
lblId.setBounds(new Rectangle(34, 316, 65, 30));
txtId.setOpaque(false);
txtId.setBounds(new Rectangle(106, 318, 165, 23));
this.add(pnlAdd, null);
pnlAdd.add(cmbSex);
pnlAdd.add(lblSex);
pnlAdd.add(txtAge);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -