- 1、本文档共6页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
package rsgl;
import java.awt.* ;
import java.awt.event.*;
import java.sql.*;
import java.util.*;
import javax.swing.*;
import javax.swing.border.*;
public class A extends JFrame
{
protected JPanel p = new JPanel();
protected JPanel p1 = new JPanel();
protected JPanel p2 = new JPanel();
protected JPanel p3= new JPanel();
JMenuBar M =new JMenuBar();
JMenu m1 = new JMenu( 基本信息模块 );
JMenu m2 = new JMenu( 考勤考评信息模块 );
JMenu m3 = new JMenu( 系统维护信息模块 );
JMenuItem mm1 = new JMenuItem( 员工基本信息 );
JMenuItem mm2 = new JMenuItem( 员工家庭成员基本信息 );
JMenuItem mm3 = new JMenuItem( 员工培训信息 );
JMenuItem mm4 = new JMenuItem( 员工考勤信息 );
JMenuItem mm5 = new JMenuItem( 员工考评信息 );
JMenuItem mm6 = new JMenuItem( 普通管理员 );
JMenuItem mm7 = new JMenuItem( 高级管理员 );
JMenuItem mm8 = new JMenuItem( 退出);
protected JLabel l1 = new JLabel( 员工编号: );
protected JLabel l2 = new JLabel( 姓 名:);
protected JLabel l3 = new JLabel( 性 别:);
protected JLabel l4 = new JLabel( 年 龄:);
protected JLabel l5 = new JLabel( 部 门:);
protected JTextField t1 = new JTextField(10);
protected JTextField t2 = new JTextField(10);
protected JTextField t3 = new JTextField(10);
protected JTextField t4 = new JTextField(10);
protected JTextField t5 = new JTextField(10);
private JButton b1 = new JButton( 查询);
private JButton b2 = new JButton( 插入);
private JButton b3 = new JButton( 修改);
private JButton b4 = new JButton( 删除);
private JButton b5 = new JButton( 清除);
private JButton b6 = new JButton( 下一条 );
private Connection c; // @jve:decl-index=0:
private Statement s; // @jve:decl-index=0:
private ResultSet r; // @jve:decl-index=0:
public A()
{
super(人事管理系统 );
getContentPane().add(p);
setJMenuBar(M);M.add(m1);M.add(m2);M.add(m3);m1.add(mm1);
m1.add(mm2);m1.add(mm3);m1.addSeparator();m1.add(mm8);m2.add(mm4);
m2.add(mm5);m3.add(mm6);m3.add(mm7);
p.add(p1,BorderLayout.NORTH);
p.add(p2,BorderLayout.CENTER);
p.add(p3,BorderLayout.SOUTH);
p1.setLayout(new GridLayout(5,2,1,3));
p1.add(l1);p1.add(t1);
p1.add(l2);p1.add(t2);
p1.add(l3);p1.add(t3);
p1.add
您可能关注的文档
- 初中英语动词在各种时态中地变化规则.docx
- 人教版高中英语选修九单词词汇听写默写.docx
- 2019年高考英语听力全国III卷原文-答案.docx
- 会议议题申报表.docx
- 初中英语名词练习题与答案.docx
- 13年考研英语熟词偏义词汇大全.docx
- 生育津贴申报表.docx
- 变更注册资本章程修正案(注册资本变更).docx
- 2014县级优秀班主任申报表.docx
- HM46高压抗磨液压油标准.docx
- 新的一年工作展望.docx
- 医生年终个人工作的述职报告(3篇).docx
- 2023年消防设施操作员之消防设备中级技能考前冲刺练习题附答案详解.docx
- 2022-2023年环境影响评价工程师之环评技术导则与标准通关练习题包括详细解答.docx
- 2023年中级注册安全工程师之安全生产管理考前冲刺检测卷和答案.docx
- 2023年中级银行从业资格之中级银行管理考前冲刺测试卷提供答案解析.docx
- 2023年公共营养师之二级营养师通关模拟考试试卷附带答案.docx
- 证券分析师之发布证券研究报告业务考前冲刺模拟题库.docx
- 2022-2023年二级建造师之二建建设工程法规及相关知识综合提升测试卷附答案.docx
- 2023年二级建造师之二建机电工程实务通关模拟考试试卷提供答案解析.docx
文档评论(0)