• 大小: 2.27MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-03
  • 语言: Java
  • 标签: swing界面  

资源简介

随着经济的发展,企业正向着大型化、规模化发展,而对于大中型企业,员工、职称等跟工资管理有关的信息随之急剧增加。在这种情况下单靠人工来处理员工的工资不但显得力不从心,而且极容易出错。如何设计一个小型企业工资的数据库管理系统,由计算机代替人工执行一系列诸如增加新员工,删除旧员工,工资查询,统计等操作。这样就使办公人员可以轻松快捷地完成工资管理的任务。实现工资的集中管理。 功能:可供财务人员对本单位的人员以及工资进行增加、删除、修改、查询,对人事的管理及工资发放中的应发工资合计等项目由系统自动进行计算;同时系统还可对人事及工资管理情况进行多角度查询

资源截图

代码片段和文件信息

/*
 * To change this template choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * AddDepartment.java
 *
 * Created on 2013-6-22 12:14:44
 */

package code;

//import SQLConnection.DBConn;
import java.awt.Toolkit;
import javax.swing.JOptionPane;


/**
 *
 * @author Administrator
 */
public class AddDepartment extends javax.swing.Jframe {

    /** Creates new form AddDepartment */
     private Toolkit tk = Toolkit.getDefaultToolkit();
    int x = tk.getScreenSize().width / 2 - 100;
    int y = tk.getScreenSize().height / 2 - 100;

    public AddDepartment() {
        initComponents();
        settitle(“添加部门信息“);
        setLocation(xy);
        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings(“unchecked“)
    // //GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        jTextField2 = new javax.swing.JTextField();
        jTextField3 = new javax.swing.JTextField();
        jTextField4 = new javax.swing.JTextField();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jPanel1.setBorder(javax.swing.BorderFactory.createtitledBorder(“部门信息“));

        jLabel1.setText(“部门编号:“);

        jLabel2.setText(“部门名称:“);

        jLabel3.setText(“负责人:“);

        jLabel4.setText(“总人数:“);

        jTextField1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField1ActionPerformed(evt);
            }
        });

        jTextField2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField2ActionPerformed(evt);
            }
        });

        jTextField3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField3ActionPerformed(evt);
            }
        });

        jTextField4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField4ActionPerformed(evt);
            }
        });

        jButton1.setText(“添加“);
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerfo

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件       27648  2020-07-30 16:54  19物联网2、3 java大作业 .doc
     目录           0  2020-07-30 18:22  EmployeeSalary\
     文件         378  2018-01-18 13:34  EmployeeSalary\.classpath
     文件         390  2018-01-18 13:30  EmployeeSalary\.project
     目录           0  2020-07-30 18:22  EmployeeSalary\.settings\
     文件         102  2018-01-18 13:31  EmployeeSalary\.settings\org.eclipse.core.resources.prefs
     文件         598  2018-01-18 13:30  EmployeeSalary\.settings\org.eclipse.jdt.core.prefs
     目录           0  2020-07-30 18:23  EmployeeSalary\bin\
     目录           0  2020-07-30 18:23  EmployeeSalary\bin\code\
     文件         744  2020-07-30 18:23  EmployeeSalary\bin\code\AddDepartment$1.class
     文件         744  2020-07-30 18:23  EmployeeSalary\bin\code\AddDepartment$2.class
     文件         744  2020-07-30 18:23  EmployeeSalary\bin\code\AddDepartment$3.class
     文件         744  2020-07-30 18:23  EmployeeSalary\bin\code\AddDepartment$4.class
     文件         744  2020-07-30 18:23  EmployeeSalary\bin\code\AddDepartment$5.class
     文件         744  2020-07-30 18:23  EmployeeSalary\bin\code\AddDepartment$6.class
     文件        8226  2020-07-30 18:23  EmployeeSalary\bin\code\AddDepartment.class
     文件       10107  2018-01-18 13:30  EmployeeSalary\bin\code\AddDepartment.form
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$1.class
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$2.class
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$3.class
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$4.class
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$5.class
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$6.class
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$7.class
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$8.class
     文件         730  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee$9.class
     文件       13985  2020-07-30 18:23  EmployeeSalary\bin\code\AddEmployee.class
     文件       21984  2018-01-18 13:30  EmployeeSalary\bin\code\AddEmployee.form
     文件        2598  2020-07-30 18:23  EmployeeSalary\bin\code\DBConn.class
     文件         765  2020-07-30 18:23  EmployeeSalary\bin\code\DeleteDepartment$1.class
     文件         765  2020-07-30 18:23  EmployeeSalary\bin\code\DeleteDepartment$2.class
............此处省略145个文件信息

评论

共有 条评论