资源简介

程序我已调试好,可以再连接mysql数据库后正确使用。是个人通讯录系统。用户分为管理员和普通用户。可以进行增加、删除、编辑等操作

资源截图

代码片段和文件信息

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

/*
 * AddFriends.java
 *
 * Created on 2011-5-26 9:45:44
 */

package contact;
import javax.swing.JOptionPane;
import javax.swing.JTable;
import java.sql.*;
/**
 *
 * @author master
 */
public class AddFriends extends javax.swing.JDialog {

    private int Session;
    public static int Id;
    private JTable table;
    private java.awt.frame parent;
    /** Creates new form AddFriends */
    public AddFriends(int Sessionjava.awt.frame parentJTable jTable1 boolean modal) {

        super(parent modal);
        this.parent = parent;
         table = jTable1;
        this.Session = Session;
        settitle(“添加联系人“);
        initComponents();
        this.setResizable(false);
        this.setLocation(550 280);
    }

    /** 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() {

        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        xingming = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        shouji = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        qq = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        youxiang = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        shuoming = new javax.swing.JTextArea();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        youbian = new javax.swing.JTextField();
        jiating = new javax.swing.JTextField();
        gongsi = new javax.swing.JTextField();
        jButton3 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jScrollPane2 = new javax.swing.JScrollPane();
        dizhi = new javax.swing.JTextArea();
        month = new javax.swing.JComboBox();
        jLabel12 = new javax.swing.JLabel();
        day = new javax.swing.JComboBox();
        ri = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel1.setText(“姓 名:“);

        jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel2.setText(“手 机;“);

        jLabel3.set

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-06-02 22:21  AddressBook\
     文件         399  2011-05-30 17:14  AddressBook\addressbook.jar
     文件        1095  2011-06-07 14:30  AddressBook\addressbook.sql
     目录           0  2012-06-02 22:21  AddressBook\build\
     文件        3728  2012-06-02 09:54  AddressBook\build.xml
     目录           0  2012-06-02 22:21  AddressBook\build\classes\
     文件           0  2012-06-02 11:15  AddressBook\build\classes\.netbeans_automatic_build
     文件           0  2012-06-02 11:15  AddressBook\build\classes\.netbeans_update_resources
     目录           0  2012-06-02 22:21  AddressBook\build\classes\contact\
     文件        1152  2012-06-02 11:15  AddressBook\build\classes\contact\add.jpg
     文件         746  2012-06-02 14:08  AddressBook\build\classes\contact\AddFriends$1.class
     文件         746  2012-06-02 14:08  AddressBook\build\classes\contact\AddFriends$2.class
     文件         746  2012-06-02 14:08  AddressBook\build\classes\contact\AddFriends$3.class
     文件         746  2012-06-02 14:08  AddressBook\build\classes\contact\AddFriends$4.class
     文件       11577  2012-06-02 14:08  AddressBook\build\classes\contact\AddFriends.class
     文件       26360  2012-06-02 14:08  AddressBook\build\classes\contact\AddFriends.form
     文件         711  2012-06-02 16:22  AddressBook\build\classes\contact\Admin$1.class
     文件         796  2012-06-02 16:22  AddressBook\build\classes\contact\Admin$2.class
     文件         517  2012-06-02 16:22  AddressBook\build\classes\contact\Admin$3.class
     文件        7474  2012-06-02 16:22  AddressBook\build\classes\contact\Admin.class
     文件        4904  2012-06-02 16:22  AddressBook\build\classes\contact\Admin.form
     文件       35752  2012-06-02 11:15  AddressBook\build\classes\contact\bg.jpg
     文件        1776  2012-06-02 13:10  AddressBook\build\classes\contact\Dao.class
     文件         966  2012-06-02 11:15  AddressBook\build\classes\contact\daochu.jpg
     文件        1806  2012-06-02 12:39  AddressBook\build\classes\contact\DataOut$1.class
     文件        2684  2012-06-02 12:39  AddressBook\build\classes\contact\DataOut.class
     文件        1621  2012-06-02 11:15  AddressBook\build\classes\contact\DataOut.form
     文件         732  2012-06-02 14:08  AddressBook\build\classes\contact\Editinfo$1.class
     文件         732  2012-06-02 14:08  AddressBook\build\classes\contact\Editinfo$2.class
     文件         732  2012-06-02 14:08  AddressBook\build\classes\contact\Editinfo$3.class
     文件         732  2012-06-02 14:08  AddressBook\build\classes\contact\Editinfo$4.class
............此处省略73个文件信息

评论

共有 条评论