Example usage for com.jgoodies.forms.factories CC LEFT

List of usage examples for com.jgoodies.forms.factories CC LEFT

Introduction

In this page you can find the example usage for com.jgoodies.forms.factories CC LEFT.

Prototype

Alignment LEFT

To view the source code for com.jgoodies.forms.factories CC LEFT.

Click Source Link

Usage

From source file:EditAutoWatchView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    panel1 = new JPanel();
    userInputPanel = new JPanel();
    profileNameText = new JTextField();
    addButton = new JButton();
    separator1 = new JSeparator();
    label7 = new JLabel();
    watchListPanel = new JPanel();
    watch1Label = new JLabel();
    deleteWatch1Button = new JButton();
    watch2Label = new JLabel();
    deleteWatch2Button = new JButton();
    watch3Label = new JLabel();
    deleteWatch3Button = new JButton();
    watch4Label = new JLabel();
    deleteWatch4Button = new JButton();
    watch5Label = new JLabel();
    deleteWatch5Button = new JButton();
    separator2 = new JSeparator();
    buttonPanel = new JPanel();
    closeButton = new JButton();
    clearButton = new JButton();

    //======== this ========
    setTitle("Watched Profiles");
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("100dlu, $lcgap, default", "148dlu:grow"));

    //======== panel1 ========
    {/*from w w  w. j  a va 2  s  .c o  m*/
        panel1.setPreferredSize(new Dimension(200, 240));
        panel1.setLayout(new FormLayout("left:97dlu", "fill:min, 2*(default), $lgap, min, 8dlu, 20dlu"));

        //======== userInputPanel ========
        {
            userInputPanel.setName("userInputPanel");
            userInputPanel.setPreferredSize(new Dimension(250, 150));
            userInputPanel.setLayout(new FormLayout("left:55dlu, 31dlu", "default"));

            //---- profileNameText ----
            profileNameText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            profileNameText.setName("profilename");
            profileNameText.setPreferredSize(new Dimension(100, 25));
            profileNameText.addKeyListener(new KeyAdapter() {
                @Override
                public void keyReleased(KeyEvent e) {
                    profileNameTextKeyReleased(e);
                }
            });
            userInputPanel.add(profileNameText, CC.xy(1, 1));

            //---- addButton ----
            addButton.setText("Add");
            addButton.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            addButton.setName("addButton");
            addButton.setEnabled(false);
            addButton.setPreferredSize(new Dimension(50, 20));
            addButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    addButtonActionPerformed(e);
                }
            });
            userInputPanel.add(addButton,
                    new CellConstraints(2, 1, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));
        }
        panel1.add(userInputPanel, CC.xy(1, 1));
        panel1.add(separator1, CC.xy(1, 2, CC.FILL, CC.DEFAULT));

        //---- label7 ----
        label7.setText("Watched Profiles");
        panel1.add(label7, new CellConstraints(1, 3, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

        //======== watchListPanel ========
        {
            watchListPanel.setName("watchListPanel");
            watchListPanel.setPreferredSize(new Dimension(200, 160));
            watchListPanel.setLayout(new FormLayout("55dlu:grow, 45dlu",
                    "14dlu, $nlgap, 14dlu, $lcgap, 2*(14dlu, $nlgap), 14dlu"));

            //---- watch1Label ----
            watch1Label.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
            watch1Label.setName("watch1");
            watchListPanel.add(watch1Label, CC.xy(1, 1));

            //---- deleteWatch1Button ----
            deleteWatch1Button.setText("Delete");
            deleteWatch1Button.setPreferredSize(new Dimension(50, 20));
            deleteWatch1Button.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            deleteWatch1Button.setName("deleteWatch1Button");
            deleteWatch1Button.setVisible(false);
            deleteWatch1Button.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    deleteWatch1ButtonActionPerformed(e);
                }
            });
            watchListPanel.add(deleteWatch1Button,
                    new CellConstraints(2, 1, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

            //---- watch2Label ----
            watch2Label.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
            watch2Label.setName("watch2");
            watchListPanel.add(watch2Label, CC.xy(1, 3));

            //---- deleteWatch2Button ----
            deleteWatch2Button.setText("Delete");
            deleteWatch2Button.setPreferredSize(new Dimension(50, 20));
            deleteWatch2Button.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            deleteWatch2Button.setName("deleteWatch2Button");
            deleteWatch2Button.setVisible(false);
            deleteWatch2Button.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    deleteWatch2ButtonActionPerformed(e);
                }
            });
            watchListPanel.add(deleteWatch2Button,
                    new CellConstraints(2, 3, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

            //---- watch3Label ----
            watch3Label.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
            watch3Label.setName("watch3");
            watchListPanel.add(watch3Label, CC.xy(1, 5));

            //---- deleteWatch3Button ----
            deleteWatch3Button.setText("Delete");
            deleteWatch3Button.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            deleteWatch3Button.setPreferredSize(new Dimension(50, 20));
            deleteWatch3Button.setName("deleteWatch3Button");
            deleteWatch3Button.setVisible(false);
            deleteWatch3Button.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    deleteWatch3ButtonActionPerformed(e);
                }
            });
            watchListPanel.add(deleteWatch3Button,
                    new CellConstraints(2, 5, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

            //---- watch4Label ----
            watch4Label.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
            watch4Label.setName("watch4");
            watchListPanel.add(watch4Label, CC.xy(1, 7));

            //---- deleteWatch4Button ----
            deleteWatch4Button.setText("Delete");
            deleteWatch4Button.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            deleteWatch4Button.setPreferredSize(new Dimension(50, 20));
            deleteWatch4Button.setName("deleteWatch4Button");
            deleteWatch4Button.setVisible(false);
            deleteWatch4Button.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    deleteWatch4ButtonActionPerformed(e);
                }
            });
            watchListPanel.add(deleteWatch4Button,
                    new CellConstraints(2, 7, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

            //---- watch5Label ----
            watch5Label.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
            watch5Label.setName("watch5");
            watchListPanel.add(watch5Label, CC.xy(1, 9));

            //---- deleteWatch5Button ----
            deleteWatch5Button.setText("Delete");
            deleteWatch5Button.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            deleteWatch5Button.setPreferredSize(new Dimension(50, 20));
            deleteWatch5Button.setName("deleteWatch5Button");
            deleteWatch5Button.setVisible(false);
            deleteWatch5Button.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    deleteWatch5ButtonActionPerformed(e);
                }
            });
            watchListPanel.add(deleteWatch5Button,
                    new CellConstraints(2, 9, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));
        }
        panel1.add(watchListPanel, new CellConstraints(1, 5, 1, 1, CC.DEFAULT, CC.TOP, new Insets(0, 5, 0, 0)));
        panel1.add(separator2, CC.xy(1, 6, CC.FILL, CC.DEFAULT));

        //======== buttonPanel ========
        {
            buttonPanel.setLayout(new FormLayout("default, 3dlu, default, $lcgap, default", "default"));

            //---- closeButton ----
            closeButton.setText("Close");
            closeButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
            closeButton.setName("closeButton");
            closeButton.setPreferredSize(new Dimension(50, 20));
            closeButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    closeButtonActionPerformed(e);
                }
            });
            buttonPanel.add(closeButton, CC.xy(1, 1));

            //---- clearButton ----
            clearButton.setText("Clear");
            clearButton.setPreferredSize(new Dimension(50, 20));
            clearButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
            clearButton.setName("clearButton");
            clearButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    clearButtonActionPerformed(e);
                }
            });
            buttonPanel.add(clearButton, CC.xy(3, 1));
        }
        panel1.add(buttonPanel, CC.xy(1, 7, CC.FILL, CC.FILL));
    }
    contentPane.add(panel1, new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:MainView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    panel1 = new JPanel();
    menuBar = new JMenuBar();
    fileMenu = new JMenu();
    quitMenuItem = new JMenuItem();
    accountsMenu = new JMenu();
    manageAccountsMenuItem = new JMenuItem();
    addAccountMenuItem = new JMenuItem();
    scheduleMenu = new JMenu();
    manageSchedulesMenuItem = new JMenuItem();
    seperatorPanel = new JPanel();
    separator1 = new JSeparator();
    scheduleMenuItemsPanel = new JPanel();
    toolsmenu = new JMenu();
    clearAccountsMenuItem = new JMenuItem();
    resetIndexMenuItem = new JMenuItem();
    visitProfileMenuItem = new JMenuItem();
    checkProfileMenuItem = new JMenuItem();
    editAutoWatchListMenuItem = new JMenuItem();
    deleteInboxMenuItem = new JMenuItem();
    openConsoleMenuItem = new JMenuItem();
    visitVisitorsMenuItem = new JMenuItem();
    hideVisitorsMenuItem = new JMenuItem();
    mainPanel = new JPanel();
    leftPanel = new JPanel();
    usernamesCombo = new JComboBox();
    buttonPanel = new JPanel();
    loginButton = new JButton();
    runButton = new JButton();
    stopButton = new JButton();
    activityPanel = new JPanel();
    runPanel = new JPanel();
    label8 = new JLabel();
    resetRunButton = new JButton();
    label9 = new JLabel();
    runVisitsPanel = new JPanel();
    visitsCompletedUI = new JLabel();
    visitLimitUI = new JLabel();
    label2 = new JLabel();
    startTimeUI = new JLabel();
    label10 = new JLabel();
    elapsedUI = new JLabel();
    label4 = new JLabel();
    endTimeUI = new JLabel();
    totalPanel = new JPanel();
    label11 = new JLabel();
    totalVisitsUI = new JLabel();
    resetTotalButton = new JButton();
    activeSchedulePanel = new JPanel();
    schedulePanel1 = new JPanel();
    scheduleName1Label = new JLabel();
    label21 = new JLabel();
    scheduleTime1Label = new JLabel();
    schedulePanel2 = new JPanel();
    scheduleName2Label = new JLabel();
    label24 = new JLabel();
    scheduleTime2Label = new JLabel();
    schedulePanel3 = new JPanel();
    scheduleName3Label = new JLabel();
    label27 = new JLabel();
    scheduleTime3Label = new JLabel();
    schedulePanel4 = new JPanel();
    scheduleName4Label = new JLabel();
    label30 = new JLabel();
    scheduleTime4Label = new JLabel();
    rightPanel = new JPanel();
    settingsHeadingPanel = new JPanel();
    label1 = new JLabel();
    editButton = new JButton();
    autoHideLabel = new JLabel();
    orientation = new JLabel();
    radius = new JLabel();
    age = new JLabel();
    lastOnline = new JLabel();
    orderBy = new JLabel();
    watchPanel = new JPanel();
    autoWatchButton = new JToggleButton();
    lastCheckedContainer = new JPanel();
    lastCheckedPanel = new JPanel();
    lastCheckedLabel = new JLabel();
    label5 = new JLabel();
    nextCheckLabel = new JLabel();
    watchListPanel = new JPanel();
    watch1 = new JLabel();
    watchStatus1 = new JLabel();
    watch2 = new JLabel();
    watchStatus2 = new JLabel();
    watch3 = new JLabel();
    watchStatus3 = new JLabel();
    watch4 = new JLabel();
    watchStatus4 = new JLabel();
    watch5 = new JLabel();
    watchStatus5 = new JLabel();
    statusLineContainer = new JPanel();
    statusLinePanel = new JPanel();
    consoleOutputLabel = new JLabel();
    nextVisitPanel = new JPanel();
    label16 = new JLabel();
    nextVisitLabel = new JLabel();
    panel2 = new JPanel();
    label3 = new JLabel();
    visitorCountLabel = new JLabel();

    //======== this ========
    setTitle("OkcApp v4.1");
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("[168dlu,default]:grow", "fill:207dlu:grow"));

    //======== panel1 ========
    {//from  www. ja v  a2  s.c  om
        panel1.setPreferredSize(new Dimension(300, 328));
        panel1.setName("panel1");
        panel1.setMinimumSize(new Dimension(280, 284));
        panel1.setMaximumSize(new Dimension(300, 330));
        panel1.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
        panel1.setLayout(new FormLayout("146dlu:grow", "fill:12dlu, fill:162dlu, fill:26dlu"));

        //======== menuBar ========
        {
            menuBar.setName("menuBar");
            menuBar.setPreferredSize(new Dimension(155, 10));

            //======== fileMenu ========
            {
                fileMenu.setText("File");
                fileMenu.setFont(new Font("Lucida Grande", Font.PLAIN, 12));

                //---- quitMenuItem ----
                quitMenuItem.setText("Quit");
                quitMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                quitMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        quitMenuItemActionPerformed(e);
                    }
                });
                fileMenu.add(quitMenuItem);
            }
            menuBar.add(fileMenu);

            //======== accountsMenu ========
            {
                accountsMenu.setText("Accounts");
                accountsMenu.setFont(new Font("Lucida Grande", Font.PLAIN, 12));

                //---- manageAccountsMenuItem ----
                manageAccountsMenuItem.setText("Manage Accounts");
                manageAccountsMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                manageAccountsMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        manageAccountsMenuItemActionPerformed(e);
                    }
                });
                accountsMenu.add(manageAccountsMenuItem);

                //---- addAccountMenuItem ----
                addAccountMenuItem.setText("Add Account");
                addAccountMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                addAccountMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        addAccountMenuItemActionPerformed(e);
                    }
                });
                accountsMenu.add(addAccountMenuItem);
            }
            menuBar.add(accountsMenu);

            //======== scheduleMenu ========
            {
                scheduleMenu.setText("Schedule");
                scheduleMenu.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                scheduleMenu.setName("scheduleMenu");

                //---- manageSchedulesMenuItem ----
                manageSchedulesMenuItem.setText("Manage Schedules");
                manageSchedulesMenuItem.setName("manageSchedules");
                manageSchedulesMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                manageSchedulesMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        manageSchedulesMenuItemActionPerformed(e);
                    }
                });
                scheduleMenu.add(manageSchedulesMenuItem);

                //======== seperatorPanel ========
                {
                    seperatorPanel.setBackground(Color.white);
                    seperatorPanel.setName("seperatorPanel");
                    seperatorPanel.setLayout(new FormLayout("center:85dlu", "default"));

                    //---- separator1 ----
                    separator1.setForeground(Color.black);
                    separator1.setPreferredSize(new Dimension(150, 12));
                    separator1.setName("seperator1");
                    seperatorPanel.add(separator1,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(0, 5, 0, 5)));
                }
                scheduleMenu.add(seperatorPanel);

                //======== scheduleMenuItemsPanel ========
                {
                    scheduleMenuItemsPanel.setName("scheduleMenuItemsPanel");
                    scheduleMenuItemsPanel.setLayout(new FormLayout("default", "default"));
                }
                scheduleMenu.add(scheduleMenuItemsPanel);
            }
            menuBar.add(scheduleMenu);

            //======== toolsmenu ========
            {
                toolsmenu.setText("Tools");
                toolsmenu.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                toolsmenu.setName("toolsMenu");

                //---- clearAccountsMenuItem ----
                clearAccountsMenuItem.setText("Clear Accounts");
                clearAccountsMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                clearAccountsMenuItem.setName("clearAccounts");
                clearAccountsMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        clearAccountsMenuItemActionPerformed(e);
                    }
                });
                toolsmenu.add(clearAccountsMenuItem);

                //---- resetIndexMenuItem ----
                resetIndexMenuItem.setText("Reset Index");
                resetIndexMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                resetIndexMenuItem.setName("resetIndex");
                resetIndexMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        resetIndexActionPerformed(e);
                    }
                });
                toolsmenu.add(resetIndexMenuItem);

                //---- visitProfileMenuItem ----
                visitProfileMenuItem.setText("Visit Single Profile");
                visitProfileMenuItem.setFont(visitProfileMenuItem.getFont()
                        .deriveFont(visitProfileMenuItem.getFont().getSize() - 2f));
                visitProfileMenuItem.setName("visitProfileMenuItem");
                visitProfileMenuItem.setEnabled(false);
                visitProfileMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        visitProfileMenuItemActionPerformed(e);
                    }
                });
                toolsmenu.add(visitProfileMenuItem);

                //---- checkProfileMenuItem ----
                checkProfileMenuItem.setText("Check Profile");
                checkProfileMenuItem.setName("checkProfileMenuItem");
                checkProfileMenuItem.setEnabled(false);
                checkProfileMenuItem.setFont(checkProfileMenuItem.getFont()
                        .deriveFont(checkProfileMenuItem.getFont().getSize() - 2f));
                checkProfileMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        checkProfileMenuItemActionPerformed(e);
                    }
                });
                toolsmenu.add(checkProfileMenuItem);

                //---- editAutoWatchListMenuItem ----
                editAutoWatchListMenuItem.setText("Edit Auto-Watch List");
                editAutoWatchListMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                editAutoWatchListMenuItem.setName("editAutoWatchList");
                editAutoWatchListMenuItem.setEnabled(false);
                editAutoWatchListMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        editAutoWatchListMenuItemActionPerformed(e);
                    }
                });
                toolsmenu.add(editAutoWatchListMenuItem);

                //---- deleteInboxMenuItem ----
                deleteInboxMenuItem.setText("Delete Inbox");
                deleteInboxMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                deleteInboxMenuItem.setEnabled(false);
                deleteInboxMenuItem.setName("deleteInbox");
                deleteInboxMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        deleteInboxMenuItemActionPerformed(e);
                    }
                });
                toolsmenu.add(deleteInboxMenuItem);

                //---- openConsoleMenuItem ----
                openConsoleMenuItem.setText("Console");
                openConsoleMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                openConsoleMenuItem.setName("openConsole");
                openConsoleMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        openConsoleMenuItemActionPerformed(e);
                    }
                });
                toolsmenu.add(openConsoleMenuItem);

                //---- visitVisitorsMenuItem ----
                visitVisitorsMenuItem.setText("Visit Visitors");
                visitVisitorsMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                visitVisitorsMenuItem.setName("visitVisitors");
                visitVisitorsMenuItem.setEnabled(false);
                visitVisitorsMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        visitVisitorsMenuItemActionPerformed(e);
                    }
                });
                toolsmenu.add(visitVisitorsMenuItem);

                //---- hideVisitorsMenuItem ----
                hideVisitorsMenuItem.setText("Hide Visitors");
                hideVisitorsMenuItem.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                hideVisitorsMenuItem.setName("hideVisitors");
                hideVisitorsMenuItem.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        hideNewVisitorsMenuItemActionPerformed(e);
                    }
                });
                toolsmenu.add(hideVisitorsMenuItem);
            }
            menuBar.add(toolsmenu);
        }
        panel1.add(menuBar, CC.xy(1, 1));

        //======== mainPanel ========
        {
            mainPanel.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
            mainPanel.setPreferredSize(new Dimension(305, 355));
            mainPanel.setName("mainPanel");
            mainPanel.setMinimumSize(new Dimension(250, 276));
            mainPanel.setLayout(new FormLayout("81dlu, $ugap, 123px", "166dlu:grow"));

            //======== leftPanel ========
            {
                leftPanel.setPreferredSize(new Dimension(175, 325));
                leftPanel.setBorder(null);
                leftPanel.setMinimumSize(new Dimension(150, 276));
                leftPanel.setLayout(
                        new FormLayout("min", "bottom:default, default, 2dlu, 76dlu, $lgap, default"));

                //---- usernamesCombo ----
                usernamesCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                usernamesCombo.setPreferredSize(new Dimension(120, 27));
                usernamesCombo.setName("usernames");
                usernamesCombo.setVisible(false);
                usernamesCombo.addPropertyChangeListener("visible", new PropertyChangeListener() {
                    @Override
                    public void propertyChange(PropertyChangeEvent e) {
                        usernamesComboPropertyChange(e);
                    }
                });
                usernamesCombo.addPopupMenuListener(new PopupMenuListener() {
                    @Override
                    public void popupMenuCanceled(PopupMenuEvent e) {
                    }

                    @Override
                    public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {
                        usernamesComboPopupMenuWillBecomeInvisible(e);
                    }

                    @Override
                    public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
                    }
                });
                leftPanel.add(usernamesCombo, CC.xy(1, 1));

                //======== buttonPanel ========
                {
                    buttonPanel.setName("buttonPanel");
                    buttonPanel.setLayout(new FormLayout("30dlu, 28dlu, 24dlu", "default"));

                    //---- loginButton ----
                    loginButton.setText("Login");
                    loginButton.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                    loginButton.setPreferredSize(new Dimension(70, 25));
                    loginButton.setName("login");
                    loginButton.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            loginButtonActionPerformed(e);
                        }
                    });
                    buttonPanel.add(loginButton, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

                    //---- runButton ----
                    runButton.setText("Run");
                    runButton.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                    runButton.setPreferredSize(new Dimension(70, 25));
                    runButton.setName("run");
                    runButton.setEnabled(false);
                    runButton.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            runButtonActionPerformed(e);
                        }
                    });
                    runButton.addPropertyChangeListener("visible", new PropertyChangeListener() {
                        @Override
                        public void propertyChange(PropertyChangeEvent e) {
                            runButtonPropertyChange(e);
                        }
                    });
                    buttonPanel.add(runButton, CC.xy(2, 1, CC.LEFT, CC.DEFAULT));

                    //---- stopButton ----
                    stopButton.setText("Stop");
                    stopButton.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                    stopButton.setName("stopButton");
                    stopButton.setForeground(Color.red);
                    stopButton.setVisible(false);
                    stopButton.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            stopButtonActionPerformed(e);
                        }
                    });
                    buttonPanel.add(stopButton, CC.xy(3, 1));
                }
                leftPanel.add(buttonPanel, CC.xy(1, 2, CC.DEFAULT, CC.FILL));

                //======== activityPanel ========
                {
                    activityPanel.setName("activityPanel");
                    activityPanel.setPreferredSize(new Dimension(117, 300));
                    activityPanel.setBorder(new MatteBorder(0, 0, 0, 0, Color.black));
                    activityPanel.setLayout(new FormLayout("76dlu", "top:60dlu, top:16dlu"));

                    //======== runPanel ========
                    {
                        runPanel.setName("runPanel");
                        runPanel.setPreferredSize(new Dimension(200, 130));
                        runPanel.setBorder(new MatteBorder(1, 0, 1, 0, Color.black));
                        runPanel.setLayout(new FormLayout("34dlu, 25dlu:grow",
                                "3dlu, 10dlu, $lgap, min, 3*($lgap, default)"));

                        //---- label8 ----
                        label8.setText("Current");
                        label8.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        runPanel.add(label8, new CellConstraints(1, 2, 1, 1, CC.DEFAULT, CC.DEFAULT,
                                new Insets(0, 2, 0, 0)));

                        //---- resetRunButton ----
                        resetRunButton.setText("Reset");
                        resetRunButton.setPreferredSize(new Dimension(50, 15));
                        resetRunButton.setFont(new Font("Lucida Grande", Font.PLAIN, 9));
                        resetRunButton.setName("resetRun");
                        resetRunButton.addActionListener(new ActionListener() {
                            @Override
                            public void actionPerformed(ActionEvent e) {
                                resetRunButtonActionPerformed(e);
                            }
                        });
                        runPanel.add(resetRunButton, CC.xy(2, 2, CC.LEFT, CC.TOP));

                        //---- label9 ----
                        label9.setText("- Visits");
                        label9.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        runPanel.add(label9, new CellConstraints(1, 4, 1, 1, CC.DEFAULT, CC.DEFAULT,
                                new Insets(0, 10, 0, 0)));

                        //======== runVisitsPanel ========
                        {
                            runVisitsPanel.setName("runVisitsPanel");
                            runVisitsPanel.setLayout(new FormLayout("default, $lcgap, 25dlu", "default"));

                            //---- visitsCompletedUI ----
                            visitsCompletedUI.setText("0");
                            visitsCompletedUI.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            visitsCompletedUI.setName("visitsCompleted");
                            visitsCompletedUI.addPropertyChangeListener(new PropertyChangeListener() {
                                @Override
                                public void propertyChange(PropertyChangeEvent e) {
                                    visitsCompletedUIPropertyChange(e);
                                }
                            });
                            runVisitsPanel.add(visitsCompletedUI, CC.xy(1, 1));

                            //---- visitLimitUI ----
                            visitLimitUI.setText("of 0");
                            visitLimitUI.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            visitLimitUI.setName("visitLimitUI");
                            runVisitsPanel.add(visitLimitUI, CC.xy(3, 1));
                        }
                        runPanel.add(runVisitsPanel, CC.xy(2, 4));

                        //---- label2 ----
                        label2.setText("- Start");
                        label2.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        runPanel.add(label2, new CellConstraints(1, 6, 1, 1, CC.DEFAULT, CC.DEFAULT,
                                new Insets(0, 10, 0, 0)));

                        //---- startTimeUI ----
                        startTimeUI.setText("00:00");
                        startTimeUI.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        startTimeUI.setName("start_time");
                        runPanel.add(startTimeUI, CC.xy(2, 6));

                        //---- label10 ----
                        label10.setText("- Elapsed");
                        label10.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        runPanel.add(label10, new CellConstraints(1, 8, 1, 1, CC.DEFAULT, CC.DEFAULT,
                                new Insets(0, 10, 0, 0)));

                        //---- elapsedUI ----
                        elapsedUI.setText("00:00:00");
                        elapsedUI.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        elapsedUI.setName("elapsed");
                        runPanel.add(elapsedUI, CC.xy(2, 8));

                        //---- label4 ----
                        label4.setText("- End");
                        label4.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        runPanel.add(label4, new CellConstraints(1, 10, 1, 1, CC.DEFAULT, CC.DEFAULT,
                                new Insets(0, 10, 0, 0)));

                        //---- endTimeUI ----
                        endTimeUI.setText("00:00 PM");
                        endTimeUI.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        endTimeUI.setName("end_time");
                        runPanel.add(endTimeUI, CC.xy(2, 10));
                    }
                    activityPanel.add(runPanel, CC.xy(1, 1, CC.DEFAULT, CC.CENTER));

                    //======== totalPanel ========
                    {
                        totalPanel.setName("totalPanel");
                        totalPanel.setPreferredSize(new Dimension(200, 60));
                        totalPanel.setBorder(new MatteBorder(0, 0, 1, 0, Color.black));
                        totalPanel.setLayout(new FormLayout("33dlu, min, 3dlu, 21dlu", "10dlu"));

                        //---- label11 ----
                        label11.setText("Total Visits:");
                        label11.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        totalPanel.add(label11, new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.DEFAULT,
                                new Insets(0, 2, 0, 0)));

                        //---- totalVisitsUI ----
                        totalVisitsUI.setText("0");
                        totalVisitsUI.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        totalVisitsUI.setName("totalVisits");
                        totalPanel.add(totalVisitsUI, CC.xy(2, 1, CC.FILL, CC.DEFAULT));

                        //---- resetTotalButton ----
                        resetTotalButton.setText("Reset");
                        resetTotalButton.setFont(new Font("Lucida Grande", Font.PLAIN, 9));
                        resetTotalButton.setPreferredSize(new Dimension(50, 15));
                        resetTotalButton.setName("resetTotal");
                        resetTotalButton.addActionListener(new ActionListener() {
                            @Override
                            public void actionPerformed(ActionEvent e) {
                                resetTotalButtonActionPerformed(e);
                            }
                        });
                        totalPanel.add(resetTotalButton, CC.xy(4, 1, CC.LEFT, CC.DEFAULT));
                    }
                    activityPanel.add(totalPanel,
                            new CellConstraints(1, 2, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(5, 0, 0, 0)));
                }
                leftPanel.add(activityPanel,
                        new CellConstraints(1, 4, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(0, 10, 0, 0)));

                //======== activeSchedulePanel ========
                {
                    activeSchedulePanel.setName("activeSchedulePanel2");
                    activeSchedulePanel
                            .setLayout(new FormLayout("default:grow", "3*(default, $lgap), default"));

                    //======== schedulePanel1 ========
                    {
                        schedulePanel1.setName("schedulePanel1");
                        schedulePanel1.setVisible(false);
                        schedulePanel1.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

                        //---- scheduleName1Label ----
                        scheduleName1Label.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        scheduleName1Label.setName("scheduleName1Label");
                        schedulePanel1.add(scheduleName1Label, CC.xy(1, 1));

                        //---- label21 ----
                        label21.setText("-");
                        label21.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        schedulePanel1.add(label21, CC.xy(3, 1, CC.CENTER, CC.DEFAULT));

                        //---- scheduleTime1Label ----
                        scheduleTime1Label.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        scheduleTime1Label.setName("scheduleTime1Label");
                        schedulePanel1.add(scheduleTime1Label, CC.xy(5, 1));
                    }
                    activeSchedulePanel.add(schedulePanel1, CC.xy(1, 1));

                    //======== schedulePanel2 ========
                    {
                        schedulePanel2.setName("schedulePanel2");
                        schedulePanel2.setVisible(false);
                        schedulePanel2.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

                        //---- scheduleName2Label ----
                        scheduleName2Label.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        scheduleName2Label.setName("scheduleName2Label");
                        schedulePanel2.add(scheduleName2Label, CC.xy(1, 1));

                        //---- label24 ----
                        label24.setText("-");
                        label24.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        schedulePanel2.add(label24, CC.xy(3, 1, CC.CENTER, CC.DEFAULT));

                        //---- scheduleTime2Label ----
                        scheduleTime2Label.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        scheduleTime2Label.setName("scheduleTime2Label");
                        schedulePanel2.add(scheduleTime2Label, CC.xy(5, 1));
                    }
                    activeSchedulePanel.add(schedulePanel2, CC.xy(1, 3));

                    //======== schedulePanel3 ========
                    {
                        schedulePanel3.setName("schedulePanel3");
                        schedulePanel3.setVisible(false);
                        schedulePanel3.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

                        //---- scheduleName3Label ----
                        scheduleName3Label.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        scheduleName3Label.setName("scheduleName3Label");
                        schedulePanel3.add(scheduleName3Label, CC.xy(1, 1));

                        //---- label27 ----
                        label27.setText("-");
                        label27.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        schedulePanel3.add(label27, CC.xy(3, 1, CC.CENTER, CC.DEFAULT));

                        //---- scheduleTime3Label ----
                        scheduleTime3Label.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        scheduleTime3Label.setName("scheduleTime3Label");
                        schedulePanel3.add(scheduleTime3Label, CC.xy(5, 1));
                    }
                    activeSchedulePanel.add(schedulePanel3, CC.xy(1, 5));

                    //======== schedulePanel4 ========
                    {
                        schedulePanel4.setName("schedulePanel4");
                        schedulePanel4.setVisible(false);
                        schedulePanel4.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

                        //---- scheduleName4Label ----
                        scheduleName4Label.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        scheduleName4Label.setName("scheduleName4Label");
                        schedulePanel4.add(scheduleName4Label, CC.xy(1, 1));

                        //---- label30 ----
                        label30.setText("-");
                        label30.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        schedulePanel4.add(label30, CC.xy(3, 1, CC.CENTER, CC.DEFAULT));

                        //---- scheduleTime4Label ----
                        scheduleTime4Label.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        scheduleTime4Label.setName("scheduleTime4Label");
                        schedulePanel4.add(scheduleTime4Label, CC.xy(5, 1));
                    }
                    activeSchedulePanel.add(schedulePanel4, CC.xy(1, 7));
                }
                leftPanel.add(activeSchedulePanel,
                        new CellConstraints(1, 6, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(0, 10, 0, 0)));
            }
            mainPanel.add(leftPanel, CC.xy(1, 1, CC.FILL, CC.TOP));

            //======== rightPanel ========
            {
                rightPanel.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                rightPanel.setPreferredSize(new Dimension(180, 250));
                rightPanel.setMinimumSize(new Dimension(121, 276));
                rightPanel.setLayout(new FormLayout("73dlu", "7*(default, $lgap), default"));

                //======== settingsHeadingPanel ========
                {
                    settingsHeadingPanel.setName("settingsheadingPanel");
                    settingsHeadingPanel.setLayout(new FormLayout("default, $lcgap, 28dlu", "22dlu"));

                    //---- label1 ----
                    label1.setText("Settings");
                    label1.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    settingsHeadingPanel.add(label1, CC.xy(1, 1));

                    //---- editButton ----
                    editButton.setText("Edit");
                    editButton.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                    editButton.setEnabled(false);
                    editButton.setPreferredSize(new Dimension(70, 25));
                    editButton.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            editButtonActionPerformed(e);
                        }
                    });
                    settingsHeadingPanel.add(editButton, CC.xy(3, 1));
                }
                rightPanel.add(settingsHeadingPanel, CC.xy(1, 1));

                //---- autoHideLabel ----
                autoHideLabel.setText("- Auto-hide:");
                autoHideLabel.setFont(new Font("Lucida Grande", Font.ITALIC, 10));
                autoHideLabel.setName("autoHideLabel");
                rightPanel.add(autoHideLabel, CC.xy(1, 3));

                //---- orientation ----
                orientation.setText("- orientation");
                orientation.setFont(new Font("Lucida Grande", Font.ITALIC, 10));
                orientation.setName("orientationSet");
                rightPanel.add(orientation, CC.xy(1, 5));

                //---- radius ----
                radius.setText("- search radius");
                radius.setFont(new Font("Lucida Grande", Font.ITALIC, 10));
                radius.setName("radiusSet");
                rightPanel.add(radius, CC.xy(1, 7));

                //---- age ----
                age.setText("- age");
                age.setFont(new Font("Lucida Grande", Font.ITALIC, 10));
                age.setName("ageSet");
                rightPanel.add(age, CC.xy(1, 9));

                //---- lastOnline ----
                lastOnline.setText("- last online");
                lastOnline.setFont(new Font("Lucida Grande", Font.ITALIC, 10));
                lastOnline.setName("lastOnlineSet");
                rightPanel.add(lastOnline, CC.xy(1, 11));

                //---- orderBy ----
                orderBy.setText("- sort order");
                orderBy.setFont(new Font("Lucida Grande", Font.ITALIC, 10));
                orderBy.setName("orderBySet");
                rightPanel.add(orderBy, CC.xy(1, 13));

                //======== watchPanel ========
                {
                    watchPanel.setName("watchPanel");
                    watchPanel.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                    watchPanel.setLayout(new FormLayout("72dlu:grow", "15dlu, $lgap, 10dlu, 82dlu"));

                    //---- autoWatchButton ----
                    autoWatchButton.setText("Auto-Watch");
                    autoWatchButton.setPreferredSize(new Dimension(85, 29));
                    autoWatchButton.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                    autoWatchButton.setName("autoWatch");
                    autoWatchButton.setEnabled(false);
                    autoWatchButton.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            autoWatchButtonActionPerformed(e);
                        }
                    });
                    watchPanel.add(autoWatchButton,
                            new CellConstraints(1, 1, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, -5, 0, 0)));

                    //======== lastCheckedContainer ========
                    {
                        lastCheckedContainer.setName("lastCheckedContainer");
                        lastCheckedContainer.setLayout(new FormLayout("71dlu", "default"));

                        //======== lastCheckedPanel ========
                        {
                            lastCheckedPanel.setName("lastCheckedPanel");
                            lastCheckedPanel
                                    .setLayout(new FormLayout("left:25dlu, center:10dlu, left:18dlu", "10dlu"));

                            //---- lastCheckedLabel ----
                            lastCheckedLabel.setName("lastChecked");
                            lastCheckedLabel.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            lastCheckedLabel.setText("00:00 AM");
                            lastCheckedLabel.setBorder(null);
                            lastCheckedPanel.add(lastCheckedLabel, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                            //---- label5 ----
                            label5.setText(" / ");
                            label5.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            lastCheckedPanel.add(label5, CC.xy(2, 1));

                            //---- nextCheckLabel ----
                            nextCheckLabel.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            nextCheckLabel.setName("nextCheckLabel");
                            nextCheckLabel.setBorder(null);
                            lastCheckedPanel.add(nextCheckLabel, CC.xy(3, 1));
                        }
                        lastCheckedContainer.add(lastCheckedPanel,
                                new CellConstraints(1, 1, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 2, 0, 0)));
                    }
                    watchPanel.add(lastCheckedContainer, CC.xy(1, 3));

                    //======== watchListPanel ========
                    {
                        watchListPanel.setLayout(
                                new FormLayout("50dlu, 3dlu, 29dlu:grow", "4*(default, $lgap), default"));

                        //---- watch1 ----
                        watch1.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watch1.setName("watch1");
                        watch1.setVisible(false);
                        watchListPanel.add(watch1, CC.xy(1, 1));

                        //---- watchStatus1 ----
                        watchStatus1.setText("-");
                        watchStatus1.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watchStatus1.setName("watchStatus1");
                        watchStatus1.setVisible(false);
                        watchListPanel.add(watchStatus1, CC.xy(3, 1, CC.LEFT, CC.DEFAULT));

                        //---- watch2 ----
                        watch2.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watch2.setName("watch2");
                        watch2.setVisible(false);
                        watchListPanel.add(watch2, CC.xy(1, 3));

                        //---- watchStatus2 ----
                        watchStatus2.setText("-");
                        watchStatus2.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watchStatus2.setName("watchStatus2");
                        watchStatus2.setVisible(false);
                        watchListPanel.add(watchStatus2, CC.xy(3, 3, CC.LEFT, CC.DEFAULT));

                        //---- watch3 ----
                        watch3.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watch3.setName("watch3");
                        watch3.setVisible(false);
                        watchListPanel.add(watch3, CC.xy(1, 5));

                        //---- watchStatus3 ----
                        watchStatus3.setText("-");
                        watchStatus3.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watchStatus3.setName("watchStatus3");
                        watchStatus3.setVisible(false);
                        watchListPanel.add(watchStatus3, CC.xy(3, 5, CC.LEFT, CC.DEFAULT));

                        //---- watch4 ----
                        watch4.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watch4.setName("watch4");
                        watch4.setVisible(false);
                        watchListPanel.add(watch4, CC.xy(1, 7));

                        //---- watchStatus4 ----
                        watchStatus4.setText("-");
                        watchStatus4.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watchStatus4.setName("watchStatus4");
                        watchStatus4.setVisible(false);
                        watchListPanel.add(watchStatus4, CC.xy(3, 7, CC.LEFT, CC.DEFAULT));

                        //---- watch5 ----
                        watch5.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watch5.setName("watch5");
                        watch5.setVisible(false);
                        watchListPanel.add(watch5, CC.xy(1, 9));

                        //---- watchStatus5 ----
                        watchStatus5.setText("-");
                        watchStatus5.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        watchStatus5.setName("watchStatus5");
                        watchStatus5.setVisible(false);
                        watchListPanel.add(watchStatus5, CC.xy(3, 9, CC.LEFT, CC.DEFAULT));
                    }
                    watchPanel.add(watchListPanel,
                            new CellConstraints(1, 4, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 4, 0, 0)));
                }
                rightPanel.add(watchPanel, CC.xy(1, 15));
            }
            mainPanel.add(rightPanel, CC.xy(3, 1, CC.DEFAULT, CC.TOP));
        }
        panel1.add(mainPanel, new CellConstraints(1, 2, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(5, 5, 0, 0)));

        //======== statusLineContainer ========
        {
            statusLineContainer.setName("statusLineContainer");
            statusLineContainer.setBorder(new MatteBorder(1, 0, 0, 0, Color.black));
            statusLineContainer.setBackground(new Color(204, 204, 204));
            statusLineContainer.setPreferredSize(new Dimension(277, 60));
            statusLineContainer.setLayout(new FormLayout("144dlu:grow", "top:33dlu"));

            //======== statusLinePanel ========
            {
                statusLinePanel.setName("statusLinePanel");
                statusLinePanel.setBackground(new Color(204, 204, 204));
                statusLinePanel.setLayout(
                        new FormLayout("75dlu:grow, right:20dlu:grow", "bottom:default:grow, $nlgap, default"));

                //---- consoleOutputLabel ----
                consoleOutputLabel.setText("Please log in.");
                consoleOutputLabel.setName("consoleOutput");
                consoleOutputLabel.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
                statusLinePanel.add(consoleOutputLabel,
                        new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

                //======== nextVisitPanel ========
                {
                    nextVisitPanel.setName("nextVisitPanel");
                    nextVisitPanel.setBackground(new Color(204, 204, 204));
                    nextVisitPanel.setLayout(
                            new FormLayout("left:30dlu:grow, $rgap, left:14dlu", "bottom:default:grow"));

                    //---- label16 ----
                    label16.setText("Next visit:");
                    label16.setName("nextVisit");
                    label16.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
                    nextVisitPanel.add(label16, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

                    //---- nextVisitLabel ----
                    nextVisitLabel.setText("-");
                    nextVisitLabel.setName("nextVisit");
                    nextVisitPanel.add(nextVisitLabel, CC.xy(3, 1, CC.LEFT, CC.DEFAULT));
                }
                statusLinePanel.add(nextVisitPanel, CC.xy(2, 1, CC.RIGHT, CC.DEFAULT));

                //======== panel2 ========
                {
                    panel2.setBackground(new Color(204, 204, 204));
                    panel2.setLayout(new FormLayout("28dlu, $lcgap, center:11dlu:grow", "default"));

                    //---- label3 ----
                    label3.setText("Visitors:");
                    label3.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
                    panel2.add(label3, CC.xy(1, 1));

                    //---- visitorCountLabel ----
                    visitorCountLabel.setText("-");
                    visitorCountLabel.setName("visitorCount");
                    visitorCountLabel.setFont(new Font("Lucida Grande", Font.ITALIC, 12));
                    panel2.add(visitorCountLabel, CC.xy(3, 1, CC.LEFT, CC.DEFAULT));
                }
                statusLinePanel.add(panel2,
                        new CellConstraints(1, 3, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(0, 5, 0, 0)));
            }
            statusLineContainer.add(statusLinePanel, CC.xy(1, 1));
        }
        panel1.add(statusLineContainer, CC.xy(1, 3));
    }
    contentPane.add(panel1, CC.xy(1, 1));
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:SearchPreferencesView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    scrollPane1 = new JScrollPane();
    panel1 = new JPanel();
    leftPanel = new JPanel();
    leftInnerPanel = new JPanel();
    orientationContainer = new JPanel();
    label1 = new JLabel();
    orientationCombo = new JComboBox<>();
    radiusContainer = new JPanel();
    label2 = new JLabel();
    radiusCombo = new JComboBox<>();
    lastOnlineContainer = new JPanel();
    label3 = new JLabel();
    lastOnlineCombo = new JComboBox<>();
    panel20 = new JPanel();
    label4 = new JLabel();
    agePanel = new JPanel();
    minAgeText = new JTextField();
    label5 = new JLabel();
    maxAgeText = new JTextField();
    orderByContainer = new JPanel();
    label6 = new JLabel();
    orderByCombo = new JComboBox<>();
    visitsContainer = new JPanel();
    label40 = new JLabel();
    runVisitsText = new JTextField();
    autohideCheckBox = new JCheckBox();
    visitDelayContainer = new JPanel();
    label42 = new JLabel();
    visitDelayText = new JTextField();
    autoDeleteInboxCheckBox = new JCheckBox();
    heightContainer = new JPanel();
    label25 = new JLabel();
    heightPanel = new JPanel();
    minHeightCombo = new JComboBox<>();
    label26 = new JLabel();
    maxHeightCombo = new JComboBox<>();
    separator1 = new JSeparator();
    ethnicityContainer = new JPanel();
    label38 = new JLabel();
    ethnicitySelectionPanel = new JPanel();
    whiteCheckBox = new JCheckBox();
    asianCheckBox = new JCheckBox();
    blackCheckBox = new JCheckBox();
    hispanicCheckBox = new JCheckBox();
    indianCheckBox = new JCheckBox();
    middleEasternCheckBox = new JCheckBox();
    nativeAmericanCheckBox = new JCheckBox();
    pacificIslanderCheckBox = new JCheckBox();
    otherEthnicityCheckBox = new JCheckBox();
    bodyTypeContainer = new JPanel();
    label36 = new JLabel();
    bodyTypeSelectionPanel = new JPanel();
    thinCheckbox = new JCheckBox();
    fitCheckbox = new JCheckBox();
    averageBodyCheckbox = new JCheckBox();
    curvyCheckbox = new JCheckBox();
    jackedCheckbox = new JCheckBox();
    fullFiguredCheckbox = new JCheckBox();
    aLittleExtraCheckbox = new JCheckBox();
    overweightCheckbox = new JCheckBox();
    attractivenessContainer = new JPanel();
    label35 = new JLabel();
    attractivenessSelectionPanel = new JPanel();
    averageAttractivenessCheckbox = new JCheckBox();
    aboveAverageCheckbox = new JCheckBox();
    hotCheckbox = new JCheckBox();
    religionContainer = new JPanel();
    label24 = new JLabel();
    religionSelectionPanel = new JPanel();
    agnosticismCheckBox = new JCheckBox();
    atheismCheckBox = new JCheckBox();
    buddhismCheckBox = new JCheckBox();
    catholicismCheckBox = new JCheckBox();
    christianityCheckBox = new JCheckBox();
    hinduismCheckBox = new JCheckBox();
    judaismCheckBox = new JCheckBox();
    islamCheckBox = new JCheckBox();
    otherReligionCheckBox = new JCheckBox();
    childrenContainer = new JPanel();
    label32 = new JLabel();
    mainChildrenPanel = new JPanel();
    subChildrenPanel1 = new JPanel();
    wantsCheckBox = new JCheckBox();
    mightWantCheckBox = new JCheckBox();
    doesntWantCheckBox = new JCheckBox();
    separator3 = new JSeparator();
    subChildrenPanel2 = new JPanel();
    hasKidsCheckBox = new JCheckBox();
    doesnthaveCheckBox = new JCheckBox();
    rightPanel = new JPanel();
    advancedFiltersPanel = new JPanel();
    label8 = new JLabel();
    label9 = new JLabel();
    label10 = new JLabel();
    label11 = new JLabel();
    aggressivenessDegCombo = new JComboBox<>();
    aggressivenessImpCombo = new JComboBox<>();
    label12 = new JLabel();
    athleticismDegCombo = new JComboBox<>();
    athleticismImpCombo = new JComboBox<>();
    label13 = new JLabel();
    cockinessDegCombo = new JComboBox<>();
    cockinessImpCombo = new JComboBox<>();
    label14 = new JLabel();
    dorkinessDegCombo = new JComboBox<>();
    dorkinessImpCombo = new JComboBox<>();
    label15 = new JLabel();
    independenceDegCombo = new JComboBox<>();
    independenceImpCombo = new JComboBox<>();
    label16 = new JLabel();
    indieDegCombo = new JComboBox<>();
    indieImpCombo = new JComboBox<>();
    label17 = new JLabel();
    introversionDegCombo = new JComboBox<>();
    introversionImpCombo = new JComboBox<>();
    label18 = new JLabel();
    oldFashinednessDegCombo = new JComboBox<>();
    oldFashinednessImpCombo = new JComboBox<>();
    label19 = new JLabel();
    planningDegCombo = new JComboBox<>();
    planningImpCombo = new JComboBox<>();
    label20 = new JLabel();
    politicalDegCombo = new JComboBox<>();
    politicalImpCombo = new JComboBox<>();
    label21 = new JLabel();
    sexualExperienceDegCombo = new JComboBox<>();
    sexualExperienceImpCombo = new JComboBox<>();
    label22 = new JLabel();
    sociallyFreeDegCombo = new JComboBox<>();
    sociallyFreeImpCombo = new JComboBox<>();
    label23 = new JLabel();
    spiritualityDegCombo = new JComboBox<>();
    spiritualityImpCombo = new JComboBox<>();
    educationContainer = new JPanel();
    label33 = new JLabel();
    educationSelectionPanel = new JPanel();
    highschoolCheckBox = new JCheckBox();
    twoyearCollegeCheckBox = new JCheckBox();
    universityCheckBox = new JCheckBox();
    postGradCheckBox = new JCheckBox();
    smokesContainer = new JPanel();
    label27 = new JLabel();
    smokesSelectionPanel = new JPanel();
    yesCheckBox = new JCheckBox();
    noCheckBox = new JCheckBox();
    whenDrinkingCheckBox = new JCheckBox();
    sometimesSmokesCheckBox = new JCheckBox();
    tryingToQuitCheckBox = new JCheckBox();
    drinksContainer = new JPanel();
    label28 = new JLabel();
    drinksSelectionPanel = new JPanel();
    sociallyCheckBox = new JCheckBox();
    oftenDrinksCheckBox = new JCheckBox();
    rarelyCheckBox = new JCheckBox();
    notAtAllCheckBox = new JCheckBox();
    desperatelyCheckBox = new JCheckBox();
    veryOftenCheckBox = new JCheckBox();
    drugsContainer = new JPanel();
    label29 = new JLabel();
    drugsSelectionPanel = new JPanel();
    everCheckBox = new JCheckBox();
    sometimesDrugsCheckBox = new JCheckBox();
    oftenDrugsCheckBox = new JCheckBox();
    buttonPanel = new JPanel();
    closeButton = new JButton();
    resetButton = new JButton();
    applyButton = new JButton();

    //======== this ========
    setTitle("Search Settings");
    addWindowListener(new WindowAdapter() {
        @Override// w  w  w .  j a  va  2  s . c o m
        public void windowOpened(WindowEvent e) {
            thisWindowOpened(e);
        }
    });
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("337dlu", "467dlu"));

    //======== scrollPane1 ========
    {
        scrollPane1.setMinimumSize(new Dimension(23, 780));
        scrollPane1.setPreferredSize(new Dimension(619, 759));

        //======== panel1 ========
        {
            panel1.setPreferredSize(new Dimension(600, 746));
            panel1.setName("panel1");
            panel1.setLayout(new FormLayout("165dlu, left:166dlu", "top:442dlu, $lgap, default:grow"));

            //======== leftPanel ========
            {
                leftPanel.setName("leftPanel");
                leftPanel.setPreferredSize(new Dimension(297, 1000));
                leftPanel.setLayout(new FormLayout("163dlu", "top:min"));

                //======== leftInnerPanel ========
                {
                    leftInnerPanel.setPreferredSize(new Dimension(3245, 800));
                    leftInnerPanel.setName("leftInnerPanel");
                    leftInnerPanel.setLayout(new FormLayout("left:155dlu",
                            "7*(default, $lgap), default, 13dlu, 4*(default, $lgap), default"));

                    //======== orientationContainer ========
                    {
                        orientationContainer.setName("orientationContainer");
                        orientationContainer.setLayout(new FormLayout("default, $lcgap, 101dlu", "default"));

                        //---- label1 ----
                        label1.setText("Search for:");
                        label1.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        orientationContainer.add(label1, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- orientationCombo ----
                        orientationCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        orientationCombo.setModel(new DefaultComboBoxModel<>(
                                new String[] { "men who like women", "women who like men" }));
                        orientationCombo.setName("orientation");
                        orientationContainer.add(orientationCombo, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(orientationContainer, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                    //======== radiusContainer ========
                    {
                        radiusContainer.setName("radiusContainer");
                        radiusContainer.setLayout(new FormLayout("default, $lcgap, 72dlu", "default"));

                        //---- label2 ----
                        label2.setText("Radius:");
                        label2.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        radiusContainer.add(label2, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- radiusCombo ----
                        radiusCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        radiusCombo.setModel(new DefaultComboBoxModel<>(
                                new String[] { "Anywhere", "5", "10", "25", "50", "100", "250", "500" }));
                        radiusCombo.setPreferredSize(new Dimension(150, 27));
                        radiusCombo.setName("radius");
                        radiusContainer.add(radiusCombo, CC.xy(3, 1, CC.LEFT, CC.DEFAULT));
                    }
                    leftInnerPanel.add(radiusContainer, CC.xy(1, 3, CC.CENTER, CC.DEFAULT));

                    //======== lastOnlineContainer ========
                    {
                        lastOnlineContainer.setName("lastOnlineContainer");
                        lastOnlineContainer.setLayout(new FormLayout("default, $lcgap, 82dlu", "default"));

                        //---- label3 ----
                        label3.setText("Last online:");
                        label3.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        lastOnlineContainer.add(label3, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- lastOnlineCombo ----
                        lastOnlineCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        lastOnlineCombo.setModel(new DefaultComboBoxModel<>(new String[] { "online now",
                                "past day", "past week", "past month", "past year" }));
                        lastOnlineCombo.setName("last_login");
                        lastOnlineContainer.add(lastOnlineCombo, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(lastOnlineContainer, CC.xy(1, 5, CC.CENTER, CC.DEFAULT));

                    //======== panel20 ========
                    {
                        panel20.setLayout(new FormLayout("default, $lcgap, 101dlu", "default"));

                        //---- label4 ----
                        label4.setText("Ages:");
                        label4.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        panel20.add(label4, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //======== agePanel ========
                        {
                            agePanel.setName("agePanel");
                            agePanel.setLayout(new FormLayout("3*(default)", "default"));

                            //---- minAgeText ----
                            minAgeText.setPreferredSize(new Dimension(50, 28));
                            minAgeText.setText("18");
                            minAgeText.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                            minAgeText.setName("minimum_age");
                            agePanel.add(minAgeText, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

                            //---- label5 ----
                            label5.setText("-");
                            agePanel.add(label5, CC.xy(2, 1, CC.CENTER, CC.CENTER));

                            //---- maxAgeText ----
                            maxAgeText.setPreferredSize(new Dimension(50, 28));
                            maxAgeText.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                            maxAgeText.setName("maximum_age");
                            maxAgeText.setText("99");
                            agePanel.add(maxAgeText, CC.xy(3, 1));
                        }
                        panel20.add(agePanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(panel20, CC.xy(1, 7, CC.RIGHT, CC.DEFAULT));

                    //======== orderByContainer ========
                    {
                        orderByContainer.setName("orderByContainer");
                        orderByContainer.setLayout(new FormLayout("default, $lcgap, 101dlu", "default"));

                        //---- label6 ----
                        label6.setText("Sort by:");
                        label6.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        orderByContainer.add(label6, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- orderByCombo ----
                        orderByCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        orderByCombo.setModel(new DefaultComboBoxModel<>(
                                new String[] { "Login", "Join", "Match", "Match and Login",
                                        "Match and Distance", "Enemy", "Special blend", "Random" }));
                        orderByCombo.setPreferredSize(new Dimension(150, 27));
                        orderByCombo.setName("order_by");
                        orderByContainer.add(orderByCombo, CC.xy(3, 1, CC.LEFT, CC.DEFAULT));
                    }
                    leftInnerPanel.add(orderByContainer, CC.xy(1, 9, CC.RIGHT, CC.DEFAULT));

                    //======== visitsContainer ========
                    {
                        visitsContainer.setName("visitsContainer");
                        visitsContainer.setLayout(
                                new FormLayout("44dlu, $lcgap, left:28dlu, $lcgap, 72dlu", "default"));

                        //---- label40 ----
                        label40.setText("# Visits:");
                        label40.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        visitsContainer.add(label40, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- runVisitsText ----
                        runVisitsText.setPreferredSize(new Dimension(50, 28));
                        runVisitsText.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        runVisitsText.setName("limit");
                        runVisitsText.setText("50");
                        visitsContainer.add(runVisitsText, CC.xy(3, 1));

                        //---- autohideCheckBox ----
                        autohideCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        autohideCheckBox.setName("autoHide");
                        autohideCheckBox.setText("Auto-Hide");
                        visitsContainer.add(autohideCheckBox, CC.xy(5, 1, CC.LEFT, CC.DEFAULT));
                    }
                    leftInnerPanel.add(visitsContainer, CC.xy(1, 11, CC.RIGHT, CC.DEFAULT));

                    //======== visitDelayContainer ========
                    {
                        visitDelayContainer.setName("visitDelayContainer");
                        visitDelayContainer.setLayout(
                                new FormLayout("default, $lcgap, left:28dlu, $lcgap, 72dlu", "default"));

                        //---- label42 ----
                        label42.setText("Visit Delay:");
                        label42.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        visitDelayContainer.add(label42, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- visitDelayText ----
                        visitDelayText.setPreferredSize(new Dimension(50, 28));
                        visitDelayText.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        visitDelayText.setText("10.5");
                        visitDelayText.setName("visitDelay");
                        visitDelayContainer.add(visitDelayText, CC.xy(3, 1));

                        //---- autoDeleteInboxCheckBox ----
                        autoDeleteInboxCheckBox.setText("Auto-delete inbox");
                        autoDeleteInboxCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        autoDeleteInboxCheckBox.setName("autoDeleteInbox");
                        visitDelayContainer.add(autoDeleteInboxCheckBox, CC.xy(5, 1, CC.FILL, CC.DEFAULT));
                    }
                    leftInnerPanel.add(visitDelayContainer, CC.xy(1, 13, CC.RIGHT, CC.DEFAULT));

                    //======== heightContainer ========
                    {
                        heightContainer.setName("heightContainer");
                        heightContainer.setLayout(new FormLayout("default, $lcgap, 101dlu", "default"));

                        //---- label25 ----
                        label25.setText("Height:");
                        label25.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        heightContainer.add(label25, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //======== heightPanel ========
                        {
                            heightPanel.setPreferredSize(new Dimension(158, 25));
                            heightPanel.setName("heightPanel");
                            heightPanel
                                    .setLayout(new FormLayout("default, center:default, default", "default"));

                            //---- minHeightCombo ----
                            minHeightCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                            minHeightCombo.setPreferredSize(new Dimension(75, 28));
                            minHeightCombo.setModel(new DefaultComboBoxModel<>(new String[] { "5'0\"", "5'1\"",
                                    "5'2\"", "5'3\"", "5'4\"", "5'5\"", "5'6\"", "5'7\"", "5'8\"", "5'9\"",
                                    "5'10\"", "5'11\"", "6'0\"", "6'1\"", "6'2\"", "6'3\"", "6'4\"" }));
                            minHeightCombo.setName("minimum_height");
                            heightPanel.add(minHeightCombo, CC.xy(1, 1));

                            //---- label26 ----
                            label26.setText("-");
                            heightPanel.add(label26, CC.xy(2, 1, CC.CENTER, CC.CENTER));

                            //---- maxHeightCombo ----
                            maxHeightCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                            maxHeightCombo.setPreferredSize(new Dimension(75, 28));
                            maxHeightCombo.setModel(new DefaultComboBoxModel<>(new String[] { "6'4\"", "6'3\"",
                                    "6'2\"", "6'1\"", "6'0\"", "5'11\"", "5'10\"", "5'9\"", "5'8\"", "5'7\"",
                                    "5'6\"", "5'5\"", "5'4\"", "5'3\"", "5'2\"", "5'1\"", "5'0\"" }));
                            maxHeightCombo.setName("maximum_height");
                            heightPanel.add(maxHeightCombo, CC.xy(3, 1));
                        }
                        heightContainer.add(heightPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(heightContainer, CC.xy(1, 15, CC.RIGHT, CC.DEFAULT));

                    //---- separator1 ----
                    separator1.setForeground(Color.black);
                    leftInnerPanel.add(separator1, CC.xy(1, 16, CC.FILL, CC.DEFAULT));

                    //======== ethnicityContainer ========
                    {
                        ethnicityContainer.setName("ethnicityContainer");
                        ethnicityContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        ethnicityContainer.setLayout(new FormLayout("33dlu, $lcgap, 120dlu", "default"));

                        //---- label38 ----
                        label38.setText("Ethnicity:");
                        label38.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        ethnicityContainer.add(label38,
                                new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== ethnicitySelectionPanel ========
                        {
                            ethnicitySelectionPanel.setName("ethnicitySelectionPanel");
                            ethnicitySelectionPanel
                                    .setLayout(new FormLayout("default, $lcgap, default", "5*(default)"));

                            //---- whiteCheckBox ----
                            whiteCheckBox.setText("White");
                            whiteCheckBox.setName("white");
                            whiteCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            ethnicitySelectionPanel.add(whiteCheckBox, CC.xy(1, 1));

                            //---- asianCheckBox ----
                            asianCheckBox.setText("Asian");
                            asianCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            asianCheckBox.setName("asian");
                            ethnicitySelectionPanel.add(asianCheckBox, CC.xy(3, 1));

                            //---- blackCheckBox ----
                            blackCheckBox.setText("Black");
                            blackCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            blackCheckBox.setName("black");
                            ethnicitySelectionPanel.add(blackCheckBox, CC.xy(1, 2));

                            //---- hispanicCheckBox ----
                            hispanicCheckBox.setText("Hispanic");
                            hispanicCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            hispanicCheckBox.setName("hispanic_latin");
                            ethnicitySelectionPanel.add(hispanicCheckBox, CC.xy(3, 2));

                            //---- indianCheckBox ----
                            indianCheckBox.setText("Indian");
                            indianCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            indianCheckBox.setName("indian");
                            ethnicitySelectionPanel.add(indianCheckBox, CC.xy(1, 3));

                            //---- middleEasternCheckBox ----
                            middleEasternCheckBox.setText("Middle-Eastern");
                            middleEasternCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            middleEasternCheckBox.setName("middle_eastern");
                            ethnicitySelectionPanel.add(middleEasternCheckBox, CC.xy(3, 3));

                            //---- nativeAmericanCheckBox ----
                            nativeAmericanCheckBox.setText("Native American");
                            nativeAmericanCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            nativeAmericanCheckBox.setName("native_american");
                            ethnicitySelectionPanel.add(nativeAmericanCheckBox, CC.xy(1, 4));

                            //---- pacificIslanderCheckBox ----
                            pacificIslanderCheckBox.setText("Pacific Islander");
                            pacificIslanderCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            pacificIslanderCheckBox.setName("pacific_islander");
                            ethnicitySelectionPanel.add(pacificIslanderCheckBox, CC.xy(3, 4));

                            //---- otherEthnicityCheckBox ----
                            otherEthnicityCheckBox.setText("Other");
                            otherEthnicityCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            otherEthnicityCheckBox.setName("other_ethnicity");
                            ethnicitySelectionPanel.add(otherEthnicityCheckBox, CC.xy(1, 5));
                        }
                        ethnicityContainer.add(ethnicitySelectionPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(ethnicityContainer, CC.xy(1, 17));

                    //======== bodyTypeContainer ========
                    {
                        bodyTypeContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        bodyTypeContainer.setName("bodyTypeContainer");
                        bodyTypeContainer
                                .setLayout(new FormLayout("48dlu, $lcgap, left:105dlu", "default:grow"));

                        //---- label36 ----
                        label36.setText("Body Type:");
                        label36.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        bodyTypeContainer.add(label36,
                                new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== bodyTypeSelectionPanel ========
                        {
                            bodyTypeSelectionPanel.setName("bodyTypeSelectionPanel");
                            bodyTypeSelectionPanel.setLayout(new FormLayout("54dlu:grow, $lcgap, default",
                                    "3*(default, $lgap), default"));

                            //---- thinCheckbox ----
                            thinCheckbox.setText("Thin");
                            thinCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            thinCheckbox.setName("thin");
                            bodyTypeSelectionPanel.add(thinCheckbox, CC.xy(1, 1));

                            //---- fitCheckbox ----
                            fitCheckbox.setText("Fit");
                            fitCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            fitCheckbox.setName("fit");
                            bodyTypeSelectionPanel.add(fitCheckbox, CC.xy(3, 1));

                            //---- averageBodyCheckbox ----
                            averageBodyCheckbox.setText("Average");
                            averageBodyCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            averageBodyCheckbox.setPreferredSize(new Dimension(72, 20));
                            averageBodyCheckbox.setName("averageBody");
                            bodyTypeSelectionPanel.add(averageBodyCheckbox, CC.xy(1, 3));

                            //---- curvyCheckbox ----
                            curvyCheckbox.setText("Curvy");
                            curvyCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            curvyCheckbox.setName("curvy");
                            bodyTypeSelectionPanel.add(curvyCheckbox, CC.xy(3, 3));

                            //---- jackedCheckbox ----
                            jackedCheckbox.setText("Jacked");
                            jackedCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            jackedCheckbox.setName("jacked");
                            bodyTypeSelectionPanel.add(jackedCheckbox, CC.xy(1, 5));

                            //---- fullFiguredCheckbox ----
                            fullFiguredCheckbox.setText("Full figured");
                            fullFiguredCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            fullFiguredCheckbox.setName("fullFigured");
                            bodyTypeSelectionPanel.add(fullFiguredCheckbox, CC.xy(3, 5));

                            //---- aLittleExtraCheckbox ----
                            aLittleExtraCheckbox.setText("A little extra");
                            aLittleExtraCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            aLittleExtraCheckbox.setName("aLittleExtra");
                            bodyTypeSelectionPanel.add(aLittleExtraCheckbox, CC.xy(1, 7));

                            //---- overweightCheckbox ----
                            overweightCheckbox.setText("Overweight");
                            overweightCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            overweightCheckbox.setName("overweight");
                            bodyTypeSelectionPanel.add(overweightCheckbox, CC.xy(3, 7));
                        }
                        bodyTypeContainer.add(bodyTypeSelectionPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(bodyTypeContainer, CC.xy(1, 19));

                    //======== attractivenessContainer ========
                    {
                        attractivenessContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        attractivenessContainer.setName("attractivenessContainer");
                        attractivenessContainer
                                .setLayout(new FormLayout("right:48dlu, $lcgap, 105dlu", "default"));

                        //---- label35 ----
                        label35.setText("Attractiveness:");
                        label35.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        attractivenessContainer.add(label35,
                                new CellConstraints(1, 1, 1, 1, CC.LEFT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== attractivenessSelectionPanel ========
                        {
                            attractivenessSelectionPanel.setName("attractivenessSelectionPanel");
                            attractivenessSelectionPanel
                                    .setLayout(new FormLayout("default, 67dlu", "default, $lgap, default"));

                            //---- averageAttractivenessCheckbox ----
                            averageAttractivenessCheckbox.setText("Average");
                            averageAttractivenessCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            averageAttractivenessCheckbox.setName("averageAttractiveness");
                            attractivenessSelectionPanel.add(averageAttractivenessCheckbox, CC.xy(1, 1));

                            //---- aboveAverageCheckbox ----
                            aboveAverageCheckbox.setText("Above Average");
                            aboveAverageCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            aboveAverageCheckbox.setName("aboveAverage");
                            attractivenessSelectionPanel.add(aboveAverageCheckbox, CC.xy(2, 1));

                            //---- hotCheckbox ----
                            hotCheckbox.setText("Hot");
                            hotCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            hotCheckbox.setName("hot");
                            attractivenessSelectionPanel.add(hotCheckbox, CC.xy(1, 3));
                        }
                        attractivenessContainer.add(attractivenessSelectionPanel,
                                CC.xy(3, 1, CC.RIGHT, CC.DEFAULT));
                    }
                    leftInnerPanel.add(attractivenessContainer, CC.xy(1, 21));

                    //======== religionContainer ========
                    {
                        religionContainer.setName("religionContainer");
                        religionContainer.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        religionContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        religionContainer.setLayout(new FormLayout("48dlu, $lcgap, 105dlu", "default"));

                        //---- label24 ----
                        label24.setText("Religion:");
                        label24.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        religionContainer.add(label24,
                                new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== religionSelectionPanel ========
                        {
                            religionSelectionPanel.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            religionSelectionPanel.setLayout(
                                    new FormLayout("default, $lcgap, default", "4*(default, $lgap), default"));

                            //---- agnosticismCheckBox ----
                            agnosticismCheckBox.setText("Agnosticism");
                            agnosticismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            agnosticismCheckBox.setName("agnosticism");
                            religionSelectionPanel.add(agnosticismCheckBox, CC.xy(1, 1));

                            //---- atheismCheckBox ----
                            atheismCheckBox.setText("Atheism");
                            atheismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            atheismCheckBox.setName("atheism");
                            religionSelectionPanel.add(atheismCheckBox, CC.xy(3, 1));

                            //---- buddhismCheckBox ----
                            buddhismCheckBox.setText("Buddhism");
                            buddhismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            buddhismCheckBox.setName("buddhism");
                            religionSelectionPanel.add(buddhismCheckBox, CC.xy(1, 3));

                            //---- catholicismCheckBox ----
                            catholicismCheckBox.setText("Catholicism");
                            catholicismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            catholicismCheckBox.setName("catholicism");
                            religionSelectionPanel.add(catholicismCheckBox, CC.xy(3, 3));

                            //---- christianityCheckBox ----
                            christianityCheckBox.setText("Christianity");
                            christianityCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            christianityCheckBox.setName("christianity");
                            religionSelectionPanel.add(christianityCheckBox, CC.xy(1, 5));

                            //---- hinduismCheckBox ----
                            hinduismCheckBox.setText("Hinduism");
                            hinduismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            hinduismCheckBox.setName("hinduism");
                            religionSelectionPanel.add(hinduismCheckBox, CC.xy(3, 5));

                            //---- judaismCheckBox ----
                            judaismCheckBox.setText("Judaism");
                            judaismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            judaismCheckBox.setName("judaism");
                            religionSelectionPanel.add(judaismCheckBox, CC.xy(1, 7));

                            //---- islamCheckBox ----
                            islamCheckBox.setText("Islam");
                            islamCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            islamCheckBox.setName("islam");
                            religionSelectionPanel.add(islamCheckBox, CC.xy(3, 7));

                            //---- otherReligionCheckBox ----
                            otherReligionCheckBox.setText("Other");
                            otherReligionCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            otherReligionCheckBox.setName("other_religion");
                            religionSelectionPanel.add(otherReligionCheckBox, CC.xy(1, 9));
                        }
                        religionContainer.add(religionSelectionPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(religionContainer, CC.xy(1, 23));

                    //======== childrenContainer ========
                    {
                        childrenContainer.setName("childrenContainer");
                        childrenContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        childrenContainer.setVisible(false);
                        childrenContainer.setLayout(new FormLayout("48dlu, $lcgap, 105dlu", "default"));

                        //---- label32 ----
                        label32.setText("Children:");
                        label32.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        childrenContainer.add(label32,
                                new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== mainChildrenPanel ========
                        {
                            mainChildrenPanel.setName("mainChildrenPanel");
                            mainChildrenPanel.setLayout(new FormLayout("default", "default, 5dlu, default"));

                            //======== subChildrenPanel1 ========
                            {
                                subChildrenPanel1.setName("subChildrenPanel1");
                                subChildrenPanel1.setLayout(
                                        new FormLayout("50dlu, $lcgap, default", "default, $lgap, default"));

                                //---- wantsCheckBox ----
                                wantsCheckBox.setText("Wants kids");
                                wantsCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                wantsCheckBox.setName("wants_kids");
                                subChildrenPanel1.add(wantsCheckBox, CC.xy(1, 1));

                                //---- mightWantCheckBox ----
                                mightWantCheckBox.setText("Might want");
                                mightWantCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                mightWantCheckBox.setName("might_want");
                                subChildrenPanel1.add(mightWantCheckBox, CC.xy(3, 1));

                                //---- doesntWantCheckBox ----
                                doesntWantCheckBox.setText("Doesn't want");
                                doesntWantCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                doesntWantCheckBox.setName("doesnt_want");
                                subChildrenPanel1.add(doesntWantCheckBox, CC.xy(1, 3, CC.LEFT, CC.DEFAULT));
                            }
                            mainChildrenPanel.add(subChildrenPanel1, CC.xy(1, 1));

                            //---- separator3 ----
                            separator3.setForeground(Color.black);
                            mainChildrenPanel.add(separator3, CC.xy(1, 2));

                            //======== subChildrenPanel2 ========
                            {
                                subChildrenPanel2.setName("subChildrenPanel2");
                                subChildrenPanel2
                                        .setLayout(new FormLayout("41dlu, $lcgap, default", "default"));

                                //---- hasKidsCheckBox ----
                                hasKidsCheckBox.setText("Has kids");
                                hasKidsCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                hasKidsCheckBox.setName("has_kids");
                                hasKidsCheckBox.setBorderPaintedFlat(true);
                                hasKidsCheckBox.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                                subChildrenPanel2.add(hasKidsCheckBox, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

                                //---- doesnthaveCheckBox ----
                                doesnthaveCheckBox.setText("Doesn't have");
                                doesnthaveCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                doesnthaveCheckBox.setName("doesnt_have");
                                doesnthaveCheckBox.setBorderPaintedFlat(true);
                                doesnthaveCheckBox.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                                subChildrenPanel2.add(doesnthaveCheckBox, CC.xy(3, 1));
                            }
                            mainChildrenPanel.add(subChildrenPanel2, CC.xy(1, 3));
                        }
                        childrenContainer.add(mainChildrenPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(childrenContainer, CC.xy(1, 25));
                }
                leftPanel.add(leftInnerPanel, CC.xy(1, 1, CC.LEFT, CC.TOP));
            }
            panel1.add(leftPanel,
                    new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(10, 10, 0, 0)));

            //======== rightPanel ========
            {
                rightPanel.setPreferredSize(new Dimension(344, 1000));
                rightPanel.setLayout(new FormLayout("165dlu", "164dlu, 8dlu, 35dlu, 4*($lgap, default)"));

                //======== advancedFiltersPanel ========
                {
                    advancedFiltersPanel.setPreferredSize(new Dimension(344, 432));
                    advancedFiltersPanel.setMinimumSize(new Dimension(314, 390));
                    advancedFiltersPanel.setName("advancedFiltersPanel");
                    advancedFiltersPanel.setVisible(false);
                    advancedFiltersPanel.setLayout(new FormLayout(
                            "default, $lcgap, left:default, $lcgap, left:55dlu", "13*(pref, $lgap), pref"));

                    //---- label8 ----
                    label8.setText("Personality");
                    advancedFiltersPanel.add(label8, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

                    //---- label9 ----
                    label9.setText("Degree");
                    advancedFiltersPanel.add(label9,
                            new CellConstraints(3, 1, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

                    //---- label10 ----
                    label10.setText("Importance");
                    advancedFiltersPanel.add(label10,
                            new CellConstraints(5, 1, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

                    //---- label11 ----
                    label11.setText("Agressiveness");
                    label11.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label11, CC.xy(1, 3));

                    //---- aggressivenessDegCombo ----
                    aggressivenessDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    aggressivenessDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    aggressivenessDegCombo.setPreferredSize(new Dimension(90, 22));
                    aggressivenessDegCombo.setName("aggressivenessDeg");
                    advancedFiltersPanel.add(aggressivenessDegCombo, CC.xy(3, 3));

                    //---- aggressivenessImpCombo ----
                    aggressivenessImpCombo
                            .setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    aggressivenessImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    aggressivenessImpCombo.setPreferredSize(new Dimension(90, 22));
                    aggressivenessImpCombo.setName("aggressivenessImp");
                    advancedFiltersPanel.add(aggressivenessImpCombo, CC.xy(5, 3));

                    //---- label12 ----
                    label12.setText("Athleticisim");
                    label12.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label12, CC.xy(1, 5));

                    //---- athleticismDegCombo ----
                    athleticismDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    athleticismDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    athleticismDegCombo.setPreferredSize(new Dimension(90, 22));
                    athleticismDegCombo.setName("athleticismDeg");
                    advancedFiltersPanel.add(athleticismDegCombo, CC.xy(3, 5));

                    //---- athleticismImpCombo ----
                    athleticismImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    athleticismImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    athleticismImpCombo.setPreferredSize(new Dimension(90, 22));
                    athleticismImpCombo.setName("athleticismImp");
                    advancedFiltersPanel.add(athleticismImpCombo, CC.xy(5, 5));

                    //---- label13 ----
                    label13.setText("Cockiness");
                    label13.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label13, CC.xy(1, 7));

                    //---- cockinessDegCombo ----
                    cockinessDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    cockinessDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    cockinessDegCombo.setPreferredSize(new Dimension(90, 22));
                    cockinessDegCombo.setName("cockinessDeg");
                    advancedFiltersPanel.add(cockinessDegCombo, CC.xy(3, 7));

                    //---- cockinessImpCombo ----
                    cockinessImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    cockinessImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    cockinessImpCombo.setPreferredSize(new Dimension(90, 22));
                    cockinessImpCombo.setName("cockinessImp");
                    advancedFiltersPanel.add(cockinessImpCombo, CC.xy(5, 7));

                    //---- label14 ----
                    label14.setText("Dorkiness");
                    label14.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label14, CC.xy(1, 9));

                    //---- dorkinessDegCombo ----
                    dorkinessDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    dorkinessDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    dorkinessDegCombo.setPreferredSize(new Dimension(90, 22));
                    dorkinessDegCombo.setName("dorkinessDeg");
                    advancedFiltersPanel.add(dorkinessDegCombo, CC.xy(3, 9));

                    //---- dorkinessImpCombo ----
                    dorkinessImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    dorkinessImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    dorkinessImpCombo.setPreferredSize(new Dimension(90, 22));
                    dorkinessImpCombo.setName("dorkinessImp");
                    advancedFiltersPanel.add(dorkinessImpCombo, CC.xy(5, 9));

                    //---- label15 ----
                    label15.setText("Independence");
                    label15.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label15, CC.xy(1, 11));

                    //---- independenceDegCombo ----
                    independenceDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    independenceDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    independenceDegCombo.setPreferredSize(new Dimension(90, 22));
                    independenceDegCombo.setName("independenceDeg");
                    advancedFiltersPanel.add(independenceDegCombo, CC.xy(3, 11));

                    //---- independenceImpCombo ----
                    independenceImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    independenceImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    independenceImpCombo.setPreferredSize(new Dimension(90, 22));
                    independenceImpCombo.setName("independenceImp");
                    advancedFiltersPanel.add(independenceImpCombo, CC.xy(5, 11));

                    //---- label16 ----
                    label16.setText("Indie");
                    label16.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label16, CC.xy(1, 13));

                    //---- indieDegCombo ----
                    indieDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    indieDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    indieDegCombo.setPreferredSize(new Dimension(90, 22));
                    indieDegCombo.setName("indieDeg");
                    advancedFiltersPanel.add(indieDegCombo, CC.xy(3, 13));

                    //---- indieImpCombo ----
                    indieImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    indieImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    indieImpCombo.setPreferredSize(new Dimension(90, 22));
                    indieImpCombo.setName("indieImp");
                    advancedFiltersPanel.add(indieImpCombo, CC.xy(5, 13));

                    //---- label17 ----
                    label17.setText("Introversion");
                    label17.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label17, CC.xy(1, 15));

                    //---- introversionDegCombo ----
                    introversionDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    introversionDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    introversionDegCombo.setPreferredSize(new Dimension(90, 22));
                    introversionDegCombo.setName("introversionDeg");
                    advancedFiltersPanel.add(introversionDegCombo, CC.xy(3, 15));

                    //---- introversionImpCombo ----
                    introversionImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    introversionImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    introversionImpCombo.setPreferredSize(new Dimension(90, 22));
                    introversionImpCombo.setName("introversionImp");
                    advancedFiltersPanel.add(introversionImpCombo, CC.xy(5, 15));

                    //---- label18 ----
                    label18.setText("Old Fashionedness");
                    label18.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label18, CC.xy(1, 17));

                    //---- oldFashinednessDegCombo ----
                    oldFashinednessDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    oldFashinednessDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    oldFashinednessDegCombo.setPreferredSize(new Dimension(90, 22));
                    oldFashinednessDegCombo.setName("oldFashinednessDeg");
                    advancedFiltersPanel.add(oldFashinednessDegCombo, CC.xy(3, 17));

                    //---- oldFashinednessImpCombo ----
                    oldFashinednessImpCombo
                            .setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    oldFashinednessImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    oldFashinednessImpCombo.setPreferredSize(new Dimension(90, 22));
                    oldFashinednessImpCombo.setName("oldFashinednessImp");
                    advancedFiltersPanel.add(oldFashinednessImpCombo, CC.xy(5, 17));

                    //---- label19 ----
                    label19.setText("Planning");
                    label19.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label19, CC.xy(1, 19));

                    //---- planningDegCombo ----
                    planningDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    planningDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    planningDegCombo.setPreferredSize(new Dimension(90, 22));
                    planningDegCombo.setName("planningDeg");
                    advancedFiltersPanel.add(planningDegCombo, CC.xy(3, 19));

                    //---- planningImpCombo ----
                    planningImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    planningImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    planningImpCombo.setPreferredSize(new Dimension(90, 22));
                    planningImpCombo.setName("planningImp");
                    advancedFiltersPanel.add(planningImpCombo, CC.xy(5, 19));

                    //---- label20 ----
                    label20.setText("Political");
                    label20.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label20, CC.xy(1, 21));

                    //---- politicalDegCombo ----
                    politicalDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    politicalDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    politicalDegCombo.setPreferredSize(new Dimension(90, 22));
                    politicalDegCombo.setName("politicalDeg");
                    advancedFiltersPanel.add(politicalDegCombo, CC.xy(3, 21));

                    //---- politicalImpCombo ----
                    politicalImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    politicalImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    politicalImpCombo.setPreferredSize(new Dimension(90, 22));
                    politicalImpCombo.setName("politicalImp");
                    advancedFiltersPanel.add(politicalImpCombo, CC.xy(5, 21));

                    //---- label21 ----
                    label21.setText("Sexual Experience");
                    label21.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label21, CC.xy(1, 23));

                    //---- sexualExperienceDegCombo ----
                    sexualExperienceDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    sexualExperienceDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    sexualExperienceDegCombo.setPreferredSize(new Dimension(90, 22));
                    sexualExperienceDegCombo.setName("sexualExperienceDeg");
                    advancedFiltersPanel.add(sexualExperienceDegCombo, CC.xy(3, 23));

                    //---- sexualExperienceImpCombo ----
                    sexualExperienceImpCombo
                            .setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    sexualExperienceImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    sexualExperienceImpCombo.setPreferredSize(new Dimension(90, 22));
                    sexualExperienceImpCombo.setName("sexualExperienceImp");
                    advancedFiltersPanel.add(sexualExperienceImpCombo, CC.xy(5, 23));

                    //---- label22 ----
                    label22.setText("Socially Free");
                    label22.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label22, CC.xy(1, 25));

                    //---- sociallyFreeDegCombo ----
                    sociallyFreeDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    sociallyFreeDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    sociallyFreeDegCombo.setPreferredSize(new Dimension(90, 22));
                    sociallyFreeDegCombo.setName("sociallyFreeDeg");
                    advancedFiltersPanel.add(sociallyFreeDegCombo, CC.xy(3, 25));

                    //---- sociallyFreeImpCombo ----
                    sociallyFreeImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    sociallyFreeImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    sociallyFreeImpCombo.setPreferredSize(new Dimension(90, 22));
                    sociallyFreeImpCombo.setName("sociallyFreeImp");
                    advancedFiltersPanel.add(sociallyFreeImpCombo, CC.xy(5, 25));

                    //---- label23 ----
                    label23.setText("Spirituality");
                    label23.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label23, CC.xy(1, 27));

                    //---- spiritualityDegCombo ----
                    spiritualityDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    spiritualityDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    spiritualityDegCombo.setPreferredSize(new Dimension(90, 22));
                    spiritualityDegCombo.setName("spiritualityDeg");
                    advancedFiltersPanel.add(spiritualityDegCombo, CC.xy(3, 27));

                    //---- spiritualityImpCombo ----
                    spiritualityImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    spiritualityImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    spiritualityImpCombo.setPreferredSize(new Dimension(90, 22));
                    spiritualityImpCombo.setName("spiritualityImp");
                    advancedFiltersPanel.add(spiritualityImpCombo, CC.xy(5, 27));
                }
                rightPanel.add(advancedFiltersPanel,
                        new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(10, 0, 0, 0)));

                //======== educationContainer ========
                {
                    educationContainer.setName("educationContainer");
                    educationContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                    educationContainer.setLayout(new FormLayout("37dlu, $lcgap, 101dlu:grow", "default"));

                    //---- label33 ----
                    label33.setText("Education:");
                    label33.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    educationContainer.add(label33,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                    //======== educationSelectionPanel ========
                    {
                        educationSelectionPanel.setName("educationSelectionPanel");
                        educationSelectionPanel.setLayout(
                                new FormLayout("default, $lcgap, default", "default, $lgap, default"));

                        //---- highschoolCheckBox ----
                        highschoolCheckBox.setText("High school");
                        highschoolCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        highschoolCheckBox.setName("high_school");
                        educationSelectionPanel.add(highschoolCheckBox, CC.xy(1, 1));

                        //---- twoyearCollegeCheckBox ----
                        twoyearCollegeCheckBox.setText("2-year college");
                        twoyearCollegeCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        twoyearCollegeCheckBox.setName("two_year_college");
                        educationSelectionPanel.add(twoyearCollegeCheckBox, CC.xy(3, 1));

                        //---- universityCheckBox ----
                        universityCheckBox.setText("University");
                        universityCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        universityCheckBox.setName("college_university");
                        educationSelectionPanel.add(universityCheckBox, CC.xy(1, 3));

                        //---- postGradCheckBox ----
                        postGradCheckBox.setText("Post grad");
                        postGradCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        postGradCheckBox.setName("post_grad");
                        educationSelectionPanel.add(postGradCheckBox, CC.xy(3, 3));
                    }
                    educationContainer.add(educationSelectionPanel, CC.xy(3, 1));
                }
                rightPanel.add(educationContainer, CC.xy(1, 3));

                //======== smokesContainer ========
                {
                    smokesContainer.setName("smokesContainer");
                    smokesContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                    smokesContainer.setLayout(new FormLayout("35dlu, $lcgap, 104dlu", "default"));

                    //---- label27 ----
                    label27.setText("Smokes:");
                    label27.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    smokesContainer.add(label27,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                    //======== smokesSelectionPanel ========
                    {
                        smokesSelectionPanel.setName("smokesSelectionPanel");
                        smokesSelectionPanel.setLayout(
                                new FormLayout("default, $lcgap, default", "2*(default, $lgap), default"));

                        //---- yesCheckBox ----
                        yesCheckBox.setText("Yes");
                        yesCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        yesCheckBox.setName("yes");
                        smokesSelectionPanel.add(yesCheckBox, CC.xy(1, 1));

                        //---- noCheckBox ----
                        noCheckBox.setText("No");
                        noCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        noCheckBox.setName("no");
                        smokesSelectionPanel.add(noCheckBox, CC.xy(3, 1));

                        //---- whenDrinkingCheckBox ----
                        whenDrinkingCheckBox.setText("When drinking");
                        whenDrinkingCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        whenDrinkingCheckBox.setName("when_drinking");
                        smokesSelectionPanel.add(whenDrinkingCheckBox, CC.xy(1, 3));

                        //---- sometimesSmokesCheckBox ----
                        sometimesSmokesCheckBox.setText("Sometimes");
                        sometimesSmokesCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        sometimesSmokesCheckBox.setName("sometimes_smokes");
                        smokesSelectionPanel.add(sometimesSmokesCheckBox, CC.xy(3, 3));

                        //---- tryingToQuitCheckBox ----
                        tryingToQuitCheckBox.setText("Trying to quit");
                        tryingToQuitCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        tryingToQuitCheckBox.setName("trying_to_quit");
                        smokesSelectionPanel.add(tryingToQuitCheckBox, CC.xy(1, 5));
                    }
                    smokesContainer.add(smokesSelectionPanel, CC.xy(3, 1));
                }
                rightPanel.add(smokesContainer, CC.xy(1, 5));

                //======== drinksContainer ========
                {
                    drinksContainer.setName("drinksContainer");
                    drinksContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                    drinksContainer.setVisible(false);
                    drinksContainer.setLayout(new FormLayout("35dlu, $lcgap, 101dlu", "default"));

                    //---- label28 ----
                    label28.setText("Drinks:");
                    label28.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    drinksContainer.add(label28,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                    //======== drinksSelectionPanel ========
                    {
                        drinksSelectionPanel.setName("drinksSelectionPanel");
                        drinksSelectionPanel.setLayout(
                                new FormLayout("default, $lcgap, default", "2*(default, $lgap), default"));

                        //---- sociallyCheckBox ----
                        sociallyCheckBox.setText("Socially");
                        sociallyCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        sociallyCheckBox.setName("socially");
                        drinksSelectionPanel.add(sociallyCheckBox, CC.xy(1, 1));

                        //---- oftenDrinksCheckBox ----
                        oftenDrinksCheckBox.setText("Often");
                        oftenDrinksCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        oftenDrinksCheckBox.setName("often_drinks");
                        drinksSelectionPanel.add(oftenDrinksCheckBox, CC.xy(3, 1));

                        //---- rarelyCheckBox ----
                        rarelyCheckBox.setText("Rarely");
                        rarelyCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        rarelyCheckBox.setName("rarely");
                        drinksSelectionPanel.add(rarelyCheckBox, CC.xy(1, 3));

                        //---- notAtAllCheckBox ----
                        notAtAllCheckBox.setText("Not at all");
                        notAtAllCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        notAtAllCheckBox.setName("not_at_all");
                        drinksSelectionPanel.add(notAtAllCheckBox, CC.xy(3, 3));

                        //---- desperatelyCheckBox ----
                        desperatelyCheckBox.setText("Desperately");
                        desperatelyCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        desperatelyCheckBox.setName("desperately");
                        drinksSelectionPanel.add(desperatelyCheckBox, CC.xy(1, 5));

                        //---- veryOftenCheckBox ----
                        veryOftenCheckBox.setText("Very often");
                        veryOftenCheckBox.setName("very_often");
                        veryOftenCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        drinksSelectionPanel.add(veryOftenCheckBox, CC.xy(3, 5));
                    }
                    drinksContainer.add(drinksSelectionPanel, CC.xy(3, 1));
                }
                rightPanel.add(drinksContainer, CC.xy(1, 7));

                //======== drugsContainer ========
                {
                    drugsContainer.setName("drugsContainer");
                    drugsContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                    drugsContainer.setVisible(false);
                    drugsContainer.setLayout(new FormLayout("34dlu, $lcgap, 101dlu", "default"));

                    //---- label29 ----
                    label29.setText("Drugs:");
                    label29.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    drugsContainer.add(label29,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                    //======== drugsSelectionPanel ========
                    {
                        drugsSelectionPanel.setName("drugsSelectionPanel");
                        drugsSelectionPanel
                                .setLayout(new FormLayout("default, $lcgap, default", "2*(default)"));

                        //---- everCheckBox ----
                        everCheckBox.setText("Never");
                        everCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        everCheckBox.setName("never");
                        drugsSelectionPanel.add(everCheckBox, CC.xy(1, 1));

                        //---- sometimesDrugsCheckBox ----
                        sometimesDrugsCheckBox.setText("Sometimes");
                        sometimesDrugsCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        sometimesDrugsCheckBox.setName("sometimes_drugs");
                        drugsSelectionPanel.add(sometimesDrugsCheckBox, CC.xy(3, 1));

                        //---- oftenDrugsCheckBox ----
                        oftenDrugsCheckBox.setText("Often");
                        oftenDrugsCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        oftenDrugsCheckBox.setName("often_drugs");
                        drugsSelectionPanel.add(oftenDrugsCheckBox, CC.xy(1, 2));
                    }
                    drugsContainer.add(drugsSelectionPanel, CC.xy(3, 1));
                }
                rightPanel.add(drugsContainer, CC.xy(1, 11));
            }
            panel1.add(rightPanel, CC.xy(2, 1));

            //======== buttonPanel ========
            {
                buttonPanel.setLayout(new FormLayout("2*(default, $lcgap), 39dlu", "default"));

                //---- closeButton ----
                closeButton.setText("Close");
                closeButton.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        closeButtonActionPerformed(e);
                    }
                });
                buttonPanel.add(closeButton, CC.xy(1, 1));

                //---- resetButton ----
                resetButton.setText("Reset");
                resetButton.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        resetButtonActionPerformed(e);
                    }
                });
                buttonPanel.add(resetButton, CC.xy(3, 1));

                //---- applyButton ----
                applyButton.setText("Apply");
                applyButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                applyButton.setPreferredSize(new Dimension(70, 25));
                applyButton.setEnabled(false);
                applyButton.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        applyButtonActionPerformed(e);
                    }
                });
                buttonPanel.add(applyButton, CC.xy(5, 1, CC.LEFT, CC.DEFAULT));
            }
            panel1.add(buttonPanel,
                    new CellConstraints(1, 3, 1, 1, CC.FILL, CC.DEFAULT, new Insets(0, 10, 0, 0)));
        }
        scrollPane1.setViewportView(panel1);
    }
    contentPane.add(scrollPane1, CC.xy(1, 1));
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:ManageAccountsView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    panel1 = new JPanel();
    label1 = new JLabel();
    usernameCombo = new JComboBox();
    label2 = new JLabel();
    passwordText = new JTextField();
    label3 = new JLabel();
    zipText = new JTextField();
    label4 = new JLabel();
    proxyText = new JTextField();
    label5 = new JLabel();
    portText = new JTextField();
    label6 = new JLabel();
    proxyUsernameText = new JTextField();
    label7 = new JLabel();
    proxyPasswordText = new JTextField();
    buttonPanel = new JPanel();
    addButton = new JButton();
    deleteButton = new JButton();
    closeButton = new JButton();
    applyButton = new JButton();

    //======== this ========
    setTitle("Login Settings");
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("136dlu", "top:138dlu, $lgap, default"));

    //======== panel1 ========
    {//from  w  w w  .  ja v  a  2  s .  c o  m
        panel1.setPreferredSize(new Dimension(200, 250));
        panel1.setLayout(new FormLayout("default, $lcgap, 82dlu", "6*(default, $lgap), default"));

        //---- label1 ----
        label1.setText("Username:");
        label1.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label1, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

        //---- usernameCombo ----
        usernameCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        usernameCombo.setPreferredSize(new Dimension(120, 27));
        usernameCombo.setName("username");
        usernameCombo.addItemListener(new ItemListener() {
            @Override
            public void itemStateChanged(ItemEvent e) {
                usernameComboItemStateChanged(e);
            }
        });
        panel1.add(usernameCombo, CC.xy(3, 1));

        //---- label2 ----
        label2.setText("Password:");
        label2.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label2, CC.xy(1, 3, CC.RIGHT, CC.DEFAULT));

        //---- passwordText ----
        passwordText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        passwordText.setPreferredSize(new Dimension(120, 25));
        passwordText.setName("password");
        passwordText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                passwordTextKeyReleased(e);
            }
        });
        panel1.add(passwordText, CC.xy(3, 3));

        //---- label3 ----
        label3.setText("Zip:");
        label3.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label3, CC.xy(1, 5, CC.RIGHT, CC.DEFAULT));

        //---- zipText ----
        zipText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        zipText.setPreferredSize(new Dimension(120, 25));
        zipText.setName("zip");
        zipText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                zipTextKeyReleased(e);
            }
        });
        panel1.add(zipText, CC.xy(3, 5));

        //---- label4 ----
        label4.setText("Proxy:");
        label4.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label4, CC.xy(1, 7, CC.RIGHT, CC.DEFAULT));

        //---- proxyText ----
        proxyText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        proxyText.setPreferredSize(new Dimension(120, 25));
        proxyText.setName("proxy");
        proxyText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                proxyTextKeyReleased(e);
            }
        });
        panel1.add(proxyText, CC.xy(3, 7));

        //---- label5 ----
        label5.setText("Port:");
        label5.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label5, CC.xy(1, 9, CC.RIGHT, CC.DEFAULT));

        //---- portText ----
        portText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        portText.setPreferredSize(new Dimension(120, 25));
        portText.setName("port");
        portText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                portTextKeyReleased(e);
            }
        });
        panel1.add(portText, CC.xy(3, 9));

        //---- label6 ----
        label6.setText("Proxy username:");
        label6.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label6, CC.xy(1, 11, CC.RIGHT, CC.DEFAULT));

        //---- proxyUsernameText ----
        proxyUsernameText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        proxyUsernameText.setPreferredSize(new Dimension(120, 25));
        proxyUsernameText.setName("proxyUsername");
        proxyUsernameText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                proxyUsernameTextKeyReleased(e);
            }
        });
        panel1.add(proxyUsernameText, CC.xy(3, 11));

        //---- label7 ----
        label7.setText("Proxy Password:");
        label7.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label7, CC.xy(1, 13, CC.RIGHT, CC.DEFAULT));

        //---- proxyPasswordText ----
        proxyPasswordText.setPreferredSize(new Dimension(120, 25));
        proxyPasswordText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        proxyPasswordText.setName("proxyPassword");
        proxyPasswordText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                proxyPasswordTextKeyReleased(e);
            }
        });
        panel1.add(proxyPasswordText, CC.xy(3, 13));
    }
    contentPane.add(panel1, new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(10, 10, 0, 0)));

    //======== buttonPanel ========
    {
        buttonPanel.setLayout(new FormLayout("default, $lcgap, default", "2*(default)"));

        //---- addButton ----
        addButton.setText("Add");
        addButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
        addButton.setName("addButton");
        addButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                addButtonActionPerformed(e);
            }
        });
        buttonPanel.add(addButton, CC.xy(1, 1));

        //---- deleteButton ----
        deleteButton.setText("Delete");
        deleteButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                deleteButtonActionPerformed(e);
            }
        });
        buttonPanel.add(deleteButton, CC.xy(3, 1));

        //---- closeButton ----
        closeButton.setText("Close");
        closeButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
        closeButton.setPreferredSize(new Dimension(86, 29));
        closeButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                closeButtonActionPerformed(e);
            }
        });
        buttonPanel.add(closeButton, CC.xy(1, 2, CC.LEFT, CC.DEFAULT));

        //---- applyButton ----
        applyButton.setText("Apply");
        applyButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
        applyButton.setPreferredSize(new Dimension(86, 29));
        applyButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                applyButtonActionPerformed(e);
            }
        });
        buttonPanel.add(applyButton, CC.xy(3, 2, CC.LEFT, CC.DEFAULT));
    }
    contentPane.add(buttonPanel, CC.xy(1, 3, CC.RIGHT, CC.TOP));
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:com.cs521.team7.HomePage.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Saurabh Jadhav
    DefaultComponentFactory compFactory = DefaultComponentFactory.getInstance();
    menuBar1 = new JMenuBar();
    menu_file = new JMenu();
    menuItem1 = new JMenuItem();
    menu_help = new JMenu();
    menu_faq = new JMenuItem();
    menu_about = new JMenuItem();
    menu1 = new JMenu();
    menuItem_updateProfile = new JMenuItem();
    panel1 = new JPanel();
    label_welcome = new JLabel();
    btn_account = new JButton();
    btn_cart = new JButton();
    btn_logout = new JButton();
    separator2 = new JSeparator();
    splitPane2 = new JSplitPane();
    panel2 = new JPanel();
    label2 = compFactory.createLabel("Total Cost of Cart:  ");
    label_totalCartPrice = compFactory.createLabel("            $0");
    label1 = new JLabel();
    label_totalCartItems = new JLabel();
    separator4 = new JSeparator();
    label8 = new JLabel();
    panel3 = new JPanel();
    btn_search = new JButton();
    label5 = new JLabel();
    textField_searchBox = new JTextField();
    label6 = new JLabel();
    comboBox_filter = new JComboBox();
    label7 = new JLabel();
    comboBox_sort = new JComboBox();
    separator3 = new JSeparator();
    scrollPane1 = new JScrollPane();
    table_ProductList = new JTable();
    btn_addToCart = new JButton();

    //======== this ========
    setIconImage(new ImageIcon(getClass().getResource("/logo/sonos_logo.jpg")).getImage());
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("default:grow", "2*(default, $lgap), default"));

    //======== menuBar1 ========
    {/*from  w  ww  .  j a v a2  s . c o  m*/

        //======== menu_file ========
        {
            menu_file.setText("Files");

            //---- menuItem1 ----
            menuItem1.setText("Exit");
            menu_file.add(menuItem1);
        }
        menuBar1.add(menu_file);

        //======== menu_help ========
        {
            menu_help.setText("Help");
            menu_help.addActionListener(e -> menu_helpActionPerformed(e));

            //---- menu_faq ----
            menu_faq.setText("FAQ");
            menu_help.add(menu_faq);

            //---- menu_about ----
            menu_about.setText("About");
            menu_about.addActionListener(e -> {
                menu_aboutActionPerformed(e);
                menu_aboutActionPerformed(e);
            });
            menu_about.addMenuKeyListener(new MenuKeyListener() {
                @Override
                public void menuKeyPressed(MenuKeyEvent e) {
                    menu_aboutMenuKeyPressed(e);
                }

                @Override
                public void menuKeyReleased(MenuKeyEvent e) {
                }

                @Override
                public void menuKeyTyped(MenuKeyEvent e) {
                }
            });
            menu_help.add(menu_about);
        }
        menuBar1.add(menu_help);

        //======== menu1 ========
        {
            menu1.setText("Profile");

            //---- menuItem_updateProfile ----
            menuItem_updateProfile.setText("Update Profile");
            menuItem_updateProfile.addActionListener(e -> menuItem_updateProfileActionPerformed(e));
            menu1.add(menuItem_updateProfile);
        }
        menuBar1.add(menu1);
    }
    setJMenuBar(menuBar1);

    //======== panel1 ========
    {

        // JFormDesigner evaluation mark
        panel1.setBorder(new javax.swing.border.CompoundBorder(
                new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                        "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                        javax.swing.border.TitledBorder.BOTTOM,
                        new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                panel1.getBorder()));
        panel1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent e) {
                if ("border".equals(e.getPropertyName()))
                    throw new RuntimeException();
            }
        });

        panel1.setLayout(new FormLayout(
                "default, $lcgap, default:grow, $lcgap, default, $lcgap, default:grow, 10*($lcgap, default)",
                "default"));

        //---- label_welcome ----
        label_welcome.setText("Welcome ");
        panel1.add(label_welcome, CC.xy(1, 1, CC.CENTER, CC.DEFAULT));

        //---- btn_account ----
        btn_account.setText("My Account");
        panel1.add(btn_account, CC.xy(23, 1, CC.RIGHT, CC.TOP));

        //---- btn_cart ----
        btn_cart.setText("Cart");
        panel1.add(btn_cart, CC.xy(25, 1, CC.FILL, CC.DEFAULT));

        //---- btn_logout ----
        btn_logout.setText("Logout");
        panel1.add(btn_logout, CC.xy(27, 1));
    }
    contentPane.add(panel1, CC.xy(1, 1, CC.FILL, CC.DEFAULT));
    contentPane.add(separator2, CC.xy(1, 3, CC.FILL, CC.CENTER));

    //======== splitPane2 ========
    {

        //======== panel2 ========
        {
            panel2.setLayout(new FormLayout("min, default:grow", "4*(default, $lgap), default"));
            panel2.add(label2, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));
            panel2.add(label_totalCartPrice, CC.xywh(2, 1, 1, 2, CC.LEFT, CC.TOP));

            //---- label1 ----
            label1.setText("Total Items in Cart: ");
            panel2.add(label1, CC.xy(1, 3, CC.LEFT, CC.DEFAULT));

            //---- label_totalCartItems ----
            label_totalCartItems.setText("            0");
            panel2.add(label_totalCartItems, CC.xy(2, 3, CC.LEFT, CC.DEFAULT));
            panel2.add(separator4, CC.xywh(1, 5, 2, 1, CC.FILL, CC.DEFAULT));

            //---- label8 ----
            label8.setText("Browse");
            panel2.add(label8, CC.xy(1, 7, CC.LEFT, CC.DEFAULT));
        }
        splitPane2.setLeftComponent(panel2);

        //======== panel3 ========
        {
            panel3.setLayout(new FormLayout(
                    "left:default, 2*($lcgap, default), $lcgap, default:grow, 5*($lcgap, default), $lcgap, default:grow, 6*($lcgap, default)",
                    "4*(default, $lgap), 2*(default:grow, $lgap), default, $lgap, default:grow, 2*($lgap, default), $lgap, default:grow"));

            //---- btn_search ----
            btn_search.setText("Search");
            panel3.add(btn_search, CC.xywh(31, 1, 1, 5, CC.FILL, CC.DEFAULT));

            //---- label5 ----
            label5.setText("Search Text");
            panel3.add(label5, CC.xy(1, 1));
            panel3.add(textField_searchBox, CC.xywh(3, 1, 27, 1, CC.FILL, CC.DEFAULT));

            //---- label6 ----
            label6.setText("Filter");
            panel3.add(label6, CC.xy(1, 3));
            panel3.add(comboBox_filter, CC.xywh(3, 3, 27, 1, CC.FILL, CC.DEFAULT));

            //---- label7 ----
            label7.setText("Sort");
            panel3.add(label7, CC.xy(1, 5));
            panel3.add(comboBox_sort, CC.xywh(3, 5, 27, 1));
            panel3.add(separator3, CC.xywh(1, 7, 31, 1, CC.FILL, CC.DEFAULT));

            //======== scrollPane1 ========
            {
                scrollPane1.setViewportView(table_ProductList);
            }
            panel3.add(scrollPane1, CC.xywh(1, 9, 29, 13, CC.FILL, CC.FILL));

            //---- btn_addToCart ----
            btn_addToCart.setText("Add to Cart");
            btn_addToCart.addActionListener(e -> btn_addToCartActionPerformed(e));
            panel3.add(btn_addToCart, CC.xy(31, 9));
        }
        splitPane2.setRightComponent(panel3);
    }
    contentPane.add(splitPane2, CC.xy(1, 5, CC.RIGHT, CC.DEFAULT));
    setSize(680, 360);
    setLocationRelativeTo(null);
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

}

From source file:com.cs521.team7.LoginPage.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Saurabh Jadhav
    label_uname = new JLabel();
    textField_uname = new JTextField();
    label_password = new JLabel();
    textField_password = new JPasswordField();
    btn_signUp = new JButton();
    btn_login = new JButton();

    //======== this ========
    setIconImage(new ImageIcon(getClass().getResource("/logo/sonos_logo.jpg")).getImage());
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("3*(default, $lcgap), default:grow, $lcgap, min, $lcgap, default",
            "2*(default, $lgap), top:default"));

    //---- label_uname ----
    label_uname.setText("Username: ");
    contentPane.add(label_uname, CC.xy(1, 1));
    contentPane.add(textField_uname, CC.xywh(3, 1, 9, 1, CC.FILL, CC.DEFAULT));

    //---- label_password ----
    label_password.setText("Password: ");
    contentPane.add(label_password, CC.xy(1, 3));
    contentPane.add(textField_password, CC.xywh(3, 3, 9, 1, CC.FILL, CC.DEFAULT));

    //---- btn_signUp ----
    btn_signUp.setText("Sign Up");
    btn_signUp.addActionListener(e -> signUP_btn_ActionPerformed(e));
    contentPane.add(btn_signUp, CC.xy(9, 5, CC.DEFAULT, CC.TOP));

    //---- btn_login ----
    btn_login.setText("Login");
    btn_login.addActionListener(e -> btn_loginActionPerformed(e));
    contentPane.add(btn_login, CC.xy(11, 5, CC.LEFT, CC.TOP));
    pack();//from  w w  w .j av  a2 s .c om
    setLocationRelativeTo(null);
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:com.main.MainPageView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Anjali Shinde
    label1 = new JLabel();
    panel2 = new JPanel();
    button6 = new JButton();
    KeralaImage = new JLabel();
    scrollPane6 = new JScrollPane();
    editorPane1 = new JEditorPane();
    button5 = new JButton();
    rajasthanimage = new JLabel();
    scrollPane1 = new JScrollPane();
    editorPane2 = new JEditorPane();
    button4 = new JButton();
    maharashtraimage = new JLabel();
    scrollPane3 = new JScrollPane();
    editorPane3 = new JEditorPane();
    button3 = new JButton();
    goaimage = new JLabel();
    scrollPane4 = new JScrollPane();
    editorPane4 = new JEditorPane();
    button2 = new JButton();
    jkimage = new JLabel();
    scrollPane7 = new JScrollPane();
    editorPane5 = new JEditorPane();
    button1 = new JButton();
    gurajatimage = new JLabel();
    scrollPane8 = new JScrollPane();
    editorPane6 = new JEditorPane();

    //======== this ========
    setPreferredSize(new Dimension(1200, 1200));

    // JFormDesigner evaluation mark
    setBorder(/*from ww w . j a  v  a  2s  .  c o m*/
            new javax.swing.border.CompoundBorder(
                    new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                            "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                            javax.swing.border.TitledBorder.BOTTOM,
                            new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                    getBorder()));
    addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent e) {
            if ("border".equals(e.getPropertyName()))
                throw new RuntimeException();
        }
    });

    setLayout(new FormLayout("default:grow", "default, $lgap, default"));

    //---- label1 ----
    label1.setText("TRAVELS AND TOURISM");
    label1.setFont(new Font("Tahoma", Font.BOLD, 24));
    label1.setHorizontalAlignment(SwingConstants.CENTER);
    add(label1, CC.xy(1, 1));

    //======== panel2 ========
    {
        panel2.setLayout(new FormLayout("center:default, $lcgap, 181dlu, $lcgap, default:grow",
                "5*(fill:65dlu:grow, $lgap), fill:64dlu:grow"));

        //---- button6 ----
        button6.setText("Kerala");
        button6.setFont(new Font("Tahoma", Font.PLAIN, 18));
        panel2.add(button6, CC.xy(1, 1, CC.FILL, CC.DEFAULT));

        //---- KeralaImage ----
        KeralaImage.setIcon(new ImageIcon(getClass().getResource("/com/images/formimages/kerala.jpg")));
        KeralaImage.setIconTextGap(0);
        KeralaImage.setHorizontalTextPosition(SwingConstants.LEFT);
        KeralaImage.setHorizontalAlignment(SwingConstants.LEFT);
        panel2.add(KeralaImage, CC.xy(3, 1, CC.LEFT, CC.CENTER));

        //======== scrollPane6 ========
        {

            //---- editorPane1 ----
            editorPane1.setText(
                    "God's own country Kerala: With the Arabian Sea in the west, the Western Ghats towering 500-2700 ms in the east and networked by 44 rivers, Kerala enjoys unique geographical features that have made it one of the most sought after tourist destinations in Asia. An equable climate. Please click on state name to know more.");
            editorPane1.setEditable(false);
            editorPane1.setFont(new Font("Tahoma", Font.PLAIN, 14));
            scrollPane6.setViewportView(editorPane1);
        }
        panel2.add(scrollPane6, CC.xy(5, 1));

        //---- button5 ----
        button5.setText("Rajasthan");
        button5.setFont(new Font("Tahoma", Font.PLAIN, 18));
        panel2.add(button5, CC.xy(1, 3, CC.FILL, CC.DEFAULT));

        //---- rajasthanimage ----
        rajasthanimage.setIcon(new ImageIcon(getClass().getResource("/com/images/formimages/rajasthan.jpg")));
        rajasthanimage.setIconTextGap(0);
        panel2.add(rajasthanimage, CC.xy(3, 3, CC.LEFT, CC.DEFAULT));

        //======== scrollPane1 ========
        {

            //---- editorPane2 ----
            editorPane2.setText(
                    "The magic of vibrant Rajasthan: It's heritage, culture, safaris, sand dunes, lush forests and wildlife-makes it destination nonpareil.  India's oldest mountain range as the backdrop. Please click on state name to know more.");
            editorPane2.setEditable(false);
            editorPane2.setFont(new Font("Tahoma", Font.PLAIN, 14));
            scrollPane1.setViewportView(editorPane2);
        }
        panel2.add(scrollPane1, CC.xy(5, 3));

        //---- button4 ----
        button4.setText("Maharashtra");
        button4.setFont(new Font("Tahoma", Font.PLAIN, 18));
        panel2.add(button4, CC.xy(1, 5, CC.FILL, CC.DEFAULT));

        //---- maharashtraimage ----
        maharashtraimage.setIcon(new ImageIcon(getClass().getResource("/com/images/formimages/mah.jpg")));
        panel2.add(maharashtraimage, CC.xy(3, 5, CC.LEFT, CC.DEFAULT));

        //======== scrollPane3 ========
        {

            //---- editorPane3 ----
            editorPane3.setText(
                    "Welcome to Maharashtra: A land whose sheer size and diversity will stun you. Enjoy her mountains that stretch out into the mists as far as the eye can see. Her scores of temples, sculpted into and out of basalt rock. Please click on state name to know more.");
            editorPane3.setEditable(false);
            editorPane3.setFont(new Font("Tahoma", Font.PLAIN, 14));
            scrollPane3.setViewportView(editorPane3);
        }
        panel2.add(scrollPane3, CC.xy(5, 5));

        //---- button3 ----
        button3.setText("Goa");
        button3.setFont(new Font("Tahoma", Font.PLAIN, 18));
        panel2.add(button3, CC.xy(1, 7, CC.FILL, CC.DEFAULT));

        //---- goaimage ----
        goaimage.setIcon(new ImageIcon(getClass().getResource("/com/images/formimages/goa.jpg")));
        panel2.add(goaimage, CC.xy(3, 7, CC.LEFT, CC.DEFAULT));

        //======== scrollPane4 ========
        {

            //---- editorPane4 ----
            editorPane4.setText(
                    "The Coolest Place in India Goa: Now our road takes us to the magnificent kingdom of Goa. The people of this kingdom are strong, prudent and very hardworking ... The kingdom of Goa is the most important in India. Please click on state name to know more.");
            editorPane4.setEditable(false);
            editorPane4.setFont(new Font("Tahoma", Font.PLAIN, 14));
            scrollPane4.setViewportView(editorPane4);
        }
        panel2.add(scrollPane4, CC.xy(5, 7));

        //---- button2 ----
        button2.setText("Jammu and Kashmir");
        button2.setFont(new Font("Tahoma", Font.PLAIN, 18));
        panel2.add(button2, CC.xy(1, 9, CC.FILL, CC.DEFAULT));

        //---- jkimage ----
        jkimage.setIcon(new ImageIcon(getClass().getResource("/com/images/formimages/shalimar.jpg")));
        panel2.add(jkimage, CC.xy(3, 9, CC.LEFT, CC.DEFAULT));

        //======== scrollPane7 ========
        {

            //---- editorPane5 ----
            editorPane5.setText(
                    "Heaven on Earth Jammu and Kashmir: As they say beauty is the eyes of beholder and that is so true of the Valley. In Kashmir there is as much hidden as revealed. So the Valley has to be seen with the eyes of the soul. Please click on state name to know more.");
            editorPane5.setEditable(false);
            editorPane5.setFont(new Font("Tahoma", Font.PLAIN, 14));
            scrollPane7.setViewportView(editorPane5);
        }
        panel2.add(scrollPane7, CC.xy(5, 9));

        //---- button1 ----
        button1.setText("Gujarat");
        button1.setFont(new Font("Tahoma", Font.PLAIN, 18));
        panel2.add(button1, CC.xy(1, 11, CC.FILL, CC.DEFAULT));

        //---- gurajatimage ----
        gurajatimage.setIcon(new ImageIcon(getClass().getResource("/com/images/formimages/gujarat.jpg")));
        panel2.add(gurajatimage, CC.xy(3, 11, CC.LEFT, CC.DEFAULT));

        //======== scrollPane8 ========
        {

            //---- editorPane6 ----
            editorPane6.setText(
                    "Gandhi's birth place Gujarat: Gujarat is unique in its geological and topographical landscape. From volcanic outpourings through bedrock to fossil fields of indegenous dinosaurs; from the art of the neolithic cave painter. Gujarat has it all. Please click on state name to know more.");
            editorPane6.setEditable(false);
            editorPane6.setFont(new Font("Tahoma", Font.PLAIN, 14));
            scrollPane8.setViewportView(editorPane6);
        }
        panel2.add(scrollPane8, CC.xy(5, 11));
    }
    add(panel2, CC.xy(1, 3));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

    button6.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent arg0) {
            kerala.createAndShowGUI();
        }
    });

    button5.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent arg0) {
            rajasthan.createAndShowGUI();
        }
    });

    button4.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent arg0) {
            maharashtra.createAndShowGUI();
        }
    });

    button3.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent arg0) {
            goa.createAndShowGUI();
        }
    });

    button2.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent arg0) {
            jk.createAndShowGUI();
        }
    });

    button1.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent arg0) {
            gurajat.createAndShowGUI();
        }
    });
}

From source file:com.rac021.jax.client.mvc.MainFrame.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - RAC YAH
    DefaultComponentFactory compFactory = DefaultComponentFactory.getInstance();
    menuBar1 = new JMenuBar();
    menu1 = new JMenu();
    menuItemImportXML = new JMenuItem();
    menuItemExportXML = new JMenuItem();
    menuItemEXIT = new JMenuItem();
    menuConfig = new JMenu();
    menuItemConfigGle = new JMenuItem();
    menuItmChangPass = new JMenuItem();
    menuHelp = new JMenu();
    menuItemHelp = new JMenuItem();
    menuItemApropos = new JMenuItem();
    panel35 = new JPanel();
    label33 = new JLabel();
    scrollPane3 = new JScrollPane();
    xTaskPaneContainer1 = new JXTaskPaneContainer();
    xTaskPane1 = new JXTaskPane();
    separator4 = compFactory.createSeparator("");
    HyperlinkPanelConfiguration = new JXHyperlink();
    HyperlinkPanelSimulation = new JXHyperlink();
    HyperlinkPanelResult = new JXHyperlink();
    separator7 = compFactory.createSeparator("");
    xTaskPane4 = new JXTaskPane();
    separator9 = compFactory.createSeparator("");
    checkBoxHeader = new JCheckBox();
    checkBoxVerb = new JCheckBox();
    separator11 = compFactory.createSeparator("");
    toggleButton = new JToggleButton();
    separator10 = compFactory.createSeparator("");
    buttonArreter = new JButton();
    panel3 = new JPanel();
    label3 = new JLabel();
    scrollPane2 = new JScrollPane();
    textArea_Token = new JTextArea();
    Date_Header = new JPanel();
    label2 = new JLabel();
    LabelNbrThreads = new JLabel();
    label4 = new JLabel();
    LabelAsynch = new JLabel();
    progressBar = new JProgressBar();
    XBusy = new JXBusyLabel();
    tabbedPanePrincipal = new JTabbedPane();
    PanelConfig = new JPanel();
    PanelSSO3 = new JPanel();
    PanelConfig4 = new JPanel();
    label29 = new JLabel();
    separator8 = new JSeparator();
    label30 = new JLabel();
    label35 = new JLabel();
    label38 = new JLabel();
    label36 = new JLabel();
    label32 = new JLabel();
    textField_RUL_SERVICE_Custom = new JTextField();
    button_Run_Custom = new JButton();
    textField_Username_Custom = new JTextField();
    passwordField_Password_Custom = new JPasswordField();
    textField_TimeStamp = new JTextField();
    checkBox_TimeStamp = new JCheckBox();
    panel10 = new JPanel();
    label34 = new JLabel();
    textField_Params_Custom = new JTextField();
    label41 = new JLabel();
    label42 = new JLabel();
    label43 = new JLabel();
    label39 = new JLabel();
    panel11 = new JPanel();
    label37 = new JLabel();
    textField_Keep_Custom = new JTextField();
    comboBox_HashedLogin = new JComboBox<>();
    comboBox_HashedPassword = new JComboBox<>();
    comboBox_HashedTimeStamp = new JComboBox<>();
    comboBox_AlgoSign = new JComboBox<>();
    panel12 = new JPanel();
    label40 = new JLabel();
    comboBox_Accept_Custom = new JComboBox<>();
    panel13 = new JPanel();
    label44 = new JLabel();
    comboBox_Cipher_Custom = new JComboBox<>();
    button_Decrypt_Custom = new JXHyperlink();
    label5 = new JLabel();
    scrollPane5 = new JScrollPane();
    textArea_Result_Custom = new JTextArea();
    button_Script_CUSTOM = new JButton();
    button_Clear_Custom = new JButton();
    button_Copy_ClipBoard_Custom = new JXHyperlink();
    button_Zoom_plus_customSign = new JButton();
    button_Zoom_minus_customSign = new JButton();
    PanelSSO = new JPanel();
    PanelConfig2 = new JPanel();
    label10 = new JLabel();
    separator5 = new JSeparator();
    label11 = new JLabel();
    label7 = new JLabel();
    textField_URL_KEYCLOAK = new JTextField();
    label12 = new JLabel();
    textField_RUL_SERVICE = new JTextField();
    button_Run_SSO = new JButton();
    panel2 = new JPanel();
    label16 = new JLabel();
    textField_Params = new JTextField();
    label13 = new JLabel();
    textField_Username = new JTextField();
    label8 = new JLabel();
    textField_Client_id = new JTextField();
    panel5 = new JPanel();
    label17 = new JLabel();
    textField_Keep_SSO = new JTextField();
    label14 = new JLabel();
    passwordField_Password = new JPasswordField();
    label9 = new JLabel();
    passwordField_secret_id = new JPasswordField();
    panel1 = new JPanel();
    label15 = new JLabel();
    comboBox_Accept = new JComboBox<>();
    panel4 = new JPanel();
    checkBox_Refresh_Token = new JCheckBox();
    scrollPane1 = new JScrollPane();
    textArea_Result_SSO = new JTextArea();
    button_Script_SSO = new JButton();
    button_Clear = new JButton();
    button_Copy_ClipBoard_SSO = new JXHyperlink();
    button_Zoom_plus_sso = new JButton();
    button_Zoom_minus_sso = new JButton();
    PanelResult = new JPanel();
    label1 = new JLabel();

    //======== this ========
    setTitle("G-Jax-Client");
    setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
    setMinimumSize(new Dimension(800, 770));
    setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    addWindowListener(new WindowAdapter() {
        @Override/*  w  ww. ja  v a  2 s.  co m*/
        public void windowClosing(WindowEvent e) {
            thisWindowClosing(e);
        }
    });
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout(
            "default, $lcgap, 80.0mm, 3*($lcgap, default), $lcgap, default:grow, $lcgap, default",
            "default, $lgap, 15dlu, 3dlu, 9*($lgap, default), $lgap, default:grow, 2*($lgap, default)"));

    //======== menuBar1 ========
    {
        menuBar1.setOpaque(false);
        menuBar1.setInheritsPopupMenu(true);

        //======== menu1 ========
        {
            menu1.setText(" File");
            menu1.addSeparator();

            //---- menuItemImportXML ----
            menuItemImportXML.setText("Import XML Files");
            menuItemImportXML.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, KeyEvent.CTRL_MASK));
            menu1.add(menuItemImportXML);
            menu1.addSeparator();

            //---- menuItemExportXML ----
            menuItemExportXML.setText("Exporte XML File");
            menuItemExportXML.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, KeyEvent.CTRL_MASK));
            menu1.add(menuItemExportXML);
            menu1.addSeparator();

            //---- menuItemEXIT ----
            menuItemEXIT.setText("Exit");
            menuItemEXIT.setAccelerator(
                    KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, KeyEvent.CTRL_MASK | KeyEvent.ALT_MASK));
            menu1.add(menuItemEXIT);
            menu1.addSeparator();
        }
        menuBar1.add(menu1);

        //======== menuConfig ========
        {
            menuConfig.setText("Configuration");
            menuConfig.addSeparator();

            //---- menuItemConfigGle ----
            menuItemConfigGle.setText("Configuration G\u00e9n\u00e9rale");
            menuItemConfigGle.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F7, KeyEvent.CTRL_MASK));
            menuConfig.add(menuItemConfigGle);
            menuConfig.addSeparator();
            menuConfig.addSeparator();

            //---- menuItmChangPass ----
            menuItmChangPass.setText("Modification du Mot de Passe");
            menuItmChangPass.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, KeyEvent.CTRL_MASK));
            menuConfig.add(menuItmChangPass);
            menuConfig.addSeparator();
        }
        menuBar1.add(menuConfig);

        //======== menuHelp ========
        {
            menuHelp.setText("Help");
            menuHelp.addSeparator();

            //---- menuItemHelp ----
            menuItemHelp.setText("Aide");
            menuItemHelp.setAccelerator(
                    KeyStroke.getKeyStroke(KeyEvent.VK_H, KeyEvent.CTRL_MASK | KeyEvent.ALT_MASK));
            menuHelp.add(menuItemHelp);
            menuHelp.addSeparator();
            menuHelp.addSeparator();

            //---- menuItemApropos ----
            menuItemApropos.setText("A Propos");
            menuItemApropos.setAccelerator(
                    KeyStroke.getKeyStroke(KeyEvent.VK_F12, KeyEvent.CTRL_MASK | KeyEvent.ALT_MASK));
            menuHelp.add(menuItemApropos);
            menuHelp.addSeparator();
        }
        menuBar1.add(menuHelp);
    }
    setJMenuBar(menuBar1);

    //======== scrollPane3 ========
    {

        //======== xTaskPaneContainer1 ========
        {

            //======== xTaskPane1 ========
            {
                xTaskPane1.setTitle("Configuration");
                xTaskPane1.setToolTipText("yahiaoui rachid");
                xTaskPane1.addPropertyChangeListener(e -> xTaskPane1PropertyChange(e));
                Container xTaskPane1ContentPane = xTaskPane1.getContentPane();
                xTaskPane1ContentPane.setLayout(new FormLayout(
                        "3*(default), $lcgap, default, $lcgap, default:grow", "13*(default, $lgap), default"));
                xTaskPane1ContentPane.add(separator4, CC.xywh(1, 3, 7, 1));

                //---- HyperlinkPanelConfiguration ----
                HyperlinkPanelConfiguration.setText("Configuration");
                HyperlinkPanelConfiguration.setClickedColor(new Color(51, 51, 255));
                HyperlinkPanelConfiguration.setFont(new Font("Tahoma", Font.BOLD, 12));
                HyperlinkPanelConfiguration
                        .addActionListener(e -> HyperlinkPanelConfigurationActionPerformed(e));
                xTaskPane1ContentPane.add(HyperlinkPanelConfiguration, CC.xy(2, 9));

                //---- HyperlinkPanelSimulation ----
                HyperlinkPanelSimulation.setText("Simulation");
                HyperlinkPanelSimulation.setClickedColor(new Color(51, 51, 255));
                HyperlinkPanelSimulation.setFont(new Font("Tahoma", Font.BOLD, 12));
                HyperlinkPanelSimulation.addActionListener(e -> HyperlinkPanelSimulationActionPerformed(e));
                xTaskPane1ContentPane.add(HyperlinkPanelSimulation, CC.xy(2, 15));

                //---- HyperlinkPanelResult ----
                HyperlinkPanelResult.setText("Result");
                HyperlinkPanelResult.setClickedColor(new Color(51, 51, 255));
                HyperlinkPanelResult.setFont(new Font("Tahoma", Font.BOLD, 12));
                HyperlinkPanelResult.addActionListener(e -> HyperlinkPanelSimulationActionPerformed(e));
                xTaskPane1ContentPane.add(HyperlinkPanelResult, CC.xy(2, 19));
                xTaskPane1ContentPane.add(separator7, CC.xywh(1, 25, 7, 1));
            }
            xTaskPaneContainer1.add(xTaskPane1);

            //======== xTaskPane4 ========
            {
                xTaskPane4.setTitle("Process");
                xTaskPane4.addPropertyChangeListener(e -> xTaskPane3PropertyChange(e));
                Container xTaskPane4ContentPane = xTaskPane4.getContentPane();
                xTaskPane4ContentPane.setLayout(new FormLayout("default, 6dlu, default, $lcgap, default:grow",
                        "default, $lgap, default, 7dlu, 2*(default, $lgap), 10dlu, 4*($lgap, default), 35dlu, default, $lgap, default"));
                xTaskPane4ContentPane.add(separator9, CC.xywh(1, 3, 5, 1));

                //---- checkBoxHeader ----
                checkBoxHeader.setText(" Header");
                checkBoxHeader.setBackground(Color.black);
                checkBoxHeader.setForeground(Color.white);
                xTaskPane4ContentPane.add(checkBoxHeader, CC.xy(3, 5));

                //---- checkBoxVerb ----
                checkBoxVerb.setText(" Verb");
                checkBoxVerb.setBackground(Color.black);
                checkBoxVerb.setForeground(Color.white);
                xTaskPane4ContentPane.add(checkBoxVerb, CC.xy(3, 7));
                xTaskPane4ContentPane.add(separator11, CC.xywh(1, 11, 5, 1));

                //---- toggleButton ----
                toggleButton.setText("Run");
                toggleButton.addItemListener(e -> toggleButtonItemStateChanged(e));
                xTaskPane4ContentPane.add(toggleButton, CC.xy(3, 15));
                xTaskPane4ContentPane.add(separator10, CC.xywh(1, 17, 5, 1));

                //---- buttonArreter ----
                buttonArreter.setText("RAZ");
                buttonArreter.setBackground(new Color(63, 255, 51));
                buttonArreter.setForeground(Color.blue);
                buttonArreter.setFont(new Font("Tahoma", Font.BOLD, 12));
                buttonArreter.addActionListener(e -> {
                    buttonArreterActionPerformed(e);
                    buttonArreterActionPerformed(e);
                });
                xTaskPane4ContentPane.add(buttonArreter, CC.xy(3, 21));
            }
            xTaskPaneContainer1.add(xTaskPane4);

            //======== panel3 ========
            {
                panel3.setLayout(new MigLayout("filly,hidemode 3,aligny center",
                        // columns
                        "[grow,fill]",
                        // rows
                        "[]" + "[360,fill]" + "[fill]"));

                //---- label3 ----
                label3.setText("Token : ");
                label3.setFont(new Font("DejaVu Sans", Font.BOLD, 13));
                panel3.add(label3, "cell 0 0");

                //======== scrollPane2 ========
                {

                    //---- textArea_Token ----
                    textArea_Token.setLineWrap(true);
                    textArea_Token.setForeground(Color.blue);
                    textArea_Token.setEditable(false);
                    textArea_Token.setBorder(new SoftBevelBorder(SoftBevelBorder.LOWERED));
                    textArea_Token.setAutoscrolls(false);
                    scrollPane2.setViewportView(textArea_Token);
                }
                panel3.add(scrollPane2, "cell 0 1");
            }
            xTaskPaneContainer1.add(panel3);
        }
        scrollPane3.setViewportView(xTaskPaneContainer1);
    }
    contentPane.add(scrollPane3, CC.xywh(3, 3, 1, 22));

    //======== Date_Header ========
    {
        Date_Header.setBackground(Color.black);
        Date_Header.setLayout(new FormLayout(
                "2*(default, $lcgap), left:12dlu, 30dlu, 2*(default, $lcgap), right:default:grow, 2*($lcgap, default), $lcgap, [2dlu,default]",
                "2dlu, 1dlu, [15dlu,default,15dlu]"));

        //---- label2 ----
        label2.setText("         NB_CORES :");
        label2.setForeground(Color.white);
        label2.setFont(new Font("Tahoma", Font.PLAIN, 12));
        Date_Header.add(label2, CC.xy(3, 3));

        //---- LabelNbrThreads ----
        LabelNbrThreads.setText("Default");
        LabelNbrThreads.setForeground(Color.orange);
        LabelNbrThreads.setFont(new Font("Tahoma", Font.BOLD, 12));
        Date_Header.add(LabelNbrThreads, CC.xywh(5, 3, 2, 1));

        //---- label4 ----
        label4.setText("ASYNCH :");
        label4.setForeground(Color.white);
        label4.setFont(new Font("Tahoma", Font.PLAIN, 12));
        Date_Header.add(label4, CC.xy(7, 3));

        //---- LabelAsynch ----
        LabelAsynch.setText("TRUE");
        LabelAsynch.setForeground(Color.orange);
        LabelAsynch.setFont(new Font("Tahoma", Font.BOLD, 12));
        Date_Header.add(LabelAsynch, CC.xy(9, 3));

        //---- progressBar ----
        progressBar.setStringPainted(true);
        progressBar.setForeground(Color.black);
        progressBar.setFont(new Font("Tahoma", Font.PLAIN, 12));
        progressBar.setBackground(Color.white);
        Date_Header.add(progressBar, CC.xy(11, 3, CC.DEFAULT, CC.FILL));

        //---- XBusy ----
        XBusy.setText("Traitement des donne\u00e9s en cours,  Veuillez Pattienter...");
        XBusy.setForeground(Color.orange);
        Date_Header.add(XBusy, CC.xy(13, 3, CC.DEFAULT, CC.FILL));
    }
    contentPane.add(Date_Header, CC.xywh(5, 1, 7, 3, CC.DEFAULT, CC.FILL));

    //======== tabbedPanePrincipal ========
    {
        tabbedPanePrincipal.setOpaque(true);
        tabbedPanePrincipal.setBackground(new Color(255, 204, 102));
        tabbedPanePrincipal.addChangeListener(e -> tabbedPanePrincipalStateChanged(e));

        //======== PanelConfig ========
        {
            PanelConfig.setBorder(new CompoundBorder(new TitledBorder(""), new EmptyBorder(5, 5, 5, 5)));
            PanelConfig.setLayout(
                    new FormLayout("5*(default), 100dlu, 5dlu, default, 50dlu, 6*(default), default:grow",
                            "fill:default:grow"));

            //======== PanelSSO3 ========
            {
                PanelSSO3.setLayout(new FormLayout(
                        "7dlu, 2*($lcgap, default), $lcgap, default:grow, 3*($lcgap, default), $lcgap, right:default:grow, 6dlu, default, 10dlu",
                        "4dlu, default, $lgap, default, 6dlu, default, 21dlu, default, $lgap, 25dlu, 3*($lgap, default), 15dlu:grow, 10dlu, 6dlu, 10dlu, fill:default, 11dlu"));

                //======== PanelConfig4 ========
                {
                    PanelConfig4
                            .setBorder(new CompoundBorder(new TitledBorder(""), new EmptyBorder(5, 5, 5, 5)));
                    PanelConfig4.setBackground(SystemColor.window);
                    PanelConfig4.setLayout(new FormLayout(
                            "2*(default), 10dlu, 2*(80dlu, 5dlu), 80dlu, 40dlu, default, 10dlu, 46dlu:grow, 2*(10dlu), default, 8dlu, default, 2dlu, 170dlu:grow, default, 8dlu, 40dlu, 5dlu",
                            "default, 6dlu, 15dlu, 6dlu, 2*(default, $lgap), bottom:default, $lgap, default, $lgap, 20dlu, $lgap, default"));

                    //---- label29 ----
                    label29.setText("Authentication");
                    label29.setForeground(new Color(238, 30, 30));
                    label29.setFont(new Font("DejaVu Sans", Font.BOLD, 18));
                    PanelConfig4.add(label29, CC.xy(4, 3));

                    //---- separator8 ----
                    separator8.setOrientation(SwingConstants.VERTICAL);
                    PanelConfig4.add(separator8, CC.xywh(14, 1, 1, 15));

                    //---- label30 ----
                    label30.setText("Service");
                    label30.setForeground(new Color(238, 30, 30));
                    label30.setFont(new Font("DejaVu Sans", Font.BOLD, 18));
                    PanelConfig4.add(label30, CC.xy(17, 3));

                    //---- label35 ----
                    label35.setText("Login");
                    label35.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    PanelConfig4.add(label35, CC.xy(4, 5));

                    //---- label38 ----
                    label38.setText("Password");
                    label38.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    PanelConfig4.add(label38, CC.xy(6, 5));

                    //---- label36 ----
                    label36.setText("TimeStamp");
                    label36.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    PanelConfig4.add(label36, CC.xy(8, 5));

                    //---- label32 ----
                    label32.setText("URL");
                    label32.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    PanelConfig4.add(label32, CC.xy(17, 5));

                    //---- textField_RUL_SERVICE_Custom ----
                    textField_RUL_SERVICE_Custom.setFont(new Font("DejaVu Sans", Font.PLAIN, 15));
                    textField_RUL_SERVICE_Custom.setText("http://localhost:8080/rest/resources/infoServices");
                    PanelConfig4.add(textField_RUL_SERVICE_Custom, CC.xywh(19, 5, 2, 1));

                    //---- button_Run_Custom ----
                    button_Run_Custom.setText("Invoke");
                    button_Run_Custom.addActionListener(e -> button_RunActionPerformed(e));
                    PanelConfig4.add(button_Run_Custom, CC.xy(22, 5));

                    //---- textField_Username_Custom ----
                    textField_Username_Custom.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                    textField_Username_Custom.setText("admin");
                    PanelConfig4.add(textField_Username_Custom, CC.xy(4, 7));

                    //---- passwordField_Password_Custom ----
                    passwordField_Password_Custom.setText("admin");
                    PanelConfig4.add(passwordField_Password_Custom, CC.xy(6, 7));

                    //---- textField_TimeStamp ----
                    textField_TimeStamp.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                    textField_TimeStamp.setText("123456789");
                    PanelConfig4.add(textField_TimeStamp, CC.xy(8, 7));

                    //---- checkBox_TimeStamp ----
                    checkBox_TimeStamp.setText("Current TimeStamp ( AutoGen )");
                    checkBox_TimeStamp.setSelected(true);
                    PanelConfig4.add(checkBox_TimeStamp, CC.xywh(9, 7, 4, 1));

                    //======== panel10 ========
                    {
                        panel10.setLayout(new MigLayout("hidemode 3",
                                // columns
                                "[fill]" + "[grow,shrink 0,fill]" + "[fill]",
                                // rows
                                "[]"));

                        //---- label34 ----
                        label34.setText("Filter :  ");
                        label34.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                        panel10.add(label34, "cell 0 0");

                        //---- textField_Params_Custom ----
                        textField_Params_Custom.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                        textField_Params_Custom.setText("id=81_or_=_69");
                        panel10.add(textField_Params_Custom, "cell 1 0 2 1,growx");
                    }
                    PanelConfig4.add(panel10, CC.xy(19, 7));

                    //---- label41 ----
                    label41.setText("Hashed Login");
                    label41.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    label41.setForeground(new Color(95, 97, 182));
                    PanelConfig4.add(label41, CC.xy(4, 9));

                    //---- label42 ----
                    label42.setText("Hashed Password");
                    label42.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    label42.setForeground(new Color(95, 97, 182));
                    PanelConfig4.add(label42, CC.xy(6, 9));

                    //---- label43 ----
                    label43.setText("Hashed TimeStamp");
                    label43.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    label43.setForeground(new Color(95, 97, 182));
                    PanelConfig4.add(label43, CC.xy(8, 9));

                    //---- label39 ----
                    label39.setText("Algo-Sign");
                    label39.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    label39.setForeground(new Color(226, 49, 49));
                    PanelConfig4.add(label39, CC.xy(12, 9));

                    //======== panel11 ========
                    {
                        panel11.setLayout(new MigLayout("hidemode 3",
                                // columns
                                "[fill]" + "[grow,shrink 0,fill]" + "[fill]",
                                // rows
                                "[]"));

                        //---- label37 ----
                        label37.setText("Keep :   ");
                        label37.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                        panel11.add(label37, "cell 0 0");

                        //---- textField_Keep_Custom ----
                        textField_Keep_Custom.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                        panel11.add(textField_Keep_Custom, "cell 1 0 2 1,growx");
                    }
                    PanelConfig4.add(panel11, CC.xy(19, 9));

                    //---- comboBox_HashedLogin ----
                    comboBox_HashedLogin.setModel(
                            new DefaultComboBoxModel<>(new String[] { "PLAIN", "SHA1", "SHA2", "MD5" }));
                    PanelConfig4.add(comboBox_HashedLogin, CC.xy(4, 11));

                    //---- comboBox_HashedPassword ----
                    comboBox_HashedPassword.setModel(
                            new DefaultComboBoxModel<>(new String[] { "PLAIN", "SHA1", "SHA2", "MD5" }));
                    comboBox_HashedPassword.setSelectedIndex(3);
                    PanelConfig4.add(comboBox_HashedPassword, CC.xy(6, 11));

                    //---- comboBox_HashedTimeStamp ----
                    comboBox_HashedTimeStamp.setModel(
                            new DefaultComboBoxModel<>(new String[] { "PLAIN", "SHA1", "SHA2", "MD5" }));
                    PanelConfig4.add(comboBox_HashedTimeStamp, CC.xy(8, 11));

                    //---- comboBox_AlgoSign ----
                    comboBox_AlgoSign
                            .setModel(new DefaultComboBoxModel<>(new String[] { "SHA1", "SHA2", "MD5" }));
                    comboBox_AlgoSign.setSelectedIndex(1);
                    PanelConfig4.add(comboBox_AlgoSign, CC.xywh(10, 11, 3, 1));

                    //======== panel12 ========
                    {
                        panel12.setLayout(new MigLayout("hidemode 3",
                                // columns
                                "[shrink 50,fill]" + "[grow,shrink 0,fill]",
                                // rows
                                "[]"));

                        //---- label40 ----
                        label40.setText("Accept : ");
                        label40.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                        panel12.add(label40, "cell 0 0");

                        //---- comboBox_Accept_Custom ----
                        comboBox_Accept_Custom.setModel(new DefaultComboBoxModel<>(
                                new String[] { "xml/plain", "xml/encrypted", "json/plain", "json/encrypted" }));
                        panel12.add(comboBox_Accept_Custom, "cell 1 0");
                    }
                    PanelConfig4.add(panel12, CC.xy(19, 11));

                    //======== panel13 ========
                    {
                        panel13.setLayout(new MigLayout("hidemode 3",
                                // columns
                                "[shrink 50,fill]" + "[grow,shrink 0,fill]",
                                // rows
                                "[]"));

                        //---- label44 ----
                        label44.setText("Cipher : ");
                        label44.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                        panel13.add(label44, "cell 0 0");

                        //---- comboBox_Cipher_Custom ----
                        comboBox_Cipher_Custom.setModel(new DefaultComboBoxModel<>(new String[] { "AES_128_CBC",
                                "AES_128_ECB", "AES_192_CBC", "AES_192_ECB", "AES_256_CBC", "AES_256_ECB",
                                "DES_64_CBC", "DES_64_ECB", "DESede_192_CBC", "DESede_192_ECB" }));
                        panel13.add(comboBox_Cipher_Custom, "cell 1 0");
                    }
                    PanelConfig4.add(panel13, CC.xy(19, 13));

                    //---- button_Decrypt_Custom ----
                    button_Decrypt_Custom.setText("Decrypt");
                    button_Decrypt_Custom.setClickedColor(new Color(51, 51, 255));
                    button_Decrypt_Custom.setFont(new Font("Tahoma", Font.BOLD, 12));
                    button_Decrypt_Custom.addActionListener(e -> HyperlinkPanelResultatsActionPerformed(e));
                    PanelConfig4.add(button_Decrypt_Custom, CC.xy(22, 13));

                    //---- label5 ----
                    label5.setText(
                            " Decryption key Function for secured services = SHA-256 ( HashedPassword ( ... )  )");
                    label5.setForeground(new Color(91, 91, 91));
                    PanelConfig4.add(label5, CC.xywh(1, 15, 12, 1));
                }
                PanelSSO3.add(PanelConfig4, CC.xywh(2, 2, 16, 1));

                //======== scrollPane5 ========
                {

                    //---- textArea_Result_Custom ----
                    textArea_Result_Custom.setBackground(new Color(19, 19, 9));
                    textArea_Result_Custom.setForeground(new Color(248, 248, 248));
                    textArea_Result_Custom.setText("  Result ...");
                    textArea_Result_Custom.setTabSize(5);
                    textArea_Result_Custom.setLineWrap(true);
                    textArea_Result_Custom.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                    textArea_Result_Custom.setEditable(false);
                    scrollPane5.setViewportView(textArea_Result_Custom);
                }
                PanelSSO3.add(scrollPane5, CC.xywh(2, 6, 14, 16));

                //---- button_Script_CUSTOM ----
                button_Script_CUSTOM.setText("Script");
                button_Script_CUSTOM.addActionListener(e -> button_Script_CUSTOM_ActionPerformed(e));
                PanelSSO3.add(button_Script_CUSTOM, CC.xy(17, 6));

                //---- button_Clear_Custom ----
                button_Clear_Custom.setText("Clear ");
                button_Clear_Custom.addActionListener(e -> button_ClearActionPerformed(e));
                PanelSSO3.add(button_Clear_Custom, CC.xy(17, 8));

                //---- button_Copy_ClipBoard_Custom ----
                button_Copy_ClipBoard_Custom.setText("Copy_Text");
                button_Copy_ClipBoard_Custom.setClickedColor(new Color(51, 51, 255));
                button_Copy_ClipBoard_Custom.setFont(new Font("Tahoma", Font.BOLD, 12));
                button_Copy_ClipBoard_Custom.addActionListener(e -> HyperlinkPanelResultatsActionPerformed(e));
                PanelSSO3.add(button_Copy_ClipBoard_Custom, CC.xy(17, 12));

                //---- button_Zoom_plus_customSign ----
                button_Zoom_plus_customSign.setText("+");
                button_Zoom_plus_customSign.setFont(new Font("DejaVu Sans", Font.BOLD, 16));
                button_Zoom_plus_customSign.addActionListener(e -> button_Decrypt_Custom_ActionPerformed(e));
                PanelSSO3.add(button_Zoom_plus_customSign, CC.xy(17, 18, CC.DEFAULT, CC.CENTER));

                //---- button_Zoom_minus_customSign ----
                button_Zoom_minus_customSign.setText("-");
                button_Zoom_minus_customSign.setFont(new Font("DejaVu Sans", Font.BOLD, 16));
                button_Zoom_minus_customSign.addActionListener(e -> button_Decrypt_Custom_ActionPerformed(e));
                PanelSSO3.add(button_Zoom_minus_customSign, CC.xy(17, 20, CC.DEFAULT, CC.CENTER));
            }
            PanelConfig.add(PanelSSO3, CC.xywh(1, 1, 16, 1));
        }
        tabbedPanePrincipal.addTab("** Custom Jax-Client **", PanelConfig);

        //======== PanelSSO ========
        {
            PanelSSO.setLayout(new FormLayout(
                    "7dlu, 2*($lcgap, default), $lcgap, default:grow, 3*($lcgap, default), $lcgap, right:default:grow, 6dlu, default, $lcgap, 10dlu",
                    "5dlu, 2*($lgap, default), 6dlu, default, $lgap, 15dlu, $lgap, default, $lgap, 25dlu, $lgap, default, $lgap, default:grow, $lgap, 10dlu, 6dlu, 10dlu, 15dlu, default"));

            //======== PanelConfig2 ========
            {
                PanelConfig2.setBorder(new CompoundBorder(new TitledBorder(""), new EmptyBorder(5, 5, 5, 5)));
                PanelConfig2.setBackground(SystemColor.window);
                PanelConfig2.setLayout(new FormLayout(
                        "2*(default), 10dlu, 2*(default), 5dlu, 70dlu, 15dlu, default, 5dlu, 110dlu:grow, 2*(10dlu), default, 7dlu, default, 2dlu, 170dlu:grow, default, 8dlu, 40dlu, 2dlu, $lcgap, default",
                        "default, 6dlu, 15dlu, 6dlu, 4*(default, $lgap), 20dlu, $lgap, 10dlu"));

                //---- label10 ----
                label10.setText("Authorization ");
                label10.setForeground(new Color(238, 30, 30));
                label10.setFont(new Font("DejaVu Sans", Font.BOLD, 18));
                PanelConfig2.add(label10, CC.xy(4, 3));

                //---- separator5 ----
                separator5.setOrientation(SwingConstants.VERTICAL);
                PanelConfig2.add(separator5, CC.xywh(13, 1, 1, 15));

                //---- label11 ----
                label11.setText("Service");
                label11.setForeground(new Color(238, 30, 30));
                label11.setFont(new Font("DejaVu Sans", Font.BOLD, 18));
                PanelConfig2.add(label11, CC.xy(16, 3));

                //---- label7 ----
                label7.setText("KeyCloak_URL");
                label7.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                PanelConfig2.add(label7, CC.xy(4, 5));

                //---- textField_URL_KEYCLOAK ----
                textField_URL_KEYCLOAK.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                textField_URL_KEYCLOAK
                        .setText("http://localhost:8180/auth/realms/serenity/protocol/openid-connect/token");
                PanelConfig2.add(textField_URL_KEYCLOAK, CC.xywh(5, 5, 7, 1));

                //---- label12 ----
                label12.setText("URL");
                label12.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                PanelConfig2.add(label12, CC.xy(16, 5));

                //---- textField_RUL_SERVICE ----
                textField_RUL_SERVICE.setFont(new Font("DejaVu Sans", Font.PLAIN, 15));
                textField_RUL_SERVICE.setText("http://localhost:8080/rest/resources/infoServices");
                PanelConfig2.add(textField_RUL_SERVICE, CC.xywh(18, 5, 2, 1));

                //---- button_Run_SSO ----
                button_Run_SSO.setText("Invoke");
                button_Run_SSO.addActionListener(e -> button_RunActionPerformed(e));
                PanelConfig2.add(button_Run_SSO, CC.xy(21, 5));

                //======== panel2 ========
                {
                    panel2.setLayout(new MigLayout("hidemode 3",
                            // columns
                            "[fill]" + "[grow,shrink 0,fill]" + "[fill]",
                            // rows
                            "[]"));

                    //---- label16 ----
                    label16.setText("Filter :  ");
                    label16.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    panel2.add(label16, "cell 0 0");

                    //---- textField_Params ----
                    textField_Params.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                    textField_Params.setText("id=81_or_=_69");
                    panel2.add(textField_Params, "cell 1 0 2 1,growx");
                }
                PanelConfig2.add(panel2, CC.xy(18, 7));

                //---- label13 ----
                label13.setText("user_name");
                label13.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                PanelConfig2.add(label13, CC.xy(5, 9));

                //---- textField_Username ----
                textField_Username.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                textField_Username.setText("rac021");
                PanelConfig2.add(textField_Username, CC.xy(7, 9));

                //---- label8 ----
                label8.setText("Client_id");
                label8.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                PanelConfig2.add(label8, CC.xy(9, 9));

                //---- textField_Client_id ----
                textField_Client_id.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                textField_Client_id.setText("app-plane");
                PanelConfig2.add(textField_Client_id, CC.xy(11, 9));

                //======== panel5 ========
                {
                    panel5.setLayout(new MigLayout("hidemode 3",
                            // columns
                            "[fill]" + "[grow,shrink 0,fill]" + "[fill]",
                            // rows
                            "[]"));

                    //---- label17 ----
                    label17.setText("Keep :   ");
                    label17.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    panel5.add(label17, "cell 0 0");

                    //---- textField_Keep_SSO ----
                    textField_Keep_SSO.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                    panel5.add(textField_Keep_SSO, "cell 1 0 2 1,growx");
                }
                PanelConfig2.add(panel5, CC.xy(18, 9));

                //---- label14 ----
                label14.setText("Password");
                label14.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                PanelConfig2.add(label14, CC.xy(5, 11));

                //---- passwordField_Password ----
                passwordField_Password.setText("rac021");
                PanelConfig2.add(passwordField_Password, CC.xy(7, 11));

                //---- label9 ----
                label9.setText("secret_id");
                label9.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                PanelConfig2.add(label9, CC.xy(9, 11));

                //---- passwordField_secret_id ----
                passwordField_secret_id.setText("6b64f7fa-a6ec-4f53-b941-2bdc74ef2640");
                PanelConfig2.add(passwordField_secret_id, CC.xy(11, 11));

                //======== panel1 ========
                {
                    panel1.setLayout(new MigLayout("hidemode 3",
                            // columns
                            "[shrink 50,fill]" + "[grow,shrink 0,fill]",
                            // rows
                            "[]"));

                    //---- label15 ----
                    label15.setText("Accept : ");
                    label15.setFont(new Font("DejaVu Sans", Font.BOLD, 14));
                    panel1.add(label15, "cell 0 0");

                    //---- comboBox_Accept ----
                    comboBox_Accept
                            .setModel(new DefaultComboBoxModel<>(new String[] { "xml/plain", "json/plain" }));
                    panel1.add(comboBox_Accept, "cell 1 0");
                }
                PanelConfig2.add(panel1, CC.xy(18, 11));

                //======== panel4 ========
                {
                    panel4.setBackground(new Color(207, 233, 214));
                    panel4.setLayout(new MigLayout("hidemode 3",
                            // columns
                            "[fill]" + "[grow,shrink 0,fill]" + "[fill]",
                            // rows
                            "[]"));

                    //---- checkBox_Refresh_Token ----
                    checkBox_Refresh_Token.setText("Refresh Token for each invokation");
                    checkBox_Refresh_Token.setSelected(true);
                    panel4.add(checkBox_Refresh_Token, "cell 2 0");
                }
                PanelConfig2.add(panel4, CC.xy(18, 13));
            }
            PanelSSO.add(PanelConfig2, CC.xywh(3, 3, 15, 1));

            //======== scrollPane1 ========
            {

                //---- textArea_Result_SSO ----
                textArea_Result_SSO.setBackground(new Color(19, 19, 9));
                textArea_Result_SSO.setForeground(new Color(248, 248, 248));
                textArea_Result_SSO.setText("  Result ...");
                textArea_Result_SSO.setEditable(false);
                textArea_Result_SSO.setTabSize(5);
                textArea_Result_SSO.setLineWrap(true);
                textArea_Result_SSO.setFont(new Font("DejaVu Sans", Font.PLAIN, 14));
                scrollPane1.setViewportView(textArea_Result_SSO);
            }
            PanelSSO.add(scrollPane1, CC.xywh(3, 7, 13, 15));

            //---- button_Script_SSO ----
            button_Script_SSO.setText("Script");
            button_Script_SSO.addActionListener(e -> button_Script_SSOActionPerformed(e));
            PanelSSO.add(button_Script_SSO, CC.xy(17, 7));

            //---- button_Clear ----
            button_Clear.setText("Clear ");
            button_Clear.addActionListener(e -> button_ClearActionPerformed(e));
            PanelSSO.add(button_Clear, CC.xy(17, 11));

            //---- button_Copy_ClipBoard_SSO ----
            button_Copy_ClipBoard_SSO.setText("Copy_Text");
            button_Copy_ClipBoard_SSO.setClickedColor(new Color(51, 51, 255));
            button_Copy_ClipBoard_SSO.setFont(new Font("Tahoma", Font.BOLD, 12));
            button_Copy_ClipBoard_SSO.addActionListener(e -> HyperlinkPanelResultatsActionPerformed(e));
            PanelSSO.add(button_Copy_ClipBoard_SSO, CC.xy(17, 15, CC.LEFT, CC.DEFAULT));

            //---- button_Zoom_plus_sso ----
            button_Zoom_plus_sso.setText("+");
            button_Zoom_plus_sso.setFont(new Font("DejaVu Sans", Font.BOLD, 16));
            PanelSSO.add(button_Zoom_plus_sso, CC.xy(17, 19));

            //---- button_Zoom_minus_sso ----
            button_Zoom_minus_sso.setText("-");
            button_Zoom_minus_sso.setFont(new Font("DejaVu Sans", Font.BOLD, 16));
            PanelSSO.add(button_Zoom_minus_sso, CC.xy(17, 21));
        }
        tabbedPanePrincipal.addTab("** KeyCloack-Jax-Client ( SSO ) **", PanelSSO);

        //======== PanelResult ========
        {
            PanelResult.setLayout(new FormLayout("4*(default), default:grow", "2*(default, $lgap), default"));
        }
        tabbedPanePrincipal.addTab("** Results **", PanelResult);

        tabbedPanePrincipal.setSelectedIndex(0);
    }
    contentPane.add(tabbedPanePrincipal, CC.xywh(5, 5, 7, 22));
    pack();
    setLocationRelativeTo(getOwner());

    //---- label1 ----
    label1.setText("Achat Client");
    label1.setFont(new Font("Tahoma", Font.BOLD, 12));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:com.tibco.util.gui.forms.JmsStreamAbout.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    dialogPane = new JPanel();
    contentPanel = new JPanel();
    lblTibco = new JLabel();
    panel1 = new JPanel();
    lblGuiName = new JLabel();
    lblGuiVersion = new JLabel();
    lblGuiDate = new JLabel();
    lblAppName = new JLabel();
    lblAppVersion = new JLabel();
    lblAppDate = new JLabel();
    lblAppAuthor = new JLabel();
    lblInfo1 = new JLabel();
    lblInfo2 = new JLabel();
    buttonBar = new JPanel();
    btnLicense = new JButton();
    okButton = new JButton();

    //======== this ========
    setTitle("JmsStream About");
    setModal(true);//  www  .  j  a v  a2s  .  c  om
    setResizable(false);
    setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());

    //======== dialogPane ========
    {
        dialogPane.setBorder(Borders.DIALOG_BORDER);
        dialogPane.setLayout(new BorderLayout());

        //======== contentPanel ========
        {
            contentPanel.setLayout(
                    new FormLayout("110dlu, $rgap, default", "2*(default, $lgap), 20dlu, 2*($lgap, default)"));

            //---- lblTibco ----
            lblTibco.setIcon(new ImageIcon(
                    getClass().getResource("/com/tibco/util/gui/resources/TIBCOLogo_144wide.png")));
            contentPanel.add(lblTibco, CC.xy(1, 1, CC.CENTER, CC.DEFAULT));

            //======== panel1 ========
            {
                panel1.setLayout(new FormLayout("3dlu, 7dlu, default",
                        "3*(default, $lgap), default, $ugap, 2*(default, $lgap), default"));

                //---- lblGuiName ----
                lblGuiName.setText("JmsStream GUI");
                lblGuiName.setFont(new Font("Tahoma", Font.BOLD, 18));
                panel1.add(lblGuiName, CC.xy(3, 3));

                //---- lblGuiVersion ----
                lblGuiVersion.setText("Version 0.0.0");
                lblGuiVersion.setFont(new Font("Tahoma", Font.BOLD, 14));
                panel1.add(lblGuiVersion, CC.xy(3, 5));

                //---- lblGuiDate ----
                lblGuiDate.setText("Build Date: 2000-01-01");
                panel1.add(lblGuiDate, CC.xy(3, 7));

                //---- lblAppName ----
                lblAppName.setText("JmsStream Engine");
                lblAppName.setFont(new Font("Tahoma", Font.BOLD, 18));
                panel1.add(lblAppName, CC.xy(3, 9));

                //---- lblAppVersion ----
                lblAppVersion.setText("Version 0.0.0");
                lblAppVersion.setFont(new Font("Tahoma", Font.BOLD, 14));
                panel1.add(lblAppVersion, CC.xy(3, 11));

                //---- lblAppDate ----
                lblAppDate.setText("Build Date: 2000-01-01");
                panel1.add(lblAppDate, CC.xy(3, 13));
            }
            contentPanel.add(panel1, CC.xy(3, 1));

            //---- lblAppAuthor ----
            lblAppAuthor.setText("Author:  A. Kevin Bailey");
            contentPanel.add(lblAppAuthor, CC.xywh(1, 3, 3, 1));

            //---- lblInfo1 ----
            lblInfo1.setText("This software comes with no warranties of any kind.");
            contentPanel.add(lblInfo1, CC.xywh(1, 7, 3, 1));

            //---- lblInfo2 ----
            lblInfo2.setText("Read the license for more details.");
            contentPanel.add(lblInfo2, CC.xywh(1, 9, 3, 1));
        }
        dialogPane.add(contentPanel, BorderLayout.CENTER);

        //======== buttonBar ========
        {
            buttonBar.setBorder(Borders.BUTTON_BAR_GAP_BORDER);
            buttonBar.setLayout(new FormLayout("default, $glue, $button", "pref"));

            //---- btnLicense ----
            btnLicense.setText("License...");
            btnLicense.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    btnLicenseActionPerformed();
                }
            });
            buttonBar.add(btnLicense, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

            //---- okButton ----
            okButton.setText("OK");
            okButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    okButtonActionPerformed();
                }
            });
            buttonBar.add(okButton, CC.xy(3, 1));
        }
        dialogPane.add(buttonBar, BorderLayout.SOUTH);
    }
    contentPane.add(dialogPane, BorderLayout.CENTER);
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

    lblGuiVersion.setText("Version " + JmsStreamGUI.APP_VERSION);
    lblGuiDate.setText("Build Date: " + JmsStreamGUI.APP_DATE);
    lblAppVersion.setText("Version " + JmsStream.APP_VERSION);
    lblAppDate.setText("Build Date: " + JmsStream.APP_DATE);
}

From source file:GUI.dl_savelog.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY
    // //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Kunkka Lee
    panel3 = new JPanel();
    label6 = new JLabel();
    txt_sheetname = new JTextField();
    txt_rowB = new JSpinner();
    txt_rowE = new JSpinner();
    btn_Savelog = new JButton();
    txt_colB = new JSpinner();
    txt_colE = new JSpinner();

    // ======== this ========
    setTitle("Save log");
    setResizable(false);//  ww  w  . j a  va  2  s  .  c  om
    setModal(true);
    setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    Container contentPane = getContentPane();
    contentPane.setLayout(new GridBagLayout());
    ((GridBagLayout) contentPane.getLayout()).columnWidths = new int[] { 0, 0 };
    ((GridBagLayout) contentPane.getLayout()).rowHeights = new int[] { 48, 0 };
    ((GridBagLayout) contentPane.getLayout()).columnWeights = new double[] { 1.0, 1.0E-4 };
    ((GridBagLayout) contentPane.getLayout()).rowWeights = new double[] { 0.0, 1.0E-4 };

    // ======== panel3 ========
    {

        // JFormDesigner evaluation mark
        //         panel3.setBorder(new javax.swing.border.CompoundBorder(
        //               new javax.swing.border.TitledBorder(
        //                     new javax.swing.border.EmptyBorder(0, 0, 0, 0),
        //                     "JFormDesigner Evaluation",
        //                     javax.swing.border.TitledBorder.CENTER,
        //                     javax.swing.border.TitledBorder.BOTTOM,
        //                     new java.awt.Font("Dialog", java.awt.Font.BOLD, 12),
        //                     java.awt.Color.red), panel3.getBorder()));
        panel3.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent e) {
                if ("border".equals(e.getPropertyName()))
                    throw new RuntimeException();
            }
        });

        panel3.setLayout(new FormLayout("48dlu:grow, $lcgap, 92dlu:grow, 2*($lcgap, default:grow)",
                "default:grow, $lgap, default"));

        // ---- label6 ----
        label6.setText("Sheet Name");
        panel3.add(label6, CC.xy(1, 1));
        panel3.add(txt_sheetname, CC.xy(3, 1));

        // ---- txt_rowB ----
        txt_rowB.setModel(new SpinnerNumberModel(1, 0, null, 1));
        txt_rowB.setToolTipText("Row Begin");
        panel3.add(txt_rowB, CC.xy(5, 1));

        // ---- txt_rowE ----
        txt_rowE.setModel(new SpinnerNumberModel(1, 0, null, 1));
        txt_rowE.setToolTipText("Row End");
        panel3.add(txt_rowE, CC.xy(7, 1));

        // ---- btn_Savelog ----
        btn_Savelog.setText("Save");
        btn_Savelog.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                btn_Savelog(e);
            }
        });
        panel3.add(btn_Savelog, CC.xy(1, 3, CC.LEFT, CC.DEFAULT));

        // ---- txt_colB ----
        txt_colB.setModel(new SpinnerNumberModel(1, 0, null, 1));
        txt_colB.setToolTipText("Column Begin");
        panel3.add(txt_colB, CC.xy(5, 3));

        // ---- txt_colE ----
        txt_colE.setModel(new SpinnerNumberModel(999, 0, null, 1));
        txt_colE.setToolTipText("Column End");
        panel3.add(txt_colE, CC.xy(7, 3));
    }
    contentPane.add(panel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER,
            GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
    pack();
    setLocationRelativeTo(getOwner());
    // //GEN-END:initComponents
}