资源简介

医院信息管理系统完整项目,项目开发环境是eclipse和sqlserver,使用swing组件完成,通过jdbc连接数据库。

资源截图

代码片段和文件信息

/*
 * AddAdmin.java
 *
 * Created on __DATE__ __TIME__
 */

package com.zxc.adminframe;

import javax.swing.JDesktopPane;
import javax.swing.JOptionPane;

import com.zxc.bean.Admin;
import com.zxc.dao.AdminDao;

/**
 * 
 * @author __USER__
 */
public class AddAdmin extends javax.swing.JInternalframe {

/**
 * 
 */
private static final long serialVersionUID = -5532388310130558405L;
/** Creates new form AddAdmin */
public AddAdmin(JDesktopPane desktop) {
super(“添加用户“);
this.desktop = desktop;
initComponents();
}

/**
 * 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.
 */
// GEN-BEGIN:initComponents
// 
private void initComponents() {

jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
name = new javax.swing.JTextField();
password1 = new javax.swing.JPasswordField();
password2 = new javax.swing.JPasswordField();
jLabel5 = new javax.swing.JLabel();
power = new javax.swing.JComboBox();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();

jLabel1.setText(“增加用户“);

jLabel2.setText(“用户名“);

jLabel3.setText(“密码“);

jLabel4.setText(“确认密码“);

jLabel5.setText(“用户权限“);

power.setModel(new javax.swing.DefaultComboBoxModel(new String[] {
“管理员“ “普通用户“ }));

jButton1.setText(“添加“);
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});

jButton2.setText(“取消“);
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(
getContentPane());
getContentPane().setLayout(layout);
layout
.setHorizontalGroup(layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
layout
.createSequentialGroup()
.addGroup(
layout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(
javax.swing.GroupLayout.Alignment.LEADING
layout
.createSequentialGroup()
.addGap(
56
56
56)
.addComponent(
jButton1)
.addPreferredGap(
javax.swing.Layoutstyle.ComponentPlacement.RELATED
73
Short.MAX_VALUE)
.addCo

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        474  2011-12-19 14:45  HospitalManageSystem\.classpath

     文件         66  2011-12-19 14:45  HospitalManageSystem\.myumldata

     文件        396  2011-12-19 14:45  HospitalManageSystem\.project

     文件        797  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\AddAdmin$1.class

     文件        797  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\AddAdmin$2.class

     文件       7037  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\AddAdmin.class

     文件        811  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\Adminframe$1.class

     文件        811  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\Adminframe$2.class

     文件       6371  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\Adminframe.class

     文件        818  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\ManageAdmin$1.class

     文件        818  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\ManageAdmin$2.class

     文件        818  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\ManageAdmin$3.class

     文件       9661  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\ManageAdmin.class

     文件        839  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\ManageAdminNew$1.class

     文件        839  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\ManageAdminNew$2.class

     文件        839  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\ManageAdminNew$3.class

     文件       6900  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\adminframe\ManageAdminNew.class

     文件       1088  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\Admin.class

     文件        900  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\Bed.class

     文件        871  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\Dept.class

     文件       1293  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\Drug.class

     文件       3028  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\Employer.class

     文件       1311  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\Instrument.class

     文件       2084  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\Patient.class

     文件        924  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\Salary.class

     文件       2535  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bean\title.class

     文件       1504  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bed\BedTableframe.class

     文件        932  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bgImg\TopImg.class

     文件        978  2011-12-29 10:18  HospitalManageSystem\bin\com\zxc\bgImg\WindowDesktop.class

     文件       4624  2011-12-29 10:20  HospitalManageSystem\bin\com\zxc\dao\AdminDao.class

............此处省略182个文件信息

评论

共有 条评论