editUser.addActionListener(
copyUser.addActionListener(
    private void initComponents() { //GEN-BEGIN:initComponents        passwordLabel = new java.awt.Label();        loginName = new java.awt.TextField();        passwordVerifyLabel = new java.awt.Label();        loginNameLabel = new java.awt.Label();        userList = new java.awt.List();        password = new java.awt.TextField();        passwordVerify = new java.awt.TextField();        isAdmin = new java.awt.Checkbox();        userListLabel = new java.awt.Label();        passiveChannels = new java.awt.List();        addToActive = new java.awt.Button();        removeFromActive = new java.awt.Button();        activeChannels = new java.awt.List();        passiveChannelsLabel = new java.awt.Label();        activeChannelsLabel = new java.awt.Label();        editUser = new java.awt.Button();        copyUser = new java.awt.Button();        newUser = new java.awt.Button();        saveUser = new java.awt.Button();        deleteUser = new java.awt.Button();        setLayout(            new java.awt.GridBagLayout());        java.awt.GridBagConstraints gridBagConstraints1;        setFont(            new java.awt.Font("SansSerif", 0, 12));        setTitle(gui.ChatGui.PRODUCT_NAME + " - UserAdministration");        setBackground(new java.awt.Color(204, 204, 204));        passwordLabel.setFont(            new java.awt.Font("SansSerif", 0, 11));        passwordLabel.setName("passwordLabel");        passwordLabel.setBackground(            new java.awt.Color(204, 204, 204));        passwordLabel.setForeground(java.awt.Color.black);        passwordLabel.setText("Passwort");        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 4;        gridBagConstraints1.gridy = 3;        gridBagConstraints1.gridwidth = 3;        gridBagConstraints1.anchor = java.awt.GridBagConstraints.EAST;        add(passwordLabel, gridBagConstraints1);        loginName.setBackground(java.awt.Color.white);        loginName.setName("loginField");        loginName.setFont(            new java.awt.Font("SansSerif", 0, 11));        loginName.setForeground(java.awt.Color.black);        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 7;        gridBagConstraints1.gridy = 2;        gridBagConstraints1.gridwidth = 8;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 0, 10);        gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTHWEST;        add(loginName, gridBagConstraints1);        passwordVerifyLabel.setFont(            new java.awt.Font("SansSerif", 0, 11));        passwordVerifyLabel.setName("passwordVerifyLabel");        passwordVerifyLabel.setBackground(            new java.awt.Color(204, 204, 204));        passwordVerifyLabel.setForeground(java.awt.Color.black);        passwordVerifyLabel.setText("Wiederholung");        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 4;        gridBagConstraints1.gridy = 4;        gridBagConstraints1.gridwidth = 3;        gridBagConstraints1.anchor = java.awt.GridBagConstraints.EAST;        add(passwordVerifyLabel, gridBagConstraints1);        loginNameLabel.setFont(            new java.awt.Font("SansSerif", 0, 11));        loginNameLabel.setName("loginLabel");        loginNameLabel.setBackground(            new java.awt.Color(204, 204, 204));        loginNameLabel.setForeground(java.awt.Color.black);        loginNameLabel.setText("Login Name");        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 4;        gridBagConstraints1.gridy = 2;        gridBagConstraints1.gridwidth = 3;        gridBagConstraints1.insets = new java.awt.Insets(1, 0, 0, 0);        gridBagConstraints1.anchor = java.awt.GridBagConstraints.EAST;        add(loginNameLabel, gridBagConstraints1);        userList.setFont(            new java.awt.Font("SansSerif", 0, 11));        userList.setName("userList");        userList.setBackground(java.awt.Color.white);        userList.setForeground(java.awt.Color.black);        userList.addItemListener(            new java.awt.event.ItemListener() {                public void itemStateChanged(java.awt.event.ItemEvent evt) {                 editUser();                }            });        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 0;        gridBagConstraints1.gridy = 2;        gridBagConstraints1.gridwidth = 4;        gridBagConstraints1.gridheight = 10;        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints1.ipadx = 3;        gridBagConstraints1.insets = new java.awt.Insets(0, 10, 0, 30);        gridBagConstraints1.weightx = 0.5;        gridBagConstraints1.weighty = 1.0;        add(userList, gridBagConstraints1);        password.setBackground(java.awt.Color.white);        password.setName("passwordField");        password.setFont(            new java.awt.Font("SansSerif", 0, 11));        password.setEchoChar('*');        password.setForeground(java.awt.Color.black);        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 7;        gridBagConstraints1.gridy = 3;        gridBagConstraints1.gridwidth = 8;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 0, 10);        gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTHWEST;        add(password, gridBagConstraints1);        passwordVerify.setBackground(java.awt.Color.white);        passwordVerify.setName("passwordVerifyField");        passwordVerify.setFont(            new java.awt.Font("SansSerif", 0, 11));        passwordVerify.setEchoChar('*');        passwordVerify.setForeground(java.awt.Color.black);        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 7;        gridBagConstraints1.gridy = 4;        gridBagConstraints1.gridwidth = 8;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 0, 10);        gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTHWEST;        add(passwordVerify, gridBagConstraints1);        isAdmin.setBackground(            new java.awt.Color(204, 204, 204));        isAdmin.setName("isAdminCheckbox");        isAdmin.setFont(            new java.awt.Font("SansSerif", 0, 11));        isAdmin.setForeground(java.awt.Color.black);        isAdmin.setLabel(" ist Admin");        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 7;        gridBagConstraints1.gridy = 5;        gridBagConstraints1.gridwidth = 8;        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 0, 10);        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;        add(isAdmin, gridBagConstraints1);        userListLabel.setFont(            new java.awt.Font("SansSerif", 0, 11));        userListLabel.setName("userListLabel");        userListLabel.setBackground(            new java.awt.Color(204, 204, 204));        userListLabel.setForeground(java.awt.Color.black);        userListLabel.setText("Userliste");        userListLabel.setAlignment(java.awt.Label.CENTER);        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 0;        gridBagConstraints1.gridy = 1;        gridBagConstraints1.gridwidth = 4;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(0, 10, 0, 30);        add(userListLabel, gridBagConstraints1);        passiveChannels.setFont(            new java.awt.Font("SansSerif", 0, 11));        passiveChannels.setMultipleMode(true);        passiveChannels.setName("passiveChannelList");        passiveChannels.setBackground(java.awt.Color.white);        passiveChannels.setForeground(java.awt.Color.black);        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 4;        gridBagConstraints1.gridy = 7;        gridBagConstraints1.gridwidth = 5;        gridBagConstraints1.gridheight = 8;        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 10, 15);        gridBagConstraints1.weightx = 1.0;        add(passiveChannels, gridBagConstraints1);        addToActive.setFont(            new java.awt.Font("SansSerif", 0, 11));        addToActive.setLabel(">>>");        addToActive.setName("addToChannels");        addToActive.setBackground(            new java.awt.Color(204, 204, 204));        addToActive.setForeground(java.awt.Color.black);        addToActive.addActionListener(            new java.awt.event.ActionListener() {                public void actionPerformed(java.awt.event.ActionEvent evt) {                    addToActive();                }            });        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 9;        gridBagConstraints1.gridy = 9;        add(addToActive, gridBagConstraints1);        removeFromActive.setFont(            new java.awt.Font("SansSerif", 0, 11));        removeFromActive.setLabel("<<<");        removeFromActive.setName("removeFromChannels");        removeFromActive.setBackground(            new java.awt.Color(204, 204, 204));        removeFromActive.setForeground(java.awt.Color.black);        removeFromActive.addActionListener(            new java.awt.event.ActionListener() {                public void actionPerformed(java.awt.event.ActionEvent evt) {                    removeFromActive();                }            });        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 9;        gridBagConstraints1.gridy = 11;        add(removeFromActive, gridBagConstraints1);        activeChannels.setFont(            new java.awt.Font("SansSerif", 0, 11));        activeChannels.setMultipleMode(true);        activeChannels.setName("activeChannelList");        activeChannels.setBackground(java.awt.Color.white);        activeChannels.setForeground(java.awt.Color.black);        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 10;        gridBagConstraints1.gridy = 7;        gridBagConstraints1.gridwidth = 5;        gridBagConstraints1.gridheight = 8;        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints1.insets = new java.awt.Insets(0, 15, 10, 10);        gridBagConstraints1.weightx = 1.0;        add(activeChannels, gridBagConstraints1);        passiveChannelsLabel.setFont(            new java.awt.Font("SansSerif", 0, 11));        passiveChannelsLabel.setName("passiveChannelListField");        passiveChannelsLabel.setBackground(            new java.awt.Color(204, 204, 204));        passiveChannelsLabel.setForeground(java.awt.Color.black);        passiveChannelsLabel.setText("Inaktive Channels");        passiveChannelsLabel.setAlignment(java.awt.Label.CENTER);        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 4;        gridBagConstraints1.gridy = 6;        gridBagConstraints1.gridwidth = 5;        gridBagConstraints1.insets = new java.awt.Insets(15, 0, 0, 10);        add(passiveChannelsLabel, gridBagConstraints1);        activeChannelsLabel.setFont(            new java.awt.Font("SansSerif", 0, 11));        activeChannelsLabel.setName("activeChannelListField");        activeChannelsLabel.setBackground(            new java.awt.Color(204, 204, 204));        activeChannelsLabel.setForeground(java.awt.Color.black);        activeChannelsLabel.setText("Aktive Channels");        activeChannelsLabel.setAlignment(java.awt.Label.CENTER);        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 10;        gridBagConstraints1.gridy = 6;        gridBagConstraints1.gridwidth = 5;        gridBagConstraints1.insets = new java.awt.Insets(15, 0, 0, 10);        add(activeChannelsLabel, gridBagConstraints1);        editUser.setFont(            new java.awt.Font("SansSerif", 0, 11));        editUser.setLabel("Bearbeiten");        editUser.setName("editUser");        editUser.setBackground(            new java.awt.Color(204, 204, 204));        editUser.setForeground(java.awt.Color.black);        editUser.addActionListener(            new java.awt.event.ActionListener() {                public void actionPerformed(java.awt.event.ActionEvent evt) {                    editUser();                }            });        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 0;        gridBagConstraints1.gridy = 12;        gridBagConstraints1.gridwidth = 4;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(0, 10, 0, 30);        add(editUser, gridBagConstraints1);        copyUser.setFont(            new java.awt.Font("SansSerif", 0, 11));        copyUser.setLabel("Kopieren");        copyUser.setName("copyUserData");        copyUser.setBackground(            new java.awt.Color(204, 204, 204));        copyUser.setForeground(java.awt.Color.black);        copyUser.setForeground(java.awt.Color.black);        editUser.addActionListener(            new java.awt.event.ActionListener() {                public void actionPerformed(java.awt.event.ActionEvent evt) {                    copyUser();                }            });        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 0;        gridBagConstraints1.gridy = 13;        gridBagConstraints1.gridwidth = 4;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(0, 10, 0, 30);        add(copyUser, gridBagConstraints1);        newUser.setFont(            new java.awt.Font("SansSerif", 0, 11));        newUser.setLabel("Neu");        newUser.setName("newUser");        newUser.setBackground(            new java.awt.Color(204, 204, 204));        newUser.setForeground(java.awt.Color.black);        newUser.addActionListener(            new java.awt.event.ActionListener() {                public void actionPerformed(java.awt.event.ActionEvent evt) {                    newUser();                }            });        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 0;        gridBagConstraints1.gridy = 0;        gridBagConstraints1.gridwidth = 7;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(10, 10, 15, 0);        gridBagConstraints1.weightx = 1.0;        add(newUser, gridBagConstraints1);        saveUser.setFont(            new java.awt.Font("SansSerif", 0, 11));        saveUser.setLabel("Speichern");        saveUser.setName("saveUser");        saveUser.setBackground(            new java.awt.Color(204, 204, 204));        saveUser.setForeground(java.awt.Color.black);        saveUser.addActionListener(            new java.awt.event.ActionListener() {                public void actionPerformed(java.awt.event.ActionEvent evt) {                    saveUser();                }            });        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 8;        gridBagConstraints1.gridy = 0;        gridBagConstraints1.gridwidth = 7;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(10, 0, 15, 10);        gridBagConstraints1.weightx = 1.0;        add(saveUser, gridBagConstraints1);        deleteUser.setFont(            new java.awt.Font("SansSerif", 0, 11));        deleteUser.setLabel("L\u00f6schen");        deleteUser.setName("deleteUser");        deleteUser.setBackground(            new java.awt.Color(204, 204, 204));        deleteUser.setForeground(java.awt.Color.black);        deleteUser.addActionListener(            new java.awt.event.ActionListener() {                public void actionPerformed(java.awt.event.ActionEvent evt) {                    deleteUser();                }            });        gridBagConstraints1 = new java.awt.GridBagConstraints();        gridBagConstraints1.gridx = 0;        gridBagConstraints1.gridy = 14;        gridBagConstraints1.gridwidth = 4;        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints1.insets = new java.awt.Insets(0, 10, 10, 30);        gridBagConstraints1.weightx = 1.0;        add(deleteUser, gridBagConstraints1);    } //GEN-END:initComponents