91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.48MB
    文件類型: .7z
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-10-22
  • 語言: Java
  • 標簽:

資源簡介

java+mysql工資管理系統(tǒng),用swing控件做的工資管理系統(tǒng),功能基本齊全。下載一運行就可以用的了。用戶與密碼在數據庫中可以自行修改

資源截圖

代碼片段和文件信息

/*
?*?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

評論

共有 條評論