Example usage for javax.swing SwingConstants RIGHT

List of usage examples for javax.swing SwingConstants RIGHT

Introduction

In this page you can find the example usage for javax.swing SwingConstants RIGHT.

Prototype

int RIGHT

To view the source code for javax.swing SwingConstants RIGHT.

Click Source Link

Document

Box-orientation constant used to specify the right side of a box.

Usage

From source file:com.peterbochs.instrument.InstrumentPanel.java

private JLabel getJSegmentStartLabel() {
    if (jSegmentStartLabel == null) {
        jSegmentStartLabel = new JLabel();
        jSegmentStartLabel.setText("Segment start");
        jSegmentStartLabel.setHorizontalAlignment(SwingConstants.RIGHT);
    }//  w  w w .j a va 2s  .c om
    return jSegmentStartLabel;
}

From source file:com.peterbochs.instrument.InstrumentPanel.java

private JLabel getJSegmentEndLabel() {
    if (jSegmentEndLabel == null) {
        jSegmentEndLabel = new JLabel();
        jSegmentEndLabel.setText("Segment end");
        jSegmentEndLabel.setHorizontalAlignment(SwingConstants.RIGHT);
    }//from   w ww  . java 2s .  c o  m
    return jSegmentEndLabel;
}

From source file:com.peterbochs.instrument.InstrumentPanel.java

private JLabel getJSegmentFromLabel() {
    if (jSegmentFromLabel == null) {
        jSegmentFromLabel = new JLabel();
        jSegmentFromLabel.setText("Segment jump from");
        jSegmentFromLabel.setHorizontalAlignment(SwingConstants.RIGHT);
    }/*from   w ww.  jav a 2s  .c  o m*/
    return jSegmentFromLabel;
}

From source file:com.peterbochs.instrument.InstrumentPanel.java

private JLabel getJSegmentToLabel() {
    if (jSegmentToLabel == null) {
        jSegmentToLabel = new JLabel();
        jSegmentToLabel.setText("Segment jump to");
        jSegmentToLabel.setHorizontalAlignment(SwingConstants.RIGHT);
    }//w  w  w.ja  va  2 s. co m
    return jSegmentToLabel;
}

From source file:ECallCenter21.java

@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    lookAndFeelGroup = new javax.swing.ButtonGroup();
    colorMaskPanel = new javax.swing.JPanel();
    tabPane = new javax.swing.JTabbedPane();
    callCenterPanel = new javax.swing.JPanel();
    layeredImagePane = new javax.swing.JLayeredPane();
    phonesPoolTableScrollPane = new javax.swing.JScrollPane();
    phonesPoolTable = new javax.swing.JTable();

    imageBrandLabel = new javax.swing.JLabel();
    imageProductLabel = new javax.swing.JLabel();
    imagePostfixLabel = new javax.swing.JLabel();
    imageLinkLabel = new javax.swing.JLabel();
    imageIconLabel = new javax.swing.JLabel();
    statisticsPanel = new javax.swing.JPanel();
    mainPanel = new javax.swing.JPanel();
    systemStatsLabel = new javax.swing.JLabel();
    systemStatsScrollPane = new javax.swing.JScrollPane();
    systemStatsTable = new javax.swing.JTable();
    orderLabel = new javax.swing.JLabel();
    orderStatsScrollPane = new javax.swing.JScrollPane();
    orderTable = new javax.swing.JTable();
    phoneStatsLabel = new javax.swing.JLabel();
    phoneStatsScrollPane = new javax.swing.JScrollPane();
    phoneStatsTable = new javax.swing.JTable();
    reponseStatsLabel = new javax.swing.JLabel();
    responseStatsScrollPane = new javax.swing.JScrollPane();
    responseStatsTable = new javax.swing.JTable();
    campaignLabel = new javax.swing.JLabel();
    campaignScrollPane = new javax.swing.JScrollPane();
    campaignTable = new javax.swing.JTable();
    turnoverStatsLabel = new javax.swing.JLabel();
    turnoverStatsScrollPane = new javax.swing.JScrollPane();
    turnoverStatsTable = new javax.swing.JTable();
    graphPanel = new javax.swing.JPanel();
    graphInnerPanel = new javax.swing.JPanel();
    phoneDisplayTabPanel = new javax.swing.JPanel();
    phoneDisplayPanel = new javax.swing.JPanel();
    softphoneInfoLabel = new javax.swing.JLabel();
    proxyInfoLabel = new javax.swing.JLabel();
    primaryStatusLabel = new javax.swing.JLabel();
    primaryStatusDetailsLabel = new javax.swing.JLabel();
    secondaryStatusLabel = new javax.swing.JLabel();
    secondaryStatusDetailsLabel = new javax.swing.JLabel();
    onPanel = new javax.swing.JPanel();
    onLabel = new javax.swing.JLabel();
    idlePanel = new javax.swing.JPanel();
    idleLabel = new javax.swing.JLabel();
    connectingPanel = new javax.swing.JPanel();
    connectingLabel = new javax.swing.JLabel();
    callingPanel = new javax.swing.JPanel();
    callingLabel = new javax.swing.JLabel();
    ringingPanel = new javax.swing.JPanel();
    ringingLabel = new javax.swing.JLabel();
    acceptingPanel = new javax.swing.JPanel();
    acceptingLabel = new javax.swing.JLabel();
    talkingPanel = new javax.swing.JPanel();
    talkingLabel = new javax.swing.JLabel();
    registeredPanel = new javax.swing.JPanel();
    registeredLabel = new javax.swing.JLabel();
    answerPanel = new javax.swing.JPanel();
    answerLabel = new javax.swing.JLabel();
    mutePanel = new javax.swing.JPanel();
    muteLabel = new javax.swing.JLabel();
    cancelPanel = new javax.swing.JPanel();
    cancelLabel = new javax.swing.JLabel();
    toolsPanel = new javax.swing.JPanel();
    toolsInnerPanel = new javax.swing.JPanel();
    netManagerOutboundServerToggleButton = new javax.swing.JToggleButton();
    netManagerInboundServerToggleButton = new javax.swing.JToggleButton();
    controlsPanel = new javax.swing.JPanel();
    displayLabel = new javax.swing.JLabel();
    enableDisplayCheckBox = new javax.swing.JCheckBox();
    snmpLabel1 = new javax.swing.JLabel();
    smoothCheckBox = new javax.swing.JCheckBox();
    scanCheckBox = new javax.swing.JCheckBox();
    smoothLabel = new javax.swing.JLabel();
    lookAndFeelPanel = new javax.swing.JPanel();
    lookAndFeelRButtonMotif = new javax.swing.JRadioButton();
    lookAndFeelRButtonGTK = new javax.swing.JRadioButton();
    lookAndFeelRButtonNimbus = new javax.swing.JRadioButton();
    lookAndFeelRButtonWindows = new javax.swing.JRadioButton();
    sipInfoPanel = new javax.swing.JPanel();
    destinationScrollPane = new javax.swing.JScrollPane();
    destinationTextArea = new javax.swing.JTextArea();
    netConfigPanel = new javax.swing.JPanel();
    authenticationPanel = new javax.swing.JPanel();
    iconsLabel = new javax.swing.JLabel();
    iconsCheckBox = new javax.swing.JCheckBox();
    clientIPLabel = new javax.swing.JLabel();
    clientIPField = new javax.swing.JTextField();
    pubIPLabel = new javax.swing.JLabel();
    pubIPField = new javax.swing.JTextField();
    clientPortLabel = new javax.swing.JLabel();
    registerCheckBox = new javax.swing.JCheckBox();
    registerLabel = new javax.swing.JLabel();
    clientPortField = new javax.swing.JTextField();
    domainLabel = new javax.swing.JLabel();
    domainField = new javax.swing.JTextField();
    serverIPLabel = new javax.swing.JLabel();
    serverIPField = new javax.swing.JTextField();
    serverPortLabel = new javax.swing.JLabel();
    serverPortField = new javax.swing.JTextField();
    pfixLabel = new javax.swing.JLabel();
    usersecretLabel = new javax.swing.JLabel();
    suffixLabel = new javax.swing.JLabel();
    prefixField = new javax.swing.JTextField();
    usernameField = new javax.swing.JTextField();
    suffixField = new javax.swing.JTextField();
    saveConfigurationButton = new javax.swing.JButton();
    toegangField = new javax.swing.JPasswordField();
    secretLabel = new javax.swing.JLabel();
    prefPhoneLinesPanel = new javax.swing.JPanel();
    prefPhoneLinesSlider = new javax.swing.JSlider();
    licensePanel = new javax.swing.JPanel();
    licenseTypePanel = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    vergunningTypeList = new javax.swing.JList();
    licenseDatePanel = new javax.swing.JPanel();
    vergunningDateChooserPanel = new datechooser.beans.DateChooserPanel();
    licensePeriodPanel = new javax.swing.JPanel();
    licensePeriodScrollPane = new javax.swing.JScrollPane();
    vergunningPeriodList = new javax.swing.JList();
    activationCodePanel = new javax.swing.JPanel();
    activationCodeField = new javax.swing.JTextField();
    licenseCodePanel = new javax.swing.JPanel();
    vergunningCodeField = new javax.swing.JTextField();
    licenseDetailsPanel = new javax.swing.JPanel();
    licenseDetailsScrollPane = new javax.swing.JScrollPane();
    vergunningDetailsTable = new javax.swing.JTable();
    applyVergunningButton = new javax.swing.JButton();
    requestVergunningButton = new javax.swing.JButton();
    logPanel = new javax.swing.JPanel();
    logScrollPane = new javax.swing.JScrollPane();
    textLogArea = new javax.swing.JTextArea();
    aboutPanel = new javax.swing.JPanel();
    brandLabel = new javax.swing.JLabel();
    brandDescriptionLabel = new javax.swing.JTextArea();
    productLabel = new javax.swing.JLabel();
    productDescriptionLabel = new javax.swing.JTextArea();
    copyrightLabel = new javax.swing.JTextArea();
    displayPanel = new javax.swing.JPanel();
    captionTable = new javax.swing.JTable();
    statusBar = new javax.swing.JTextPane();
    controlButtonPanel = new javax.swing.JPanel();
    callButton = new javax.swing.JButton();
    serviceLoopProgressBar = new javax.swing.JProgressBar();
    autoSpeedToggleButton = new javax.swing.JToggleButton();
    powerToggleButton = new javax.swing.JToggleButton();
    runCampaignToggleButton = new javax.swing.JToggleButton();
    endButton = new javax.swing.JButton();
    phoneButton = new javax.swing.JButton();
    stopCampaignButton = new javax.swing.JButton();
    muteAudioToggleButton = new javax.swing.JToggleButton();
    campaignProgressBar = new javax.swing.JProgressBar();
    humanResponseSimulatorToggleButton = new javax.swing.JToggleButton();
    registerToggleButton = new javax.swing.JToggleButton();
    campaignComboBox = new javax.swing.JComboBox();
    debugToggleButton = new javax.swing.JToggleButton();
    resizeWindowButton = new javax.swing.JButton();
    controlSliderPanel = new javax.swing.JPanel();
    buttonPanel = new javax.swing.JPanel();
    outboundSliderPanel = new javax.swing.JPanel();
    vmUsageThresholdLabel = new javax.swing.JLabel();
    vmUsagePauseValue = new javax.swing.JLabel();
    vmUsageThresholdSlider = new javax.swing.JSlider();
    memFreeThresholdLabel = new javax.swing.JLabel();
    memFreeThresholdValue = new javax.swing.JLabel();
    memFreeThresholdSlider = new javax.swing.JSlider();
    heapMemFreeThresholdLabel = new javax.swing.JLabel();
    heapMemFreeThresholdValue = new javax.swing.JLabel();
    heapMemFreeThresholdSlider = new javax.swing.JSlider();
    connectingTallyLimitLabel = new javax.swing.JLabel();
    connectingTallyLimitValue = new javax.swing.JLabel();
    connectingTallyLimitSlider = new javax.swing.JSlider();
    callingTallyLimitLabel = new javax.swing.JLabel();
    callingTallyLimitValue = new javax.swing.JLabel();
    callingTallyLimitSlider = new javax.swing.JSlider();
    establishedTallyLimitLabel = new javax.swing.JLabel();
    establishedTallyLimitValue = new javax.swing.JLabel();
    establishedTallyLimitSlider = new javax.swing.JSlider();
    callSpeedLabel = new javax.swing.JLabel();
    callSpeedValue = new javax.swing.JLabel();
    callSpeedSlider = new javax.swing.JSlider();
    performanceMeterPanel = new javax.swing.JPanel();
    inboundSliderPanel = new javax.swing.JPanel();
    registerSpeedLabel = new javax.swing.JLabel();
    inboundRingingResponseDelayLabel = new javax.swing.JLabel();
    inboundRingingResponseBusyRatioLabel = new javax.swing.JLabel();
    inboundEndDelayLabel = new javax.swing.JLabel();
    inboundEndDelayValue = new javax.swing.JLabel();
    registerSpeedValue = new javax.swing.JLabel();
    inboundRingingResponseDelayValue = new javax.swing.JLabel();
    inboundRingingResponseBusyRatioValue = new javax.swing.JLabel();
    registerSpeedSlider = new javax.swing.JSlider();
    inboundRingingResponseDelaySlider = new javax.swing.JSlider();
    inboundRingingResponseBusyRatioSlider = new javax.swing.JSlider();
    inboundEndDelaySlider = new javax.swing.JSlider();

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setBackground(new java.awt.Color(216, 216, 222));
    setBounds(new java.awt.Rectangle(0, 22, 710, 796));
    setFocusable(false);/*from   w ww.j a  v  a2  s  .  co m*/
    setFont(new java.awt.Font("STHeiti", 0, 10));
    setMinimumSize(new java.awt.Dimension(710, 598));
    setName(""); // NOI18N
    setSize(new java.awt.Dimension(710, 830));

    colorMaskPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    colorMaskPanel.setMaximumSize(new java.awt.Dimension(700, 785));
    colorMaskPanel.setMinimumSize(new java.awt.Dimension(700, 400));

    tabPane.setBackground(new java.awt.Color(204, 204, 204));
    tabPane.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("STHeiti", 0, 13))); // NOI18N
    tabPane.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT);
    tabPane.setToolTipText("");
    tabPane.setFocusTraversalKeysEnabled(false);
    tabPane.setFont(new java.awt.Font("STHeiti", 0, 13));
    tabPane.setMaximumSize(new java.awt.Dimension(695, 390));
    tabPane.setMinimumSize(new java.awt.Dimension(695, 390));
    tabPane.setNextFocusableComponent(statisticsPanel);
    tabPane.setPreferredSize(new java.awt.Dimension(695, 390));
    tabPane.setSize(new java.awt.Dimension(695, 390));
    tabPane.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            tabPaneMouseClicked(evt);
        }
    });

    callCenterPanel.setBackground(new java.awt.Color(255, 255, 255));
    callCenterPanel.setToolTipText("Visualised status & stats of all Phones in Pool");
    callCenterPanel.setFocusTraversalKeysEnabled(false);
    callCenterPanel.setFont(new java.awt.Font("STHeiti", 0, 12));
    callCenterPanel.setNextFocusableComponent(statisticsPanel);
    callCenterPanel.setOpaque(false);
    callCenterPanel.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyPressed(java.awt.event.KeyEvent evt) {
            callCenterPanelKeyPressed(evt);
        }
    });

    layeredImagePane.setFont(new java.awt.Font("STHeiti", 0, 13));
    layeredImagePane.setMaximumSize(new java.awt.Dimension(670, 333));
    layeredImagePane.setSize(new java.awt.Dimension(670, 333));

    phonesPoolTableScrollPane
            .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    phonesPoolTableScrollPane
            .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
    phonesPoolTableScrollPane.setAutoscrolls(true);
    phonesPoolTableScrollPane.setColumnHeaderView(null);
    phonesPoolTableScrollPane.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    phonesPoolTableScrollPane.setEnabled(false);
    phonesPoolTableScrollPane.setFocusTraversalKeysEnabled(false);
    phonesPoolTableScrollPane.setFocusable(false);
    phonesPoolTableScrollPane.setMaximumSize(new java.awt.Dimension(670, 330));
    phonesPoolTableScrollPane.setMinimumSize(new java.awt.Dimension(670, 330));
    phonesPoolTableScrollPane.setPreferredSize(new java.awt.Dimension(670, 330));

    phonesPoolTable.setFont(new java.awt.Font("STHeiti", 0, 14)); // NOI18N
    phonesPoolTable.setForeground(new java.awt.Color(102, 102, 102));
    phonesPoolTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] {

    }));
    phonesPoolTable.setToolTipText("Double click to show Phone");
    phonesPoolTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
    phonesPoolTable.setAutoscrolls(false);
    phonesPoolTable.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
    phonesPoolTable.setDoubleBuffered(true);
    phonesPoolTable.setFocusTraversalKeysEnabled(false);
    phonesPoolTable.setFocusable(false);
    phonesPoolTable.setRequestFocusEnabled(false);
    phonesPoolTable.setRowSelectionAllowed(false);
    phonesPoolTable.setSelectionBackground(new java.awt.Color(204, 204, 204));
    phonesPoolTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    phonesPoolTable.setShowGrid(false);
    phonesPoolTable.getTableHeader().setResizingAllowed(false);
    phonesPoolTable.getTableHeader().setReorderingAllowed(false);
    phonesPoolTable.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            phonesPoolTableMouseClicked(evt);
        }
    });
    phonesPoolTableScrollPane.setViewportView(phonesPoolTable);

    phonesPoolTableScrollPane.setBounds(0, 0, 660, 330);
    layeredImagePane.add(phonesPoolTableScrollPane, javax.swing.JLayeredPane.DEFAULT_LAYER);

    imageBrandLabel.setFont(new java.awt.Font("STHeiti", 0, 48));
    imageBrandLabel.setForeground(new java.awt.Color(255, 255, 255));
    imageBrandLabel.setText("VoipStorm");
    imageBrandLabel.setToolTipText("");
    imageBrandLabel.setBounds(30, 30, 250, 50);
    layeredImagePane.add(imageBrandLabel, javax.swing.JLayeredPane.DEFAULT_LAYER);

    imageProductLabel.setFont(new java.awt.Font("STHeiti", 0, 18));
    imageProductLabel.setForeground(new java.awt.Color(233, 232, 232));
    imageProductLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    imageProductLabel.setText("ECallCenter 21");
    imageProductLabel.setToolTipText("");
    imageProductLabel.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
    imageProductLabel.setBounds(30, 80, 140, 20);
    layeredImagePane.add(imageProductLabel, javax.swing.JLayeredPane.DEFAULT_LAYER);

    imagePostfixLabel.setFont(new java.awt.Font("STHeiti", 2, 18));
    imagePostfixLabel.setForeground(new java.awt.Color(203, 254, 254));
    imagePostfixLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    imagePostfixLabel.setText("st Century");
    imagePostfixLabel.setToolTipText("");
    imagePostfixLabel.setBounds(170, 80, 100, 20);
    layeredImagePane.add(imagePostfixLabel, javax.swing.JLayeredPane.DEFAULT_LAYER);

    imageLinkLabel.setFont(new java.awt.Font("STHeiti", 0, 14));
    imageLinkLabel.setForeground(new java.awt.Color(204, 204, 204));
    imageLinkLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    imageLinkLabel.setText("http://www.voipstorm.nl/");
    imageLinkLabel.setToolTipText("");
    imageLinkLabel.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
    imageLinkLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            imageLinkLabelMouseClicked(evt);
        }

        public void mouseExited(java.awt.event.MouseEvent evt) {
            imageLinkLabelMouseExited(evt);
        }

        public void mouseEntered(java.awt.event.MouseEvent evt) {
            imageLinkLabelMouseEntered(evt);
        }
    });
    imageLinkLabel.setBounds(240, 300, 190, 20);
    layeredImagePane.add(imageLinkLabel, javax.swing.JLayeredPane.DEFAULT_LAYER);

    imageIconLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    imageIconLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    imageIconLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/vsheader.jpg"))); // NOI18N
    imageIconLabel.setToolTipText("");
    imageIconLabel.setMaximumSize(new java.awt.Dimension(670, 333));
    imageIconLabel.setMinimumSize(new java.awt.Dimension(670, 333));
    imageIconLabel.setOpaque(true);
    imageIconLabel.setPreferredSize(new java.awt.Dimension(670, 333));
    imageIconLabel.setBounds(-2, 0, 670, 330);
    layeredImagePane.add(imageIconLabel, javax.swing.JLayeredPane.DEFAULT_LAYER);

    org.jdesktop.layout.GroupLayout callCenterPanelLayout = new org.jdesktop.layout.GroupLayout(
            callCenterPanel);
    callCenterPanel.setLayout(callCenterPanelLayout);
    callCenterPanelLayout.setHorizontalGroup(
            callCenterPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(callCenterPanelLayout.createSequentialGroup().addContainerGap().add(layeredImagePane,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 656, Short.MAX_VALUE)));
    callCenterPanelLayout
            .setVerticalGroup(callCenterPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(callCenterPanelLayout.createSequentialGroup().addContainerGap()
                            .add(layeredImagePane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 333,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    tabPane.addTab("Call Center", callCenterPanel);

    statisticsPanel.setToolTipText("Overview Overall Statistics Campaign");
    statisticsPanel.setFocusTraversalKeysEnabled(false);
    statisticsPanel.setFont(new java.awt.Font("STHeiti", 0, 12));
    statisticsPanel.setNextFocusableComponent(graphPanel);
    statisticsPanel.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyPressed(java.awt.event.KeyEvent evt) {
            statisticsPanelKeyPressed(evt);
        }
    });

    mainPanel.setBackground(new java.awt.Color(255, 255, 255));
    mainPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    mainPanel.setMaximumSize(new java.awt.Dimension(1600, 1600));
    mainPanel.setPreferredSize(new java.awt.Dimension(800, 241));

    systemStatsLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    systemStatsLabel.setForeground(new java.awt.Color(102, 102, 102));
    systemStatsLabel.setText("System (Health)");

    systemStatsScrollPane
            .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    systemStatsScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);

    systemStatsTable.setFont(new java.awt.Font("STHeiti", 0, 10)); // NOI18N
    systemStatsTable.setForeground(new java.awt.Color(102, 102, 102));
    systemStatsTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {
            { "VM Usage", new Long(0), "%" }, { "Threads", new Long(0), "" }, { "MemFree", new Long(0), "MB" },
            { "HeapMemMax", new Long(0), "MB" }, { "HeapMemTot", new Long(0), "MB" },
            { "HeapMemFree", new Long(0), "MB" }, { " ", null, null } }, new String[] { "", "", "" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.Long.class, java.lang.String.class };
        boolean[] canEdit = new boolean[] { false, false, false };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    systemStatsTable.setToolTipText("System Utilization Statistics used by Automated Call Burst Rate Slider");
    systemStatsTable.setAutoCreateRowSorter(true);
    systemStatsTable.setAutoscrolls(false);
    systemStatsTable.setDoubleBuffered(true);
    systemStatsTable.setFocusable(false);
    systemStatsTable.setMaximumSize(new java.awt.Dimension(55, 110));
    systemStatsTable.setMinimumSize(new java.awt.Dimension(55, 110));
    systemStatsTable.setName("name"); // NOI18N
    systemStatsTable.setPreferredSize(new java.awt.Dimension(55, 110));
    systemStatsTable.setRowHeight(15);
    systemStatsTable.setRowSelectionAllowed(false);
    systemStatsTable.setSelectionBackground(new java.awt.Color(51, 102, 255));
    systemStatsTable.setShowGrid(false);
    systemStatsTable.setSize(new java.awt.Dimension(55, 110));
    systemStatsScrollPane.setViewportView(systemStatsTable);
    systemStatsTable.getColumnModel().getColumn(0).setResizable(false);
    systemStatsTable.getColumnModel().getColumn(0).setPreferredWidth(80);
    systemStatsTable.getColumnModel().getColumn(1).setResizable(false);
    systemStatsTable.getColumnModel().getColumn(1).setPreferredWidth(50);
    systemStatsTable.getColumnModel().getColumn(2).setResizable(false);
    systemStatsTable.getColumnModel().getColumn(2).setPreferredWidth(20);

    orderLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    orderLabel.setForeground(new java.awt.Color(102, 102, 102));
    orderLabel.setText("Order");

    orderStatsScrollPane
            .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    orderStatsScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);

    orderTable.setFont(new java.awt.Font("STHeiti", 0, 10));
    orderTable.setForeground(new java.awt.Color(102, 102, 102));
    orderTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { { "Recipients", "-" },
            { "Time Window", "-" }, { "Total Calls", "-" }, { "Call Duration", "-" }, { "Message Rate", "-" },
            { "Message Rate", "-" }, { "SubTotal", "-" } }, new String[] { "", "" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.String.class };
        boolean[] canEdit = new boolean[] { false, false };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    orderTable.setToolTipText("Represents highlevel Running Campaign Info based on Customer Order");
    orderTable.setAutoCreateRowSorter(true);
    orderTable.setAutoscrolls(false);
    orderTable.setDoubleBuffered(true);
    orderTable.setFocusable(false);
    orderTable.setMaximumSize(new java.awt.Dimension(55, 110));
    orderTable.setMinimumSize(new java.awt.Dimension(55, 110));
    orderTable.setName("name"); // NOI18N
    orderTable.setPreferredSize(new java.awt.Dimension(55, 110));
    orderTable.setRowHeight(15);
    orderTable.setRowSelectionAllowed(false);
    orderTable.setSelectionBackground(new java.awt.Color(51, 102, 255));
    orderTable.setShowGrid(false);
    orderTable.setSize(new java.awt.Dimension(55, 110));
    orderStatsScrollPane.setViewportView(orderTable);
    orderTable.getColumnModel().getColumn(0).setResizable(false);
    orderTable.getColumnModel().getColumn(0).setPreferredWidth(40);
    orderTable.getColumnModel().getColumn(1).setResizable(false);
    orderTable.getColumnModel().getColumn(1).setPreferredWidth(15);

    phoneStatsLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    phoneStatsLabel.setForeground(new java.awt.Color(102, 102, 102));
    phoneStatsLabel.setText("Phone Pool");

    phoneStatsScrollPane
            .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    phoneStatsScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
    phoneStatsScrollPane.setFont(new java.awt.Font("STHeiti", 0, 13));

    phoneStatsTable.setFont(new java.awt.Font("STHeiti", 0, 10));
    phoneStatsTable.setForeground(new java.awt.Color(102, 102, 102));
    phoneStatsTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object[][] { { "Phones", new Long(0) }, { "Processing", new Long(0) }, { "On", new Long(0) },
                    { "Registered", new Long(0) }, { "Listening", new Long(0) }, { "Connecting", new Long(0) },
                    { "Trying", new Long(0) }, { "Calling", new Long(0) }, { "Accepting", new Long(0) },
                    { "Ringing", new Long(0) }, { "Established", new Long(0) }, { "Total Calls", new Long(0) },
                    { " Total Established", new Long(0) }, { " ", null }, { " ", null }, { " ", null },
                    { " ", null }, { " ", null }, { " ", null }, { null, null }, { " ", null } },
            new String[] { "", "" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.Long.class };
        boolean[] canEdit = new boolean[] { true, false };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    phoneStatsTable.setToolTipText("Overall Status of all Phones in Pool");
    phoneStatsTable.setAutoCreateRowSorter(true);
    phoneStatsTable.setAutoscrolls(false);
    phoneStatsTable.setDoubleBuffered(true);
    phoneStatsTable.setEditingColumn(0);
    phoneStatsTable.setEditingRow(0);
    phoneStatsTable.setFocusable(false);
    phoneStatsTable.setMaximumSize(new java.awt.Dimension(1400, 330));
    phoneStatsTable.setMinimumSize(new java.awt.Dimension(30, 330));
    phoneStatsTable.setName("name"); // NOI18N
    phoneStatsTable.setPreferredSize(new java.awt.Dimension(75, 330));
    phoneStatsTable.setRowHeight(15);
    phoneStatsTable.setRowSelectionAllowed(false);
    phoneStatsTable.setSelectionBackground(new java.awt.Color(51, 102, 255));
    phoneStatsTable.setShowGrid(false);
    phoneStatsTable.setSize(new java.awt.Dimension(75, 190));
    phoneStatsScrollPane.setViewportView(phoneStatsTable);
    phoneStatsTable.getColumnModel().getColumn(0).setResizable(false);
    phoneStatsTable.getColumnModel().getColumn(0).setPreferredWidth(40);
    phoneStatsTable.getColumnModel().getColumn(1).setResizable(false);
    phoneStatsTable.getColumnModel().getColumn(1).setPreferredWidth(40);

    reponseStatsLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    reponseStatsLabel.setForeground(new java.awt.Color(102, 102, 102));
    reponseStatsLabel.setText("Response");

    responseStatsScrollPane
            .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    responseStatsScrollPane
            .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);

    responseStatsTable.setFont(new java.awt.Font("STHeiti", 0, 10));
    responseStatsTable.setForeground(new java.awt.Color(102, 102, 102));
    responseStatsTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object[][] { { "Info", "1XX", new Long(0) }, { "Success", "2XX", new Long(0) },
                    { "Redirection", "3XX", new Long(0) }, { "Client Error", "4XX", new Long(0) },
                    { "Server Error", "5XX", new Long(0) }, { "Gen. Error", "6XX", new Long(0) },
                    { "", "", null }, { null, null, null }, { null, null, null }, { null, null, null },
                    { null, null, null }, { "Timeout", null, new Long(0) }, { " ", null, null },
                    { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null },
                    { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null } },
            new String[] { "", "", "" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.String.class, java.lang.Long.class };
        boolean[] canEdit = new boolean[] { true, false, false };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    responseStatsTable.setToolTipText("Represents Highlevel Proxy/Answerer Response Statistics");
    responseStatsTable.setAutoCreateRowSorter(true);
    responseStatsTable.setAutoscrolls(false);
    responseStatsTable.setDoubleBuffered(true);
    responseStatsTable.setFocusable(false);
    responseStatsTable.setMaximumSize(new java.awt.Dimension(2000, 330));
    responseStatsTable.setMinimumSize(new java.awt.Dimension(45, 330));
    responseStatsTable.setName("name"); // NOI18N
    responseStatsTable.setPreferredSize(new java.awt.Dimension(95, 330));
    responseStatsTable.setRowHeight(15);
    responseStatsTable.setRowSelectionAllowed(false);
    responseStatsTable.setSelectionBackground(new java.awt.Color(51, 102, 255));
    responseStatsTable.setShowGrid(false);
    responseStatsScrollPane.setViewportView(responseStatsTable);
    responseStatsTable.getColumnModel().getColumn(0).setResizable(false);
    responseStatsTable.getColumnModel().getColumn(0).setPreferredWidth(60);
    responseStatsTable.getColumnModel().getColumn(1).setResizable(false);
    responseStatsTable.getColumnModel().getColumn(1).setPreferredWidth(10);
    responseStatsTable.getColumnModel().getColumn(2).setResizable(false);
    responseStatsTable.getColumnModel().getColumn(2).setPreferredWidth(25);

    campaignLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    campaignLabel.setForeground(new java.awt.Color(102, 102, 102));
    campaignLabel.setText("Campaign");

    campaignScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    campaignScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);

    campaignTable.setFont(new java.awt.Font("STHeiti", 0, 10));
    campaignTable.setForeground(new java.awt.Color(102, 102, 102));
    campaignTable
            .setModel(
                    new javax.swing.table.DefaultTableModel(
                            new Object[][] { { "Start Sched", "-" }, { "End Sched", "-" }, { "Start Exp", "-" },
                                    { "End Exp", "-" }, { "Start Reg", "-" }, { "End Reg", "-" },
                                    { "Time Total", "-" }, { "Time Past", "-" }, { "Time ETA", "-" },
                                    { "Throughput", "-" }, { " ", null }, { " ", null } },
                            new String[] { "", "" }) {
                        Class[] types = new Class[] { java.lang.String.class, java.lang.String.class };

                        public Class getColumnClass(int columnIndex) {
                            return types[columnIndex];
                        }
                    });
    campaignTable.setToolTipText("Time Statistics related to running Campaign");
    campaignTable.setAutoCreateRowSorter(true);
    campaignTable.setAutoscrolls(false);
    campaignTable.setDoubleBuffered(true);
    campaignTable.setEditingColumn(0);
    campaignTable.setEditingRow(0);
    campaignTable.setFocusable(false);
    campaignTable.setMaximumSize(new java.awt.Dimension(55, 180));
    campaignTable.setMinimumSize(new java.awt.Dimension(55, 180));
    campaignTable.setName("name"); // NOI18N
    campaignTable.setPreferredSize(new java.awt.Dimension(55, 180));
    campaignTable.setRowHeight(15);
    campaignTable.setRowSelectionAllowed(false);
    campaignTable.setSelectionBackground(new java.awt.Color(51, 102, 255));
    campaignTable.setShowGrid(false);
    campaignTable.setSize(new java.awt.Dimension(55, 160));
    campaignScrollPane.setViewportView(campaignTable);
    campaignTable.getColumnModel().getColumn(0).setResizable(false);
    campaignTable.getColumnModel().getColumn(0).setPreferredWidth(30);
    campaignTable.getColumnModel().getColumn(1).setResizable(false);
    campaignTable.getColumnModel().getColumn(1).setPreferredWidth(75);

    turnoverStatsLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    turnoverStatsLabel.setForeground(new java.awt.Color(102, 102, 102));
    turnoverStatsLabel.setText("Turnover");

    turnoverStatsScrollPane
            .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    turnoverStatsScrollPane
            .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);

    turnoverStatsTable.setFont(new java.awt.Font("STHeiti", 0, 10));
    turnoverStatsTable.setForeground(new java.awt.Color(102, 102, 102));
    turnoverStatsTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object[][] { { "Hourly", "", new Float(0.0) }, { "Progress", "", new Float(0.0) },
                    { "Total (excl.)", "", new Float(0.0) }, { " ", null, null }, { " ", null, null },
                    { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null },
                    { " ", null, null }, { " ", null, null }, { null, null, null } },
            new String[] { "", "", "" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.String.class, java.lang.Float.class };
        boolean[] canEdit = new boolean[] { false, false, false };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    turnoverStatsTable.setToolTipText("Financial Statistics");
    turnoverStatsTable.setAutoCreateRowSorter(true);
    turnoverStatsTable.setAutoscrolls(false);
    turnoverStatsTable.setDoubleBuffered(true);
    turnoverStatsTable.setFocusable(false);
    turnoverStatsTable.setMaximumSize(new java.awt.Dimension(55, 180));
    turnoverStatsTable.setMinimumSize(new java.awt.Dimension(55, 180));
    turnoverStatsTable.setName("name"); // NOI18N
    turnoverStatsTable.setPreferredSize(new java.awt.Dimension(55, 180));
    turnoverStatsTable.setRowHeight(15);
    turnoverStatsTable.setRowSelectionAllowed(false);
    turnoverStatsTable.setSelectionBackground(new java.awt.Color(51, 102, 255));
    turnoverStatsTable.setShowGrid(false);
    turnoverStatsTable.setSize(new java.awt.Dimension(55, 160));
    turnoverStatsScrollPane.setViewportView(turnoverStatsTable);
    turnoverStatsTable.getColumnModel().getColumn(0).setResizable(false);
    turnoverStatsTable.getColumnModel().getColumn(0).setPreferredWidth(60);
    turnoverStatsTable.getColumnModel().getColumn(1).setResizable(false);
    turnoverStatsTable.getColumnModel().getColumn(1).setPreferredWidth(10);
    turnoverStatsTable.getColumnModel().getColumn(2).setResizable(false);
    turnoverStatsTable.getColumnModel().getColumn(2).setPreferredWidth(50);

    org.jdesktop.layout.GroupLayout mainPanelLayout = new org.jdesktop.layout.GroupLayout(mainPanel);
    mainPanel.setLayout(mainPanelLayout);
    mainPanelLayout.setHorizontalGroup(mainPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(mainPanelLayout.createSequentialGroup().add(mainPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(mainPanelLayout.createSequentialGroup().add(mainPanelLayout
                            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(mainPanelLayout.createSequentialGroup().add(60, 60, 60).add(systemStatsLabel))
                            .add(mainPanelLayout.createSequentialGroup().addContainerGap().add(mainPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(systemStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            183, Short.MAX_VALUE)
                                    .add(campaignScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 183,
                                            Short.MAX_VALUE))))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                    .add(mainPanelLayout.createSequentialGroup().add(mainPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(turnoverStatsScrollPane,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 148,
                                                    Short.MAX_VALUE)
                                            .add(orderStatsScrollPane, 0, 0, Short.MAX_VALUE))
                                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
                                    .add(mainPanelLayout.createSequentialGroup().add(orderLabel).add(80, 80,
                                            80))))
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, mainPanelLayout.createSequentialGroup()
                            .add(75, 75, 75).add(campaignLabel)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 93, Short.MAX_VALUE)
                            .add(turnoverStatsLabel).add(69, 69, 69)))
                    .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING).add(
                            org.jdesktop.layout.GroupLayout.LEADING,
                            mainPanelLayout.createSequentialGroup()
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(phoneStatsScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            140, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(responseStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            161, Short.MAX_VALUE))
                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                    mainPanelLayout.createSequentialGroup().add(43, 43, 43).add(phoneStatsLabel)
                                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 90,
                                                    Short.MAX_VALUE)
                                            .add(reponseStatsLabel).add(53, 53, 53)))
                    .addContainerGap()));
    mainPanelLayout.setVerticalGroup(mainPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(mainPanelLayout.createSequentialGroup().add(mainPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(mainPanelLayout.createSequentialGroup()
                            .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(reponseStatsLabel).add(phoneStatsLabel))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(phoneStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            310, Short.MAX_VALUE)
                                    .add(responseStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            310, Short.MAX_VALUE)))
                    .add(mainPanelLayout.createSequentialGroup()
                            .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(systemStatsLabel).add(orderLabel))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(mainPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                                    .add(systemStatsScrollPane, 0, 0, Short.MAX_VALUE).add(orderStatsScrollPane,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 119, Short.MAX_VALUE))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(turnoverStatsLabel).add(campaignLabel))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                    .add(turnoverStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            166, Short.MAX_VALUE)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, campaignScrollPane,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 166,
                                            Short.MAX_VALUE))))
                    .addContainerGap()));

    org.jdesktop.layout.GroupLayout statisticsPanelLayout = new org.jdesktop.layout.GroupLayout(
            statisticsPanel);
    statisticsPanel.setLayout(statisticsPanelLayout);
    statisticsPanelLayout.setHorizontalGroup(
            statisticsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(mainPanel,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 662, Short.MAX_VALUE));
    statisticsPanelLayout
            .setVerticalGroup(statisticsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(mainPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 335, Short.MAX_VALUE));

    tabPane.addTab("Statistics", statisticsPanel);

    graphPanel.setEnabled(false);
    graphPanel.setFocusTraversalKeysEnabled(false);
    graphPanel.setFont(new java.awt.Font("STHeiti", 0, 12));
    graphPanel.setNextFocusableComponent(phoneDisplayPanel);
    graphPanel.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyPressed(java.awt.event.KeyEvent evt) {
            graphPanelKeyPressed(evt);
        }
    });

    org.jdesktop.layout.GroupLayout graphInnerPanelLayout = new org.jdesktop.layout.GroupLayout(
            graphInnerPanel);
    graphInnerPanel.setLayout(graphInnerPanelLayout);
    graphInnerPanelLayout.setHorizontalGroup(graphInnerPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 662, Short.MAX_VALUE));
    graphInnerPanelLayout.setVerticalGroup(graphInnerPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 323, Short.MAX_VALUE));

    org.jdesktop.layout.GroupLayout graphPanelLayout = new org.jdesktop.layout.GroupLayout(graphPanel);
    graphPanel.setLayout(graphPanelLayout);
    graphPanelLayout.setHorizontalGroup(graphPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 662, Short.MAX_VALUE)
            .add(graphPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
                    graphInnerPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    graphPanelLayout.setVerticalGroup(graphPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 335, Short.MAX_VALUE)
            .add(graphPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(graphPanelLayout.createSequentialGroup().addContainerGap()
                            .add(graphInnerPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addContainerGap())));

    tabPane.addTab("Graph", graphPanel);

    phoneDisplayTabPanel.setToolTipText("Display for all individual SoftPhones in Pool");
    phoneDisplayTabPanel.setFocusTraversalKeysEnabled(false);
    phoneDisplayTabPanel.setFont(new java.awt.Font("STHeiti", 0, 12));
    phoneDisplayTabPanel.setNextFocusableComponent(netConfigPanel);
    phoneDisplayTabPanel.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyPressed(java.awt.event.KeyEvent evt) {
            phoneDisplayTabPanelKeyPressed(evt);
        }
    });

    phoneDisplayPanel.setBackground(new java.awt.Color(255, 255, 255));
    phoneDisplayPanel.setToolTipText("");
    phoneDisplayPanel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseExited(java.awt.event.MouseEvent evt) {
            phoneDisplayPanelMouseExited(evt);
        }

        public void mouseEntered(java.awt.event.MouseEvent evt) {
            phoneDisplayPanelMouseEntered(evt);
        }
    });

    softphoneInfoLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    softphoneInfoLabel.setForeground(new java.awt.Color(102, 102, 102));
    softphoneInfoLabel.setToolTipText("");

    proxyInfoLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    proxyInfoLabel.setForeground(new java.awt.Color(102, 102, 102));
    proxyInfoLabel.setToolTipText("");
    proxyInfoLabel.setHorizontalAlignment(SwingConstants.RIGHT);

    primaryStatusLabel.setFont(new java.awt.Font("STHeiti", 1, 24));
    primaryStatusLabel.setForeground(new java.awt.Color(102, 102, 102));
    primaryStatusLabel.setToolTipText("");
    primaryStatusLabel.setHorizontalAlignment(SwingConstants.CENTER);

    primaryStatusDetailsLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    primaryStatusDetailsLabel.setForeground(new java.awt.Color(102, 102, 102));
    primaryStatusDetailsLabel.setToolTipText("");
    primaryStatusDetailsLabel.setHorizontalAlignment(SwingConstants.CENTER);

    secondaryStatusLabel.setFont(new java.awt.Font("STHeiti", 1, 24));
    secondaryStatusLabel.setForeground(new java.awt.Color(102, 102, 102));
    secondaryStatusLabel.setToolTipText("");
    secondaryStatusLabel.setHorizontalAlignment(SwingConstants.CENTER);

    secondaryStatusDetailsLabel.setFont(new java.awt.Font("STHeiti", 0, 12));
    secondaryStatusDetailsLabel.setForeground(new java.awt.Color(102, 102, 102));
    secondaryStatusDetailsLabel.setToolTipText("");
    secondaryStatusDetailsLabel.setHorizontalAlignment(SwingConstants.CENTER);

    onPanel.setBackground(new java.awt.Color(255, 255, 255));
    onPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    onPanel.setToolTipText("Powered On");

    onLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    onLabel.setForeground(new java.awt.Color(204, 204, 204));
    onLabel.setText("ON");

    org.jdesktop.layout.GroupLayout onPanelLayout = new org.jdesktop.layout.GroupLayout(onPanel);
    onPanel.setLayout(onPanelLayout);
    onPanelLayout
            .setHorizontalGroup(onPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, onPanelLayout.createSequentialGroup()
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(onLabel).addContainerGap()));
    onPanelLayout.setVerticalGroup(
            onPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(onLabel));

    idlePanel.setBackground(new java.awt.Color(255, 255, 255));
    idlePanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    idlePanel.setToolTipText("Phone is Ready");

    idleLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    idleLabel.setForeground(new java.awt.Color(204, 204, 204));
    idleLabel.setText("IDL");

    org.jdesktop.layout.GroupLayout idlePanelLayout = new org.jdesktop.layout.GroupLayout(idlePanel);
    idlePanel.setLayout(idlePanelLayout);
    idlePanelLayout
            .setHorizontalGroup(idlePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, idlePanelLayout.createSequentialGroup()
                            .addContainerGap(11, Short.MAX_VALUE).add(idleLabel).addContainerGap()));
    idlePanelLayout.setVerticalGroup(
            idlePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(idleLabel));

    connectingPanel.setBackground(new java.awt.Color(255, 255, 255));
    connectingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    connectingPanel.setToolTipText("Connecting Callout");

    connectingLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    connectingLabel.setForeground(new java.awt.Color(204, 204, 204));
    connectingLabel.setText("CON");

    org.jdesktop.layout.GroupLayout connectingPanelLayout = new org.jdesktop.layout.GroupLayout(
            connectingPanel);
    connectingPanel.setLayout(connectingPanelLayout);
    connectingPanelLayout.setHorizontalGroup(
            connectingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(connectingPanelLayout.createSequentialGroup().addContainerGap().add(connectingLabel)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    connectingPanelLayout.setVerticalGroup(connectingPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(connectingLabel));

    callingPanel.setBackground(new java.awt.Color(255, 255, 255));
    callingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    callingPanel.setToolTipText("Calling");

    callingLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    callingLabel.setForeground(new java.awt.Color(204, 204, 204));
    callingLabel.setText("CLL");

    org.jdesktop.layout.GroupLayout callingPanelLayout = new org.jdesktop.layout.GroupLayout(callingPanel);
    callingPanel.setLayout(callingPanelLayout);
    callingPanelLayout
            .setHorizontalGroup(callingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(callingPanelLayout.createSequentialGroup().addContainerGap().add(callingLabel)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    callingPanelLayout.setVerticalGroup(
            callingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(callingLabel));

    ringingPanel.setBackground(new java.awt.Color(255, 255, 255));
    ringingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    ringingPanel.setToolTipText("Ringing");

    ringingLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    ringingLabel.setForeground(new java.awt.Color(204, 204, 204));
    ringingLabel.setText("RNG");

    org.jdesktop.layout.GroupLayout ringingPanelLayout = new org.jdesktop.layout.GroupLayout(ringingPanel);
    ringingPanel.setLayout(ringingPanelLayout);
    ringingPanelLayout
            .setHorizontalGroup(ringingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, ringingPanelLayout.createSequentialGroup()
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(ringingLabel).addContainerGap()));
    ringingPanelLayout.setVerticalGroup(
            ringingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(ringingLabel));

    acceptingPanel.setBackground(new java.awt.Color(255, 255, 255));
    acceptingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    acceptingPanel.setToolTipText("Accepting Incoming Call");

    acceptingLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    acceptingLabel.setForeground(new java.awt.Color(204, 204, 204));
    acceptingLabel.setText("ACC");

    org.jdesktop.layout.GroupLayout acceptingPanelLayout = new org.jdesktop.layout.GroupLayout(acceptingPanel);
    acceptingPanel.setLayout(acceptingPanelLayout);
    acceptingPanelLayout.setHorizontalGroup(
            acceptingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(acceptingPanelLayout.createSequentialGroup().addContainerGap().add(acceptingLabel)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    acceptingPanelLayout.setVerticalGroup(acceptingPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(acceptingLabel));

    talkingPanel.setBackground(new java.awt.Color(255, 255, 255));
    talkingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    talkingPanel.setToolTipText("Phonecall Established (Talking)");

    talkingLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    talkingLabel.setForeground(new java.awt.Color(204, 204, 204));
    talkingLabel.setText("TALK");

    org.jdesktop.layout.GroupLayout talkingPanelLayout = new org.jdesktop.layout.GroupLayout(talkingPanel);
    talkingPanel.setLayout(talkingPanelLayout);
    talkingPanelLayout
            .setHorizontalGroup(talkingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(talkingPanelLayout.createSequentialGroup().addContainerGap().add(talkingLabel)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    talkingPanelLayout.setVerticalGroup(
            talkingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(talkingLabel));

    registeredPanel.setBackground(new java.awt.Color(255, 255, 255));
    registeredPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    registeredPanel.setToolTipText("Registered with Proxy (Incoming Proxy Calls Enabled)");

    registeredLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    registeredLabel.setForeground(new java.awt.Color(204, 204, 204));
    registeredLabel.setText("REG");

    org.jdesktop.layout.GroupLayout registeredPanelLayout = new org.jdesktop.layout.GroupLayout(
            registeredPanel);
    registeredPanel.setLayout(registeredPanelLayout);
    registeredPanelLayout.setHorizontalGroup(
            registeredPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(registeredPanelLayout.createSequentialGroup().addContainerGap().add(registeredLabel)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    registeredPanelLayout.setVerticalGroup(registeredPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(registeredLabel));

    answerPanel.setBackground(new java.awt.Color(255, 255, 255));
    answerPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    answerPanel.setToolTipText("Auto Answer Calls");

    answerLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    answerLabel.setForeground(new java.awt.Color(204, 204, 204));
    answerLabel.setText("ANS");

    org.jdesktop.layout.GroupLayout answerPanelLayout = new org.jdesktop.layout.GroupLayout(answerPanel);
    answerPanel.setLayout(answerPanelLayout);
    answerPanelLayout
            .setHorizontalGroup(answerPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(answerPanelLayout.createSequentialGroup().addContainerGap().add(answerLabel)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    answerPanelLayout.setVerticalGroup(
            answerPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(answerLabel));

    mutePanel.setBackground(new java.awt.Color(255, 255, 255));
    mutePanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    mutePanel.setToolTipText("Mute Audio");

    muteLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    muteLabel.setForeground(new java.awt.Color(204, 204, 204));
    muteLabel.setText("MUT");

    org.jdesktop.layout.GroupLayout mutePanelLayout = new org.jdesktop.layout.GroupLayout(mutePanel);
    mutePanel.setLayout(mutePanelLayout);
    mutePanelLayout
            .setHorizontalGroup(mutePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(mutePanelLayout.createSequentialGroup().addContainerGap().add(muteLabel)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    mutePanelLayout.setVerticalGroup(
            mutePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(muteLabel));

    cancelPanel.setBackground(new java.awt.Color(255, 255, 255));
    cancelPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
    cancelPanel.setToolTipText("Auto Cancel Calls");

    cancelLabel.setFont(new java.awt.Font("STHeiti", 1, 8));
    cancelLabel.setForeground(new java.awt.Color(204, 204, 204));
    cancelLabel.setText("CAN");

    org.jdesktop.layout.GroupLayout cancelPanelLayout = new org.jdesktop.layout.GroupLayout(cancelPanel);
    cancelPanel.setLayout(cancelPanelLayout);
    cancelPanelLayout
            .setHorizontalGroup(cancelPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(cancelPanelLayout.createSequentialGroup().addContainerGap().add(cancelLabel)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    cancelPanelLayout.setVerticalGroup(
            cancelPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(cancelLabel));

    org.jdesktop.layout.GroupLayout phoneDisplayPanelLayout = new org.jdesktop.layout.GroupLayout(
            phoneDisplayPanel);
    phoneDisplayPanel.setLayout(phoneDisplayPanelLayout);
    phoneDisplayPanelLayout.setHorizontalGroup(phoneDisplayPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(phoneDisplayPanelLayout.createSequentialGroup().addContainerGap().add(phoneDisplayPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(phoneDisplayPanelLayout.createSequentialGroup().add(phoneDisplayPanelLayout
                            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(primaryStatusLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650,
                                    Short.MAX_VALUE)
                            .add(phoneDisplayPanelLayout.createSequentialGroup()
                                    .add(softphoneInfoLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            351, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                    .add(proxyInfoLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 287,
                                            Short.MAX_VALUE))
                            .add(primaryStatusDetailsLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650,
                                    Short.MAX_VALUE)
                            .add(secondaryStatusDetailsLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650,
                                    Short.MAX_VALUE)
                            .add(secondaryStatusLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650,
                                    Short.MAX_VALUE))
                            .addContainerGap())
                    .add(org.jdesktop.layout.GroupLayout.TRAILING,
                            phoneDisplayPanelLayout.createSequentialGroup()
                                    .add(onPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(idlePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(connectingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(callingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(ringingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(acceptingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(talkingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(registeredPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(answerPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(cancelPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(mutePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(148, 148, 148)))));
    phoneDisplayPanelLayout.setVerticalGroup(phoneDisplayPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(phoneDisplayPanelLayout.createSequentialGroup().add(phoneDisplayPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(softphoneInfoLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(proxyInfoLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(24, 24, 24)
                    .add(primaryStatusLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(primaryStatusDetailsLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(24, 24, 24)
                    .add(secondaryStatusLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(secondaryStatusDetailsLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 143, Short.MAX_VALUE)
                    .add(phoneDisplayPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(phoneDisplayPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(phoneDisplayPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(acceptingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                    phoneDisplayPanelLayout
                                                            .createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.TRAILING)
                                                            .add(ringingPanel,
                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                                    phoneDisplayPanelLayout.createParallelGroup(
                                                                            org.jdesktop.layout.GroupLayout.TRAILING)
                                                                            .add(callingPanel,
                                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                                                    phoneDisplayPanelLayout
                                                                                            .createParallelGroup(
                                                                                                    org.jdesktop.layout.GroupLayout.TRAILING)
                                                                                            .add(connectingPanel,
                                                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                                                                    phoneDisplayPanelLayout
                                                                                                            .createParallelGroup(
                                                                                                                    org.jdesktop.layout.GroupLayout.TRAILING)
                                                                                                            .add(idlePanel,
                                                                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                                                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                                                                                    onPanel,
                                                                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))))
                                    .add(talkingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(phoneDisplayPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(org.jdesktop.layout.GroupLayout.LEADING, registeredPanel,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(answerPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                            .add(cancelPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(mutePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap()));

    org.jdesktop.layout.GroupLayout phoneDisplayTabPanelLayout = new org.jdesktop.layout.GroupLayout(
            phoneDisplayTabPanel);
    phoneDisplayTabPanel.setLayout(phoneDisplayTabPanelLayout);
    phoneDisplayTabPanelLayout.setHorizontalGroup(
            phoneDisplayTabPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
                    phoneDisplayPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE));
    phoneDisplayTabPanelLayout.setVerticalGroup(
            phoneDisplayTabPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
                    phoneDisplayPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE));

    tabPane.addTab("Display", phoneDisplayTabPanel);

    toolsInnerPanel.setBorder(
            javax.swing.BorderFactory.createTitledBorder(null, "Tools", javax.swing.border.TitledBorder.CENTER,
                    javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 14))); // NOI18N
    toolsInnerPanel.setToolTipText("");
    toolsInnerPanel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            toolsInnerPanelMouseClicked(evt);
        }
    });

    netManagerOutboundServerToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    netManagerOutboundServerToggleButton.setText("OutManagementClient");
    netManagerOutboundServerToggleButton.setToolTipText("Outbound NetManager Server (Managed Mode)");
    netManagerOutboundServerToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            netManagerOutboundServerToggleButtonActionPerformed(evt);
        }
    });

    netManagerInboundServerToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    netManagerInboundServerToggleButton.setText("InManagementClient");
    netManagerInboundServerToggleButton
            .setToolTipText("Start Inbound NetManager Server for CallCenter Manager");
    netManagerInboundServerToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            netManagerInboundServerToggleButtonActionPerformed(evt);
        }
    });

    controlsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Controls",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10))); // NOI18N

    displayLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    displayLabel.setText("Display");

    enableDisplayCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10));
    enableDisplayCheckBox.setToolTipText("Enable SoftPhones Display Feedback");
    enableDisplayCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    enableDisplayCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    enableDisplayCheckBox.setIconTextGap(0);

    snmpLabel1.setFont(new java.awt.Font("STHeiti", 0, 10));
    snmpLabel1.setText("Scan");

    smoothCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10));
    smoothCheckBox.setSelected(true);
    smoothCheckBox.setToolTipText("Smooth Meter Animation (disabling slightly increases performance)");
    smoothCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    smoothCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    smoothCheckBox.setIconTextGap(0);

    scanCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10));
    scanCheckBox.setToolTipText("Campaign Scan Phonenumbers Mode");
    scanCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    scanCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    scanCheckBox.setIconTextGap(0);

    smoothLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    smoothLabel.setText("Smooth");

    org.jdesktop.layout.GroupLayout controlsPanelLayout = new org.jdesktop.layout.GroupLayout(controlsPanel);
    controlsPanel.setLayout(controlsPanelLayout);
    controlsPanelLayout.setHorizontalGroup(controlsPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(controlsPanelLayout.createSequentialGroup().addContainerGap()
                    .add(controlsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(displayLabel).add(enableDisplayCheckBox,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(controlsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(snmpLabel1).add(scanCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    14, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(10, 10, 10)
                    .add(controlsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(smoothLabel)
                            .add(controlsPanelLayout.createSequentialGroup().add(6, 6, 6).add(smoothCheckBox,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap(183, Short.MAX_VALUE)));

    controlsPanelLayout.linkSize(
            new java.awt.Component[] { enableDisplayCheckBox, scanCheckBox, smoothCheckBox },
            org.jdesktop.layout.GroupLayout.HORIZONTAL);

    controlsPanelLayout
            .setVerticalGroup(controlsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(controlsPanelLayout.createSequentialGroup().add(displayLabel)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(enableDisplayCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 11,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(12, 12, 12))
                    .add(controlsPanelLayout.createSequentialGroup()
                            .add(controlsPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(snmpLabel1).add(smoothLabel))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(controlsPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(smoothCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 21,
                                            Short.MAX_VALUE)
                                    .add(scanCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 11,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .addContainerGap()));

    controlsPanelLayout.linkSize(
            new java.awt.Component[] { enableDisplayCheckBox, scanCheckBox, smoothCheckBox },
            org.jdesktop.layout.GroupLayout.VERTICAL);

    lookAndFeelPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Look and Feel",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10))); // NOI18N

    lookAndFeelGroup.add(lookAndFeelRButtonMotif);
    lookAndFeelRButtonMotif.setFont(new java.awt.Font("STHeiti", 0, 8));
    lookAndFeelRButtonMotif.setText("Motif");
    lookAndFeelRButtonMotif.setToolTipText("Set Look & Feel");
    lookAndFeelRButtonMotif.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            lookAndFeelRButtonMotifMouseClicked(evt);
        }
    });

    lookAndFeelGroup.add(lookAndFeelRButtonGTK);
    lookAndFeelRButtonGTK.setFont(new java.awt.Font("STHeiti", 0, 8));
    lookAndFeelRButtonGTK.setText("GTK");
    lookAndFeelRButtonGTK.setToolTipText("Set Look & Feel");
    lookAndFeelRButtonGTK.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            lookAndFeelRButtonGTKMouseClicked(evt);
        }
    });

    lookAndFeelGroup.add(lookAndFeelRButtonNimbus);
    lookAndFeelRButtonNimbus.setFont(new java.awt.Font("STHeiti", 0, 8));
    lookAndFeelRButtonNimbus.setSelected(true);
    lookAndFeelRButtonNimbus.setText("Nimbus");
    lookAndFeelRButtonNimbus.setToolTipText("Set Look & Feel");
    lookAndFeelRButtonNimbus.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            lookAndFeelRButtonNimbusMouseClicked(evt);
        }
    });

    lookAndFeelGroup.add(lookAndFeelRButtonWindows);
    lookAndFeelRButtonWindows.setFont(new java.awt.Font("STHeiti", 0, 8));
    lookAndFeelRButtonWindows.setText("Windows");
    lookAndFeelRButtonWindows.setToolTipText("Set Look & Feel");
    lookAndFeelRButtonWindows.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            lookAndFeelRButtonWindowsMouseClicked(evt);
        }
    });

    org.jdesktop.layout.GroupLayout lookAndFeelPanelLayout = new org.jdesktop.layout.GroupLayout(
            lookAndFeelPanel);
    lookAndFeelPanel.setLayout(lookAndFeelPanelLayout);
    lookAndFeelPanelLayout.setHorizontalGroup(lookAndFeelPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(lookAndFeelPanelLayout.createSequentialGroup().add(19, 19, 19).add(lookAndFeelRButtonNimbus)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED).add(lookAndFeelRButtonWindows)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lookAndFeelRButtonGTK)
                    .add(18, 18, 18).add(lookAndFeelRButtonMotif).addContainerGap(18, Short.MAX_VALUE)));
    lookAndFeelPanelLayout.setVerticalGroup(lookAndFeelPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(lookAndFeelPanelLayout.createSequentialGroup().addContainerGap()
                    .add(lookAndFeelPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(lookAndFeelRButtonNimbus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(lookAndFeelRButtonWindows, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(lookAndFeelRButtonGTK, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(lookAndFeelRButtonMotif, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    org.jdesktop.layout.GroupLayout toolsInnerPanelLayout = new org.jdesktop.layout.GroupLayout(
            toolsInnerPanel);
    toolsInnerPanel.setLayout(toolsInnerPanelLayout);
    toolsInnerPanelLayout.setHorizontalGroup(
            toolsInnerPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(toolsInnerPanelLayout.createSequentialGroup().addContainerGap()
                            .add(toolsInnerPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, lookAndFeelPanel,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, controlsPanel,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING,
                                            toolsInnerPanelLayout.createSequentialGroup()
                                                    .add(netManagerOutboundServerToggleButton,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 153,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                    .add(netManagerInboundServerToggleButton,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 153,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    toolsInnerPanelLayout.setVerticalGroup(toolsInnerPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(toolsInnerPanelLayout.createSequentialGroup().addContainerGap().add(toolsInnerPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(netManagerOutboundServerToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            37, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(netManagerInboundServerToggleButton))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(controlsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(lookAndFeelPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(75, Short.MAX_VALUE)));

    toolsInnerPanelLayout.linkSize(new java.awt.Component[] { netManagerInboundServerToggleButton,
            netManagerOutboundServerToggleButton }, org.jdesktop.layout.GroupLayout.VERTICAL);

    sipInfoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "SIP Information",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 12))); // NOI18N
    sipInfoPanel.setToolTipText("");

    destinationScrollPane
            .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);

    destinationTextArea.setBackground(new java.awt.Color(204, 204, 204));
    destinationTextArea.setColumns(1);
    destinationTextArea.setFont(new java.awt.Font("STHeiti", 0, 10));
    destinationTextArea.setRows(16);
    destinationTextArea.setToolTipText("Telephone Addresses");
    destinationTextArea.setEnabled(false);
    destinationTextArea.setMinimumSize(new java.awt.Dimension(330, 65));
    destinationScrollPane.setViewportView(destinationTextArea);

    org.jdesktop.layout.GroupLayout sipInfoPanelLayout = new org.jdesktop.layout.GroupLayout(sipInfoPanel);
    sipInfoPanel.setLayout(sipInfoPanelLayout);
    sipInfoPanelLayout.setHorizontalGroup(
            sipInfoPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
                    destinationScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 261, Short.MAX_VALUE));
    sipInfoPanelLayout
            .setVerticalGroup(sipInfoPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(sipInfoPanelLayout
                            .createSequentialGroup().addContainerGap().add(destinationScrollPane,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 244, Short.MAX_VALUE)
                            .addContainerGap()));

    org.jdesktop.layout.GroupLayout toolsPanelLayout = new org.jdesktop.layout.GroupLayout(toolsPanel);
    toolsPanel.setLayout(toolsPanelLayout);
    toolsPanelLayout
            .setHorizontalGroup(toolsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(toolsPanelLayout.createSequentialGroup()
                            .add(toolsInnerPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(sipInfoPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(47, Short.MAX_VALUE)));
    toolsPanelLayout.setVerticalGroup(toolsPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(toolsPanelLayout.createSequentialGroup()
                    .add(toolsInnerPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(54, 54, 54))
            .add(toolsPanelLayout.createSequentialGroup()
                    .add(sipInfoPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    toolsPanelLayout.linkSize(new java.awt.Component[] { sipInfoPanel, toolsInnerPanel },
            org.jdesktop.layout.GroupLayout.VERTICAL);

    tabPane.addTab("Tools", toolsPanel);

    netConfigPanel.setToolTipText("Mainly Proxy Configuration");
    netConfigPanel.setFocusTraversalKeysEnabled(false);
    netConfigPanel.setFont(new java.awt.Font("STHeiti", 0, 12));
    netConfigPanel.setNextFocusableComponent(logPanel);
    netConfigPanel.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyPressed(java.awt.event.KeyEvent evt) {
            netConfigPanelKeyPressed(evt);
        }
    });

    authenticationPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Network Configuration",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 12))); // NOI18N
    authenticationPanel.setToolTipText("");

    iconsLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    iconsLabel.setText("Icons");

    iconsCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10));
    iconsCheckBox.setSelected(true);
    iconsCheckBox.setToolTipText("Smooth needle movement Meters / Dials");
    iconsCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    iconsCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    iconsCheckBox.setIconTextGap(0);

    clientIPLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    clientIPLabel.setText("Client");

    clientIPField.setBackground(new java.awt.Color(204, 204, 204));
    clientIPField.setFont(new java.awt.Font("STHeiti", 0, 10));
    clientIPField.setToolTipText("Your computer's IP (Automatic)");

    pubIPLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    pubIPLabel.setText("Pub IP");

    pubIPField.setFont(new java.awt.Font("STHeiti", 0, 10));
    pubIPField.setToolTipText(
            "Please fill in your public IP address (type: \"myip\" in google to find you public ip address)");
    pubIPField.setNextFocusableComponent(usernameField);

    clientPortLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    clientPortLabel.setText("Port");

    registerCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10));
    registerCheckBox.setToolTipText("Enable Automatic Proxy Login at startup");
    registerCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    registerCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    registerCheckBox.setIconTextGap(0);

    registerLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    registerLabel.setText("Reg");

    clientPortField.setBackground(new java.awt.Color(204, 204, 204));
    clientPortField.setFont(new java.awt.Font("STHeiti", 0, 10));
    clientPortField.setToolTipText("Client Port (Tip: \"auto\")");
    clientPortField.setNextFocusableComponent(usernameField);

    domainLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    domainLabel.setText("Domain");

    domainField.setFont(new java.awt.Font("STHeiti", 0, 10));
    domainField.setToolTipText("Internet Telephone Provider Domain (Tip: sip1.budgetphone.nl)");

    serverIPLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    serverIPLabel.setText("Server");

    serverIPField.setFont(new java.awt.Font("STHeiti", 0, 10));
    serverIPField.setToolTipText("Internet Telephone Provider Server (Tip: sip1.budgetphone.nl)");
    serverIPField.setNextFocusableComponent(usernameField);

    serverPortLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    serverPortLabel.setText("Port");

    serverPortField.setFont(new java.awt.Font("STHeiti", 0, 10));
    serverPortField.setToolTipText("Internet Telephone Provider Port (Tip: \"5060\")");
    serverPortField.setNextFocusableComponent(usernameField);

    pfixLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    pfixLabel.setText("PFix");

    usersecretLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    usersecretLabel.setText("User");

    suffixLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    suffixLabel.setText("SFix");

    prefixField.setBackground(new java.awt.Color(204, 204, 204));
    prefixField.setFont(new java.awt.Font("STHeiti", 0, 10));
    prefixField.setToolTipText("Password Prefix (advanced usage normally not needed)");
    prefixField.setNextFocusableComponent(usernameField);

    usernameField.setFont(new java.awt.Font("STHeiti", 0, 10));
    usernameField.setToolTipText("Username (comes from your Internet Telephone Provider)");

    suffixField.setBackground(new java.awt.Color(204, 204, 204));
    suffixField.setFont(new java.awt.Font("STHeiti", 0, 10));
    suffixField.setToolTipText("Password Suffix (advanced usage normally not needed)");
    suffixField.setNextFocusableComponent(usernameField);

    saveConfigurationButton.setFont(new java.awt.Font("STHeiti", 0, 10));
    saveConfigurationButton.setText("Save");
    saveConfigurationButton.setToolTipText("Saves Config (Tip: Power Cycle again after Save)");
    saveConfigurationButton.setFocusPainted(false);
    saveConfigurationButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            saveConfigurationButtonActionPerformed(evt);
        }
    });

    toegangField.setFont(new java.awt.Font("STHeiti", 0, 10));
    toegangField.setToolTipText("Password (comes from your Internet Telephone Provider)");

    secretLabel.setFont(new java.awt.Font("STHeiti", 0, 10));
    secretLabel.setText("Secr");

    prefPhoneLinesPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null,
            "Preferred number of CallCenter Phone Lines", javax.swing.border.TitledBorder.CENTER,
            javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N

    prefPhoneLinesSlider.setFont(new java.awt.Font("STHeiti", 0, 8));
    prefPhoneLinesSlider.setMajorTickSpacing(50);
    prefPhoneLinesSlider.setMaximum(500);
    prefPhoneLinesSlider.setMinimum(100);
    prefPhoneLinesSlider.setMinorTickSpacing(25);
    prefPhoneLinesSlider.setPaintLabels(true);
    prefPhoneLinesSlider.setPaintTicks(true);
    prefPhoneLinesSlider.setSnapToTicks(true);
    prefPhoneLinesSlider.setToolTipText("The number of preferred CallCenter phonelines");
    prefPhoneLinesSlider.setValue(500);

    org.jdesktop.layout.GroupLayout prefPhoneLinesPanelLayout = new org.jdesktop.layout.GroupLayout(
            prefPhoneLinesPanel);
    prefPhoneLinesPanel.setLayout(prefPhoneLinesPanelLayout);
    prefPhoneLinesPanelLayout.setHorizontalGroup(
            prefPhoneLinesPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(prefPhoneLinesPanelLayout
                            .createSequentialGroup().add(18, 18, 18).add(prefPhoneLinesSlider,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 383, Short.MAX_VALUE)
                            .addContainerGap()));
    prefPhoneLinesPanelLayout.setVerticalGroup(
            prefPhoneLinesPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(prefPhoneLinesPanelLayout.createSequentialGroup()
                            .add(prefPhoneLinesSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 34,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(7, Short.MAX_VALUE)));

    org.jdesktop.layout.GroupLayout authenticationPanelLayout = new org.jdesktop.layout.GroupLayout(
            authenticationPanel);
    authenticationPanel.setLayout(authenticationPanelLayout);
    authenticationPanelLayout.setHorizontalGroup(authenticationPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(authenticationPanelLayout.createSequentialGroup().addContainerGap()
                    .add(authenticationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(authenticationPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(prefPhoneLinesPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .add(authenticationPanelLayout.createSequentialGroup()
                                            .add(authenticationPanelLayout
                                                    .createParallelGroup(
                                                            org.jdesktop.layout.GroupLayout.LEADING, false)
                                                    .add(clientIPLabel)
                                                    .add(serverIPLabel,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                            Short.MAX_VALUE)
                                                    .add(domainLabel))
                                            .add(13, 13, 13)
                                            .add(authenticationPanelLayout
                                                    .createParallelGroup(
                                                            org.jdesktop.layout.GroupLayout.LEADING)
                                                    .add(authenticationPanelLayout.createSequentialGroup()
                                                            .add(authenticationPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.TRAILING)
                                                                    .add(authenticationPanelLayout
                                                                            .createSequentialGroup()
                                                                            .add(pfixLabel).add(21, 21, 21))
                                                                    .add(prefixField,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                            35,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                                            .addPreferredGap(
                                                                    org.jdesktop.layout.LayoutStyle.RELATED)
                                                            .add(authenticationPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.LEADING)
                                                                    .add(usernameField,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                            43,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                    .add(usersecretLabel))
                                                            .addPreferredGap(
                                                                    org.jdesktop.layout.LayoutStyle.RELATED)
                                                            .add(authenticationPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.LEADING)
                                                                    .add(toegangField,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                            53,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                    .add(secretLabel))
                                                            .add(authenticationPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.LEADING)
                                                                    .add(authenticationPanelLayout
                                                                            .createSequentialGroup()
                                                                            .add(11, 11, 11).add(suffixLabel)
                                                                            .add(17, 17, 17))
                                                                    .add(authenticationPanelLayout
                                                                            .createSequentialGroup()
                                                                            .addPreferredGap(
                                                                                    org.jdesktop.layout.LayoutStyle.UNRELATED)
                                                                            .add(suffixField,
                                                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                                    86, Short.MAX_VALUE))))
                                                    .add(serverIPField,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 245,
                                                            Short.MAX_VALUE)
                                                    .add(org.jdesktop.layout.GroupLayout.TRAILING,
                                                            authenticationPanelLayout.createSequentialGroup()
                                                                    .add(clientIPField,
                                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                            118, Short.MAX_VALUE)
                                                                    .addPreferredGap(
                                                                            org.jdesktop.layout.LayoutStyle.RELATED)
                                                                    .add(pubIPLabel)
                                                                    .addPreferredGap(
                                                                            org.jdesktop.layout.LayoutStyle.RELATED)
                                                                    .add(pubIPField,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                            85,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                                    .add(domainField,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 245,
                                                            Short.MAX_VALUE))
                                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                            .add(authenticationPanelLayout
                                                    .createParallelGroup(
                                                            org.jdesktop.layout.GroupLayout.LEADING)
                                                    .add(authenticationPanelLayout.createSequentialGroup()
                                                            .add(authenticationPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.LEADING)
                                                                    .add(clientPortLabel).add(serverPortLabel))
                                                            .add(17, 17, 17)
                                                            .add(authenticationPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.TRAILING)
                                                                    .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                                            serverPortField,
                                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                            75, Short.MAX_VALUE)
                                                                    .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                                            clientPortField,
                                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                            75, Short.MAX_VALUE)))
                                                    .add(authenticationPanelLayout.createSequentialGroup().add(
                                                            registerCheckBox,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                            .add(24, 24, 24)
                                                            .add(authenticationPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.LEADING)
                                                                    .add(iconsCheckBox,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                            14,
                                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                    .add(iconsLabel)))
                                                    .add(registerLabel))
                                            .addContainerGap()))
                            .add(org.jdesktop.layout.GroupLayout.TRAILING,
                                    authenticationPanelLayout.createSequentialGroup()
                                            .add(saveConfigurationButton,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 94,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(166, 166, 166)))));

    authenticationPanelLayout.linkSize(new java.awt.Component[] { clientPortLabel, serverPortLabel },
            org.jdesktop.layout.GroupLayout.HORIZONTAL);

    authenticationPanelLayout.setVerticalGroup(authenticationPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(authenticationPanelLayout.createSequentialGroup().addContainerGap()
                    .add(authenticationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(authenticationPanelLayout.createSequentialGroup()
                                    .add(authenticationPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                            .add(clientIPLabel).add(clientPortLabel)
                                            .add(clientIPField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(pubIPLabel).add(pubIPField,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                    .add(authenticationPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                            .add(domainLabel).add(domainField,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                    .add(authenticationPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                            .add(serverIPField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(serverIPLabel).add(serverPortLabel)))
                            .add(authenticationPanelLayout.createSequentialGroup()
                                    .add(clientPortField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(47, 47, 47).add(serverPortField,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .add(7, 7, 7)
                    .add(authenticationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(authenticationPanelLayout.createSequentialGroup().add(suffixLabel)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(authenticationPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.CENTER)
                                            .add(prefixField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(toegangField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(usernameField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(suffixField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(registerCheckBox,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(iconsCheckBox, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    Short.MAX_VALUE)))
                            .add(authenticationPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(pfixLabel).add(usersecretLabel).add(secretLabel))
                            .add(registerLabel).add(iconsLabel))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(prefPhoneLinesPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(saveConfigurationButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 15,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    authenticationPanelLayout.linkSize(new java.awt.Component[] { clientIPLabel, domainLabel, serverIPLabel },
            org.jdesktop.layout.GroupLayout.VERTICAL);

    authenticationPanelLayout.linkSize(
            new java.awt.Component[] { clientIPField, clientPortField, domainField, prefixField, pubIPField,
                    serverIPField, serverPortField, suffixField, toegangField, usernameField },
            org.jdesktop.layout.GroupLayout.VERTICAL);

    authenticationPanelLayout.linkSize(new java.awt.Component[] { clientPortLabel, serverPortLabel },
            org.jdesktop.layout.GroupLayout.VERTICAL);

    org.jdesktop.layout.GroupLayout netConfigPanelLayout = new org.jdesktop.layout.GroupLayout(netConfigPanel);
    netConfigPanel.setLayout(netConfigPanelLayout);
    netConfigPanelLayout.setHorizontalGroup(
            netConfigPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
                    org.jdesktop.layout.GroupLayout.TRAILING,
                    netConfigPanelLayout.createSequentialGroup().addContainerGap(114, Short.MAX_VALUE)
                            .add(authenticationPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(111, 111, 111)));
    netConfigPanelLayout
            .setVerticalGroup(netConfigPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(netConfigPanelLayout.createSequentialGroup()
                            .add(authenticationPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(67, Short.MAX_VALUE)));

    tabPane.addTab("Config", netConfigPanel);

    licensePanel.setName("licensePanel"); // NOI18N
    licensePanel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            licensePanelMouseClicked(evt);
        }
    });

    licenseTypePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Type",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10))); // NOI18N
    licenseTypePanel.setToolTipText("");
    licenseTypePanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    licenseTypePanel.setMaximumSize(new java.awt.Dimension(200, 239));
    licenseTypePanel.setPreferredSize(new java.awt.Dimension(200, 239));
    licenseTypePanel.setSize(new java.awt.Dimension(200, 239));

    vergunningTypeList.setFont(new java.awt.Font("Courier New", 1, 12));
    vergunningTypeList.setModel(new javax.swing.AbstractListModel() {
        String[] strings = { "Demo", "Standard", "Professional", "Enterprise" };

        public int getSize() {
            return strings.length;
        }

        public Object getElementAt(int i) {
            return strings[i];
        }
    });
    vergunningTypeList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    vergunningTypeList.setToolTipText("");
    vergunningTypeList.setSelectedIndices(new int[] { 0 });
    vergunningTypeList.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            vergunningTypeListMouseClicked(evt);
        }
    });
    jScrollPane1.setViewportView(vergunningTypeList);

    org.jdesktop.layout.GroupLayout licenseTypePanelLayout = new org.jdesktop.layout.GroupLayout(
            licenseTypePanel);
    licenseTypePanel.setLayout(licenseTypePanelLayout);
    licenseTypePanelLayout.setHorizontalGroup(
            licenseTypePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 116, Short.MAX_VALUE));
    licenseTypePanelLayout.setVerticalGroup(
            licenseTypePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(licenseTypePanelLayout.createSequentialGroup()
                            .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 157,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(17, Short.MAX_VALUE)));

    licenseDatePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Start",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10))); // NOI18N
    licenseDatePanel.setToolTipText("");
    licenseDatePanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    licenseDatePanel.setMaximumSize(new java.awt.Dimension(200, 239));
    licenseDatePanel.setMinimumSize(new java.awt.Dimension(200, 239));
    licenseDatePanel.setSize(new java.awt.Dimension(200, 239));

    vergunningDateChooserPanel.setCurrentView(new datechooser.view.appearance.AppearancesList("Bordered",
            new datechooser.view.appearance.ViewAppearance("custom",
                    new datechooser.view.appearance.swing.SwingCellAppearance(
                            new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13),
                            new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 255), false, true,
                            new datechooser.view.appearance.swing.ButtonPainter()),
                    new datechooser.view.appearance.swing.SwingCellAppearance(
                            new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13),
                            new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 255), true, true,
                            new datechooser.view.appearance.swing.ButtonPainter()),
                    new datechooser.view.appearance.swing.SwingCellAppearance(
                            new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13),
                            new java.awt.Color(0, 0, 255), new java.awt.Color(0, 0, 255), false, true,
                            new datechooser.view.appearance.swing.ButtonPainter()),
                    new datechooser.view.appearance.swing.SwingCellAppearance(
                            new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13),
                            new java.awt.Color(128, 128, 128), new java.awt.Color(0, 0, 255), false, true,
                            new datechooser.view.appearance.swing.LabelPainter()),
                    new datechooser.view.appearance.swing.SwingCellAppearance(
                            new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13),
                            new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 255), false, true,
                            new datechooser.view.appearance.swing.LabelPainter()),
                    new datechooser.view.appearance.swing.SwingCellAppearance(
                            new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13),
                            new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 0), false, false,
                            new datechooser.view.appearance.swing.ButtonPainter()),
                    (datechooser.view.BackRenderer) null, false, true)));
    vergunningDateChooserPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder(
            javax.swing.border.EtchedBorder.LOWERED, (java.awt.Color) null, (java.awt.Color) null));
    vergunningDateChooserPanel.setLocale(new java.util.Locale("en", "", ""));
    vergunningDateChooserPanel.setNavigateFont(new java.awt.Font("STHeiti", java.awt.Font.PLAIN, 10));
    vergunningDateChooserPanel.setBehavior(datechooser.model.multiple.MultyModelBehavior.SELECT_SINGLE);
    vergunningDateChooserPanel.addSelectionChangedListener(new datechooser.events.SelectionChangedListener() {
        public void onSelectionChange(datechooser.events.SelectionChangedEvent evt) {
            vergunningDateChooserPanelOnSelectionChange(evt);
        }
    });

    org.jdesktop.layout.GroupLayout licenseDatePanelLayout = new org.jdesktop.layout.GroupLayout(
            licenseDatePanel);
    licenseDatePanel.setLayout(licenseDatePanelLayout);
    licenseDatePanelLayout.setHorizontalGroup(
            licenseDatePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
                    org.jdesktop.layout.GroupLayout.TRAILING,
                    licenseDatePanelLayout.createSequentialGroup()
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(vergunningDateChooserPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    220, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap()));
    licenseDatePanelLayout.setVerticalGroup(
            licenseDatePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(licenseDatePanelLayout.createSequentialGroup()
                            .add(vergunningDateChooserPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    155, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(19, Short.MAX_VALUE)));

    licensePeriodPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Period",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10))); // NOI18N
    licensePeriodPanel.setToolTipText("");
    licensePeriodPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    licensePeriodPanel.setMaximumSize(new java.awt.Dimension(200, 239));
    licensePeriodPanel.setPreferredSize(new java.awt.Dimension(200, 239));
    licensePeriodPanel.setSize(new java.awt.Dimension(200, 239));

    vergunningPeriodList.setFont(new java.awt.Font("Courier New", 1, 12));
    vergunningPeriodList.setModel(new javax.swing.AbstractListModel() {
        String[] strings = { "Month", "Year" };

        public int getSize() {
            return strings.length;
        }

        public Object getElementAt(int i) {
            return strings[i];
        }
    });
    vergunningPeriodList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    vergunningPeriodList.setToolTipText("");
    vergunningPeriodList.setEnabled(false);
    vergunningPeriodList.setFocusable(false);
    vergunningPeriodList.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            vergunningPeriodListMouseClicked(evt);
        }
    });
    licensePeriodScrollPane.setViewportView(vergunningPeriodList);

    org.jdesktop.layout.GroupLayout licensePeriodPanelLayout = new org.jdesktop.layout.GroupLayout(
            licensePeriodPanel);
    licensePeriodPanel.setLayout(licensePeriodPanelLayout);
    licensePeriodPanelLayout.setHorizontalGroup(licensePeriodPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(licensePeriodScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE));
    licensePeriodPanelLayout.setVerticalGroup(
            licensePeriodPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(licensePeriodPanelLayout.createSequentialGroup()
                            .add(licensePeriodScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 156,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(18, Short.MAX_VALUE)));

    activationCodePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Activation Code",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10))); // NOI18N
    activationCodePanel.setToolTipText("");
    activationCodePanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    activationCodePanel.setMaximumSize(new java.awt.Dimension(200, 239));
    activationCodePanel.setMinimumSize(new java.awt.Dimension(200, 239));
    activationCodePanel.setSize(new java.awt.Dimension(200, 239));

    activationCodeField.setBackground(new java.awt.Color(204, 204, 204));
    activationCodeField.setFont(new java.awt.Font("Courier New", 1, 10));
    activationCodeField.setToolTipText("Please give this ActivationCode to the Sales department");
    activationCodeField.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR));
    activationCodeField.setMaximumSize(new java.awt.Dimension(483, 20));
    activationCodeField.setMinimumSize(new java.awt.Dimension(483, 20));
    activationCodeField.setPreferredSize(new java.awt.Dimension(483, 20));
    activationCodeField.setSize(new java.awt.Dimension(483, 20));

    org.jdesktop.layout.GroupLayout activationCodePanelLayout = new org.jdesktop.layout.GroupLayout(
            activationCodePanel);
    activationCodePanel.setLayout(activationCodePanelLayout);
    activationCodePanelLayout
            .setHorizontalGroup(
                    activationCodePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(activationCodePanelLayout.createSequentialGroup().add(activationCodeField,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 461, Short.MAX_VALUE)
                                    .addContainerGap()));
    activationCodePanelLayout.setVerticalGroup(
            activationCodePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(activationCodePanelLayout.createSequentialGroup()
                            .add(activationCodeField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(17, Short.MAX_VALUE)));

    licenseCodePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Code",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10))); // NOI18N
    licenseCodePanel.setToolTipText("");
    licenseCodePanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    licenseCodePanel.setMaximumSize(new java.awt.Dimension(200, 239));
    licenseCodePanel.setMinimumSize(new java.awt.Dimension(200, 239));
    licenseCodePanel.setSize(new java.awt.Dimension(200, 239));

    vergunningCodeField.setFont(new java.awt.Font("Courier New", 1, 10));
    vergunningCodeField.setToolTipText(
            "Please fill in the LicenseCode here that you recieved from the Sales Department or Doubleclick to enter License Authorisation Code");
    vergunningCodeField.setEnabled(false);
    vergunningCodeField.setMaximumSize(new java.awt.Dimension(483, 20));
    vergunningCodeField.setMinimumSize(new java.awt.Dimension(483, 20));
    vergunningCodeField.setPreferredSize(new java.awt.Dimension(483, 20));
    vergunningCodeField.setSize(new java.awt.Dimension(483, 20));
    vergunningCodeField.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            vergunningCodeFieldMouseClicked(evt);
        }
    });
    vergunningCodeField.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            vergunningCodeFieldActionPerformed(evt);
        }
    });
    vergunningCodeField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyReleased(java.awt.event.KeyEvent evt) {
            vergunningCodeFieldKeyReleased(evt);
        }
    });

    org.jdesktop.layout.GroupLayout licenseCodePanelLayout = new org.jdesktop.layout.GroupLayout(
            licenseCodePanel);
    licenseCodePanel.setLayout(licenseCodePanelLayout);
    licenseCodePanelLayout
            .setHorizontalGroup(
                    licenseCodePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(licenseCodePanelLayout.createSequentialGroup().add(vergunningCodeField,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 461, Short.MAX_VALUE)
                                    .addContainerGap()));
    licenseCodePanelLayout.setVerticalGroup(
            licenseCodePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(licenseCodePanelLayout.createSequentialGroup()
                            .add(vergunningCodeField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(17, Short.MAX_VALUE)));

    licenseDetailsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Details",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10))); // NOI18N
    licenseDetailsPanel.setToolTipText("");
    licenseDetailsPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    licenseDetailsPanel.setMaximumSize(new java.awt.Dimension(200, 239));
    licenseDetailsPanel.setPreferredSize(new java.awt.Dimension(200, 239));
    licenseDetailsPanel.setSize(new java.awt.Dimension(200, 239));

    licenseDetailsScrollPane
            .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    licenseDetailsScrollPane
            .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
    licenseDetailsScrollPane.setFont(new java.awt.Font("STHeiti", 0, 13));

    vergunningDetailsTable.setFont(new java.awt.Font("STHeiti", 0, 8));
    vergunningDetailsTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object[][] { { "Licensed", null }, { "Type", null }, { "Period", null }, { "Start Date", null },
                    { "End Date", null }, { "Phonelines", null }, { "Calls / Hour", null },
                    { "Calls / Run", null }, { " Digits", null }, { "", null } },
            new String[] { "", "" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.String.class };
        boolean[] canEdit = new boolean[] { true, false };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    vergunningDetailsTable.setToolTipText("Overall Status of all Phones in Pool");
    vergunningDetailsTable.setAutoCreateRowSorter(true);
    vergunningDetailsTable.setAutoscrolls(false);
    vergunningDetailsTable.setDoubleBuffered(true);
    vergunningDetailsTable.setEditingColumn(0);
    vergunningDetailsTable.setEditingRow(0);
    vergunningDetailsTable.setFocusable(false);
    vergunningDetailsTable.setMaximumSize(new java.awt.Dimension(75, 190));
    vergunningDetailsTable.setMinimumSize(new java.awt.Dimension(75, 190));
    vergunningDetailsTable.setName("name"); // NOI18N
    vergunningDetailsTable.setPreferredSize(new java.awt.Dimension(75, 190));
    vergunningDetailsTable.setRowSelectionAllowed(false);
    vergunningDetailsTable.setSelectionBackground(new java.awt.Color(51, 102, 255));
    vergunningDetailsTable.setShowGrid(false);
    vergunningDetailsTable.setSize(new java.awt.Dimension(75, 190));
    licenseDetailsScrollPane.setViewportView(vergunningDetailsTable);
    vergunningDetailsTable.getColumnModel().getColumn(0).setResizable(false);
    vergunningDetailsTable.getColumnModel().getColumn(0).setPreferredWidth(50);
    vergunningDetailsTable.getColumnModel().getColumn(1).setResizable(false);
    vergunningDetailsTable.getColumnModel().getColumn(1).setPreferredWidth(50);

    org.jdesktop.layout.GroupLayout licenseDetailsPanelLayout = new org.jdesktop.layout.GroupLayout(
            licenseDetailsPanel);
    licenseDetailsPanel.setLayout(licenseDetailsPanelLayout);
    licenseDetailsPanelLayout.setHorizontalGroup(licenseDetailsPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(licenseDetailsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 141, Short.MAX_VALUE));
    licenseDetailsPanelLayout.setVerticalGroup(
            licenseDetailsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(licenseDetailsPanelLayout.createSequentialGroup()
                            .add(licenseDetailsScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 156,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(18, Short.MAX_VALUE)));

    applyVergunningButton.setFont(new java.awt.Font("STHeiti", 0, 14));
    applyVergunningButton.setText("Apply License");
    applyVergunningButton.setToolTipText("Apply LicenseCode");
    applyVergunningButton.setEnabled(false);
    applyVergunningButton.setFocusPainted(false);
    applyVergunningButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            applyVergunningButtonActionPerformed(evt);
        }
    });

    requestVergunningButton.setFont(new java.awt.Font("STHeiti", 0, 14));
    requestVergunningButton.setText("Request License");
    requestVergunningButton.setToolTipText("Request a License");
    requestVergunningButton.setEnabled(false);
    requestVergunningButton.setFocusPainted(false);
    requestVergunningButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            requestVergunningButtonActionPerformed(evt);
        }
    });

    org.jdesktop.layout.GroupLayout licensePanelLayout = new org.jdesktop.layout.GroupLayout(licensePanel);
    licensePanel.setLayout(licensePanelLayout);
    licensePanelLayout.setHorizontalGroup(licensePanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(licensePanelLayout.createSequentialGroup().addContainerGap().add(licensePanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(licensePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(licensePanelLayout.createSequentialGroup()
                                    .add(licenseTypePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 128,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(licenseDatePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(licensePeriodPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 95,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(6, 6, 6))
                            .add(licensePanelLayout.createSequentialGroup()
                                    .add(activationCodePanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
                    .add(licensePanelLayout.createSequentialGroup()
                            .add(licenseCodePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
                    .add(licensePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(requestVergunningButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(applyVergunningButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 153,
                                    Short.MAX_VALUE)
                            .add(licenseDetailsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 153,
                                    Short.MAX_VALUE))
                    .add(56, 56, 56)));

    licensePanelLayout.linkSize(new java.awt.Component[] { activationCodePanel, licenseCodePanel },
            org.jdesktop.layout.GroupLayout.HORIZONTAL);

    licensePanelLayout.setVerticalGroup(licensePanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(licensePanelLayout.createSequentialGroup().add(licensePanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(licenseDatePanel, 0, 197, Short.MAX_VALUE)
                    .add(licenseTypePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 197, Short.MAX_VALUE)
                    .add(licensePeriodPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 197,
                            Short.MAX_VALUE)
                    .add(licenseDetailsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 197,
                            Short.MAX_VALUE))
                    .add(5, 5, 5)
                    .add(licensePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(requestVergunningButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 61,
                                    Short.MAX_VALUE)
                            .add(activationCodePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(licensePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                            .add(applyVergunningButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(licenseCodePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60,
                                    Short.MAX_VALUE))
                    .addContainerGap()));

    licensePanelLayout.linkSize(new java.awt.Component[] { licenseDatePanel, licenseTypePanel },
            org.jdesktop.layout.GroupLayout.VERTICAL);

    licensePanelLayout.linkSize(new java.awt.Component[] { activationCodePanel, licenseCodePanel },
            org.jdesktop.layout.GroupLayout.VERTICAL);

    tabPane.addTab("License", licensePanel);

    logPanel.setToolTipText("Clicking clears Display");
    logPanel.setFocusTraversalKeysEnabled(false);
    logPanel.setFont(new java.awt.Font("STHeiti", 0, 12));
    logPanel.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyPressed(java.awt.event.KeyEvent evt) {
            logPanelKeyPressed(evt);
        }
    });

    logScrollPane.setForeground(new java.awt.Color(255, 255, 255));
    logScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    logScrollPane.setDoubleBuffered(true);
    logScrollPane.setFont(new java.awt.Font("STHeiti", 0, 13));

    textLogArea.setBackground(new java.awt.Color(51, 51, 51));
    textLogArea.setColumns(20);
    textLogArea.setEditable(false);
    textLogArea.setFont(new java.awt.Font("Courier", 0, 8));
    textLogArea.setForeground(new java.awt.Color(255, 255, 255));
    textLogArea.setLineWrap(true);
    textLogArea.setRows(5);
    textLogArea.setToolTipText("Doubleclick to Clear");
    textLogArea.setDoubleBuffered(true);
    textLogArea.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            textLogAreaMouseClicked(evt);
        }
    });
    logScrollPane.setViewportView(textLogArea);

    org.jdesktop.layout.GroupLayout logPanelLayout = new org.jdesktop.layout.GroupLayout(logPanel);
    logPanel.setLayout(logPanelLayout);
    logPanelLayout
            .setHorizontalGroup(logPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(logScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 662, Short.MAX_VALUE));
    logPanelLayout.setVerticalGroup(logPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, logScrollPane,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 335, Short.MAX_VALUE));

    tabPane.addTab("Log", logPanel);

    aboutPanel.setBackground(new java.awt.Color(51, 51, 51));
    aboutPanel.setToolTipText("Background Information on this Product");
    aboutPanel.setFocusTraversalKeysEnabled(false);
    aboutPanel.setFont(new java.awt.Font("STHeiti", 0, 12));
    aboutPanel.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyPressed(java.awt.event.KeyEvent evt) {
            aboutPanelKeyPressed(evt);
        }
    });

    brandLabel.setFont(new java.awt.Font("STHeiti", 1, 24));
    brandLabel.setForeground(new java.awt.Color(51, 51, 51));
    brandLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);

    brandDescriptionLabel.setBackground(new java.awt.Color(51, 51, 51));
    brandDescriptionLabel.setColumns(20);
    brandDescriptionLabel.setEditable(false);
    brandDescriptionLabel.setFont(new java.awt.Font("STHeiti", 0, 14));
    brandDescriptionLabel.setForeground(new java.awt.Color(51, 51, 51));
    brandDescriptionLabel.setLineWrap(true);
    brandDescriptionLabel.setRows(5);
    brandDescriptionLabel.setWrapStyleWord(true);
    brandDescriptionLabel.setAutoscrolls(false);
    brandDescriptionLabel.setBorder(null);
    brandDescriptionLabel.setDragEnabled(false);
    brandDescriptionLabel.setFocusable(false);

    productLabel.setFont(new java.awt.Font("STHeiti", 1, 24));
    productLabel.setForeground(new java.awt.Color(51, 51, 51));
    productLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);

    productDescriptionLabel.setBackground(new java.awt.Color(51, 51, 51));
    productDescriptionLabel.setColumns(20);
    productDescriptionLabel.setEditable(false);
    productDescriptionLabel.setFont(new java.awt.Font("STHeiti", 0, 14));
    productDescriptionLabel.setForeground(new java.awt.Color(51, 51, 51));
    productDescriptionLabel.setLineWrap(true);
    productDescriptionLabel.setRows(5);
    productDescriptionLabel.setWrapStyleWord(true);
    productDescriptionLabel.setAutoscrolls(false);
    productDescriptionLabel.setBorder(null);
    productDescriptionLabel.setDragEnabled(false);
    productDescriptionLabel.setFocusable(false);

    copyrightLabel.setBackground(new java.awt.Color(51, 51, 51));
    copyrightLabel.setColumns(20);
    copyrightLabel.setEditable(false);
    copyrightLabel.setFont(new java.awt.Font("STHeiti", 0, 14));
    copyrightLabel.setForeground(new java.awt.Color(51, 51, 51));
    copyrightLabel.setLineWrap(true);
    copyrightLabel.setRows(5);
    copyrightLabel.setWrapStyleWord(true);
    copyrightLabel.setAutoscrolls(false);
    copyrightLabel.setBorder(null);
    copyrightLabel.setDragEnabled(false);
    copyrightLabel.setFocusable(false);

    org.jdesktop.layout.GroupLayout aboutPanelLayout = new org.jdesktop.layout.GroupLayout(aboutPanel);
    aboutPanel.setLayout(aboutPanelLayout);
    aboutPanelLayout.setHorizontalGroup(aboutPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING,
                    aboutPanelLayout.createSequentialGroup().addContainerGap()
                            .add(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, productDescriptionLabel)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, brandLabel,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, brandDescriptionLabel)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, productLabel,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE))
                            .add(22, 22, 22))
            .add(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(aboutPanelLayout
                            .createSequentialGroup().addContainerGap().add(copyrightLabel,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE)
                            .addContainerGap())));

    aboutPanelLayout
            .linkSize(
                    new java.awt.Component[] { brandDescriptionLabel, brandLabel, copyrightLabel,
                            productDescriptionLabel, productLabel },
                    org.jdesktop.layout.GroupLayout.HORIZONTAL);

    aboutPanelLayout
            .setVerticalGroup(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(aboutPanelLayout.createSequentialGroup().addContainerGap()
                            .add(brandLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 27,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                            .add(brandDescriptionLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                            .add(productLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 34,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                            .add(productDescriptionLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(92, Short.MAX_VALUE))
                    .add(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(aboutPanelLayout.createSequentialGroup().add(277, 277, 277)
                                    .add(copyrightLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 36,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addContainerGap(22, Short.MAX_VALUE))));

    tabPane.addTab("About", aboutPanel);

    displayPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
    displayPanel.setToolTipText("");
    displayPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    displayPanel.setMaximumSize(new java.awt.Dimension(695, 105));
    displayPanel.setMinimumSize(new java.awt.Dimension(695, 105));
    displayPanel.setPreferredSize(new java.awt.Dimension(695, 105));
    displayPanel.setSize(new java.awt.Dimension(695, 105));

    captionTable.setBackground(new java.awt.Color(240, 240, 240));
    captionTable.setFont(new java.awt.Font("STHeiti", 0, 10));
    captionTable.setForeground(new java.awt.Color(102, 102, 102));
    captionTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object[][] { { "", null, null, null, null, null, null, null, null, null, null },
                    { null, null, null, null, null, null, null, null, null, null, null },
                    { null, null, null, null, null, null, null, null, null, null, null } },
            new String[] { "", "", "", "", "", "", "", "", "", "", "" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.String.class, java.lang.String.class,
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class,
                java.lang.String.class, java.lang.String.class, java.lang.String.class,
                java.lang.String.class };
        boolean[] canEdit = new boolean[] { false, false, false, false, false, false, false, false, false,
                false, false };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    captionTable.setToolTipText("CallCenter Statistics");
    captionTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_ALL_COLUMNS);
    captionTable.setAutoscrolls(false);
    captionTable.setColumnSelectionAllowed(true);
    captionTable.setDoubleBuffered(true);
    captionTable.setEnabled(false);
    captionTable.setFocusable(false);
    captionTable.setIntercellSpacing(new java.awt.Dimension(0, 0));
    captionTable.setMaximumSize(new java.awt.Dimension(660, 45));
    captionTable.setMinimumSize(new java.awt.Dimension(660, 45));
    captionTable.setPreferredSize(new java.awt.Dimension(660, 45));
    captionTable.setRowHeight(15);
    captionTable.setRowSelectionAllowed(false);
    captionTable.setShowGrid(false);
    captionTable.setSize(new java.awt.Dimension(660, 45));
    captionTable.setUpdateSelectionOnSort(false);
    captionTable.setVerifyInputWhenFocusTarget(false);

    statusBar.setBackground(new java.awt.Color(230, 230, 230));
    statusBar.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    statusBar.setEditable(false);
    statusBar.setFont(new java.awt.Font("Synchro LET", 2, 14));
    statusBar.setForeground(new java.awt.Color(102, 102, 102));
    statusBar.setToolTipText("Status Bar");
    statusBar.setMaximumSize(new java.awt.Dimension(500, 25));
    statusBar.setMinimumSize(new java.awt.Dimension(500, 25));
    statusBar.setPreferredSize(new java.awt.Dimension(500, 25));
    statusBar.setSize(new java.awt.Dimension(500, 25));

    org.jdesktop.layout.GroupLayout displayPanelLayout = new org.jdesktop.layout.GroupLayout(displayPanel);
    displayPanel.setLayout(displayPanelLayout);
    displayPanelLayout
            .setHorizontalGroup(displayPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(captionTable, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 683, Short.MAX_VALUE)
                    .add(statusBar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 683, Short.MAX_VALUE));
    displayPanelLayout
            .setVerticalGroup(displayPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(displayPanelLayout.createSequentialGroup()
                            .add(captionTable, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(statusBar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 36, Short.MAX_VALUE)
                            .addContainerGap()));

    captionTable.getColumnModel().getSelectionModel()
            .setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    captionTable.getColumnModel().getColumn(0).setResizable(false);
    captionTable.getColumnModel().getColumn(1).setResizable(false);
    captionTable.getColumnModel().getColumn(2).setResizable(false);
    captionTable.getColumnModel().getColumn(3).setResizable(false);
    captionTable.getColumnModel().getColumn(4).setResizable(false);
    captionTable.getColumnModel().getColumn(5).setResizable(false);
    captionTable.getColumnModel().getColumn(6).setResizable(false);
    captionTable.getColumnModel().getColumn(7).setResizable(false);
    captionTable.getColumnModel().getColumn(8).setResizable(false);
    captionTable.getColumnModel().getColumn(9).setResizable(false);
    captionTable.getColumnModel().getColumn(10).setResizable(false);

    controlButtonPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("STHeiti", 0, 13),
            new java.awt.Color(255, 255, 255))); // NOI18N
    controlButtonPanel.setMaximumSize(new java.awt.Dimension(695, 63));
    controlButtonPanel.setMinimumSize(new java.awt.Dimension(695, 63));
    controlButtonPanel.setPreferredSize(new java.awt.Dimension(695, 63));
    controlButtonPanel.setSize(new java.awt.Dimension(695, 63));

    callButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    callButton.setForeground(new java.awt.Color(51, 204, 0));
    callButton.setText("");
    callButton.setToolTipText("Call Button");
    callButton.setEnabled(false);
    callButton.setFocusPainted(false);
    callButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            callButtonActionPerformed(evt);
        }
    });

    serviceLoopProgressBar.setFont(new java.awt.Font("STHeiti", 0, 8));
    serviceLoopProgressBar.setToolTipText("Service Progress");
    serviceLoopProgressBar.setBorderPainted(false);
    serviceLoopProgressBar.setEnabled(false);
    serviceLoopProgressBar.setFocusTraversalKeysEnabled(false);
    serviceLoopProgressBar.setFocusable(false);
    serviceLoopProgressBar.setName("progressBar"); // NOI18N
    serviceLoopProgressBar.setOpaque(true);
    serviceLoopProgressBar.setStringPainted(true);

    autoSpeedToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    autoSpeedToggleButton.setSelected(true);
    autoSpeedToggleButton.setText("");
    autoSpeedToggleButton.setToolTipText("Automatic Speed");
    autoSpeedToggleButton.setEnabled(false);
    autoSpeedToggleButton.setFocusPainted(false);
    autoSpeedToggleButton.setFocusable(false);
    autoSpeedToggleButton.setMaximumSize(new java.awt.Dimension(55, 29));
    autoSpeedToggleButton.setMinimumSize(new java.awt.Dimension(55, 29));
    autoSpeedToggleButton.setPreferredSize(new java.awt.Dimension(55, 29));
    autoSpeedToggleButton.setRequestFocusEnabled(false);
    autoSpeedToggleButton.setSize(new java.awt.Dimension(55, 29));
    autoSpeedToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            autoSpeedToggleButtonActionPerformed(evt);
        }
    });

    powerToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    powerToggleButton.setText("");
    powerToggleButton.setToolTipText("Power Button");
    powerToggleButton.setEnabled(false);
    powerToggleButton.setMaximumSize(new java.awt.Dimension(50, 29));
    powerToggleButton.setMinimumSize(new java.awt.Dimension(50, 29));
    powerToggleButton.setPreferredSize(new java.awt.Dimension(50, 29));
    powerToggleButton.setSize(new java.awt.Dimension(55, 29));
    powerToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            powerToggleButtonActionPerformed(evt);
        }
    });

    runCampaignToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    runCampaignToggleButton.setText("");
    runCampaignToggleButton.setToolTipText("Run / Pause Campaign");
    runCampaignToggleButton.setEnabled(false);
    runCampaignToggleButton.setFocusPainted(false);
    runCampaignToggleButton.setFocusable(false);
    runCampaignToggleButton.setMaximumSize(new java.awt.Dimension(55, 29));
    runCampaignToggleButton.setMinimumSize(new java.awt.Dimension(55, 29));
    runCampaignToggleButton.setPreferredSize(new java.awt.Dimension(55, 29));
    runCampaignToggleButton.setRequestFocusEnabled(false);
    runCampaignToggleButton.setSize(new java.awt.Dimension(55, 29));
    runCampaignToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            runCampaignToggleButtonActionPerformed(evt);
        }
    });

    endButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    endButton.setForeground(new java.awt.Color(255, 0, 0));
    endButton.setText("");
    endButton.setToolTipText("End Button");
    endButton.setEnabled(false);
    endButton.setFocusPainted(false);
    endButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            endButtonActionPerformed(evt);
        }
    });

    phoneButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    phoneButton.setForeground(new java.awt.Color(51, 51, 255));
    phoneButton.setText("");
    phoneButton.setToolTipText("SoftPhone");
    phoneButton.setEnabled(false);
    phoneButton.setFocusPainted(false);
    phoneButton.setMaximumSize(new java.awt.Dimension(100, 29));
    phoneButton.setMinimumSize(new java.awt.Dimension(100, 29));
    phoneButton.setPreferredSize(new java.awt.Dimension(100, 29));
    phoneButton.setSize(new java.awt.Dimension(35, 30));
    phoneButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            phoneButtonActionPerformed(evt);
        }
    });

    stopCampaignButton.setFont(new java.awt.Font("STHeiti", 0, 5));
    stopCampaignButton.setText("");
    stopCampaignButton.setToolTipText("Stop Campaign");
    stopCampaignButton.setEnabled(false);
    stopCampaignButton.setFocusPainted(false);
    stopCampaignButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            stopCampaignButtonActionPerformed(evt);
        }
    });

    muteAudioToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    muteAudioToggleButton.setText("");
    muteAudioToggleButton.setToolTipText("Mute Audio");
    muteAudioToggleButton.setAlignmentY(0.0F);
    muteAudioToggleButton.setEnabled(false);
    muteAudioToggleButton.setFocusable(false);
    muteAudioToggleButton.setMaximumSize(new java.awt.Dimension(100, 30));
    muteAudioToggleButton.setMinimumSize(new java.awt.Dimension(100, 30));
    muteAudioToggleButton.setPreferredSize(new java.awt.Dimension(100, 30));
    muteAudioToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            muteAudioToggleButtonActionPerformed(evt);
        }
    });

    campaignProgressBar.setFont(new java.awt.Font("STHeiti", 0, 8));
    campaignProgressBar.setMaximum(1000);
    campaignProgressBar.setToolTipText("Campaign Progress");
    campaignProgressBar.setBorderPainted(false);
    campaignProgressBar.setEnabled(false);
    campaignProgressBar.setFocusTraversalKeysEnabled(false);
    campaignProgressBar.setFocusable(false);
    campaignProgressBar.setName("campaignProgressBar"); // NOI18N
    campaignProgressBar.setOpaque(true);
    campaignProgressBar.setStringPainted(true);

    humanResponseSimulatorToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    humanResponseSimulatorToggleButton.setText("");
    humanResponseSimulatorToggleButton.setToolTipText("Simulate Human Behavior (Inbound)");
    humanResponseSimulatorToggleButton.setAlignmentY(0.0F);
    humanResponseSimulatorToggleButton.setEnabled(false);
    humanResponseSimulatorToggleButton.setFocusable(false);
    humanResponseSimulatorToggleButton.setMaximumSize(new java.awt.Dimension(100, 30));
    humanResponseSimulatorToggleButton.setMinimumSize(new java.awt.Dimension(100, 30));
    humanResponseSimulatorToggleButton.setPreferredSize(new java.awt.Dimension(100, 30));
    humanResponseSimulatorToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            humanResponseSimulatorToggleButtonActionPerformed(evt);
        }
    });

    registerToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    registerToggleButton.setText("");
    registerToggleButton.setToolTipText("Register to PBX (Switchboard)");
    registerToggleButton.setAlignmentY(0.0F);
    registerToggleButton.setEnabled(false);
    registerToggleButton.setFocusable(false);
    registerToggleButton.setMaximumSize(new java.awt.Dimension(100, 30));
    registerToggleButton.setMinimumSize(new java.awt.Dimension(100, 30));
    registerToggleButton.setPreferredSize(new java.awt.Dimension(100, 30));
    registerToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            registerToggleButtonActionPerformed(evt);
        }
    });

    campaignComboBox.setFont(new java.awt.Font("STHeiti", 0, 8));
    campaignComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "" }));
    campaignComboBox.setToolTipText("Choose Campaign");
    campaignComboBox.setEnabled(false);
    campaignComboBox.setFocusable(false);
    campaignComboBox.setMinimumSize(new java.awt.Dimension(70, 35));
    campaignComboBox.setPreferredSize(new java.awt.Dimension(70, 35));
    campaignComboBox.setSize(new java.awt.Dimension(70, 35));
    campaignComboBox.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            campaignComboBoxActionPerformed(evt);
        }
    });

    debugToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    debugToggleButton.setText("");
    debugToggleButton.setToolTipText("Debugging");
    debugToggleButton.setAlignmentY(0.0F);
    debugToggleButton.setEnabled(false);
    debugToggleButton.setFocusable(false);
    debugToggleButton.setMaximumSize(new java.awt.Dimension(100, 30));
    debugToggleButton.setMinimumSize(new java.awt.Dimension(100, 30));
    debugToggleButton.setPreferredSize(new java.awt.Dimension(100, 30));
    debugToggleButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            debugToggleButtonActionPerformed(evt);
        }
    });

    resizeWindowButton.setFont(new java.awt.Font("STHeiti", 0, 8));
    resizeWindowButton.setText("");
    resizeWindowButton.setToolTipText("Hide Controls");
    resizeWindowButton.setFocusPainted(false);
    resizeWindowButton.setMaximumSize(new java.awt.Dimension(100, 29));
    resizeWindowButton.setMinimumSize(new java.awt.Dimension(100, 29));
    resizeWindowButton.setPreferredSize(new java.awt.Dimension(100, 29));
    resizeWindowButton.setSize(new java.awt.Dimension(35, 30));
    resizeWindowButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            resizeWindowButtonActionPerformed(evt);
        }
    });

    org.jdesktop.layout.GroupLayout controlButtonPanelLayout = new org.jdesktop.layout.GroupLayout(
            controlButtonPanel);
    controlButtonPanel.setLayout(controlButtonPanelLayout);
    controlButtonPanelLayout.setHorizontalGroup(controlButtonPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(controlButtonPanelLayout.createSequentialGroup().addContainerGap()
                    .add(controlButtonPanelLayout
                            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                            .add(controlButtonPanelLayout.createSequentialGroup()
                                    .add(registerToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            38, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(humanResponseSimulatorToggleButton,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 30,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(muteAudioToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            32, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(debugToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 32,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(serviceLoopProgressBar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .add(9, 9, 9)
                    .add(controlButtonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(controlButtonPanelLayout.createSequentialGroup()
                                    .add(phoneButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(powerToggleButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 99,
                                            Short.MAX_VALUE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(resizeWindowButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 46,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(campaignComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(runCampaignToggleButton,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 38,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(stopCampaignButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(callButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 34,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(endButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 32,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(autoSpeedToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            36, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(7, 7, 7))
                            .add(controlButtonPanelLayout
                                    .createSequentialGroup().add(campaignProgressBar,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 492, Short.MAX_VALUE)
                                    .addContainerGap()))));

    controlButtonPanelLayout
            .linkSize(
                    new java.awt.Component[] { debugToggleButton, humanResponseSimulatorToggleButton,
                            muteAudioToggleButton, registerToggleButton },
                    org.jdesktop.layout.GroupLayout.HORIZONTAL);

    controlButtonPanelLayout
            .linkSize(
                    new java.awt.Component[] { autoSpeedToggleButton, callButton, endButton, phoneButton,
                            runCampaignToggleButton, stopCampaignButton },
                    org.jdesktop.layout.GroupLayout.HORIZONTAL);

    controlButtonPanelLayout.setVerticalGroup(controlButtonPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(controlButtonPanelLayout.createSequentialGroup().addContainerGap().add(controlButtonPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(controlButtonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(debugToggleButton, 0, 0, Short.MAX_VALUE)
                            .add(phoneButton, 0, 0, Short.MAX_VALUE)
                            .add(powerToggleButton, 0, 0, Short.MAX_VALUE))
                    .add(registerToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 21,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(humanResponseSimulatorToggleButton, 0, 0, Short.MAX_VALUE)
                    .add(muteAudioToggleButton, 0, 0, Short.MAX_VALUE)
                    .add(autoSpeedToggleButton, 0, 0, Short.MAX_VALUE)
                    .add(runCampaignToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 21,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(stopCampaignButton, 0, 0, Short.MAX_VALUE).add(endButton, 0, 0, Short.MAX_VALUE)
                    .add(callButton, 0, 0, Short.MAX_VALUE).add(campaignComboBox, 0, 0, Short.MAX_VALUE)
                    .add(resizeWindowButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(controlButtonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(serviceLoopProgressBar, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 9,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(campaignProgressBar, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 9,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(9, 9, 9)));

    controlButtonPanelLayout
            .linkSize(
                    new java.awt.Component[] { autoSpeedToggleButton, callButton, campaignComboBox,
                            debugToggleButton, endButton, humanResponseSimulatorToggleButton,
                            muteAudioToggleButton, phoneButton, powerToggleButton, registerToggleButton,
                            resizeWindowButton, runCampaignToggleButton, stopCampaignButton },
                    org.jdesktop.layout.GroupLayout.VERTICAL);

    controlSliderPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("STHeiti", 0, 10), new java.awt.Color(51, 51, 51))); // NOI18N
    controlSliderPanel.setToolTipText("");
    controlSliderPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    controlSliderPanel.setMaximumSize(new java.awt.Dimension(695, 220));
    controlSliderPanel.setMinimumSize(new java.awt.Dimension(695, 0));
    controlSliderPanel.setPreferredSize(new java.awt.Dimension(695, 220));
    controlSliderPanel.setSize(new java.awt.Dimension(695, 220));

    buttonPanel.setToolTipText("");
    buttonPanel.setFont(new java.awt.Font("STHeiti", 0, 10));
    buttonPanel.setMaximumSize(new java.awt.Dimension(670, 32767));
    buttonPanel.setMinimumSize(new java.awt.Dimension(670, 0));
    buttonPanel.setPreferredSize(new java.awt.Dimension(670, 252));

    outboundSliderPanel.setToolTipText("");
    outboundSliderPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    outboundSliderPanel.setOpaque(false);
    outboundSliderPanel.setPreferredSize(new java.awt.Dimension(304, 190));

    vmUsageThresholdLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    vmUsageThresholdLabel.setText("CPU %");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    vmUsagePauseValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    vmUsagePauseValue.setText("0");
    vmUsagePauseValue.setHorizontalAlignment(SwingConstants.CENTER);

    vmUsageThresholdSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    vmUsageThresholdSlider.setMajorTickSpacing(10);
    vmUsageThresholdSlider.setMinorTickSpacing(1);
    vmUsageThresholdSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    vmUsageThresholdSlider.setPaintLabels(true);
    vmUsageThresholdSlider.setPaintTicks(true);
    vmUsageThresholdSlider.setSnapToTicks(true);
    vmUsageThresholdSlider.setToolTipText("VM Usage Threshold (Pause Campaign)");
    vmUsageThresholdSlider.setValue(100);
    vmUsageThresholdSlider.setFocusable(false);
    vmUsageThresholdSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    vmUsageThresholdSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    vmUsageThresholdSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    vmUsageThresholdSlider.setSize(new java.awt.Dimension(40, 150));
    vmUsageThresholdSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            vmUsageThresholdSliderStateChanged(evt);
        }
    });

    memFreeThresholdLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    memFreeThresholdLabel.setText("MF MB");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    memFreeThresholdValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    memFreeThresholdValue.setText("0");
    memFreeThresholdValue.setHorizontalAlignment(SwingConstants.CENTER);

    memFreeThresholdSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    memFreeThresholdSlider.setMajorTickSpacing(10);
    memFreeThresholdSlider.setMinorTickSpacing(1);
    memFreeThresholdSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    memFreeThresholdSlider.setPaintLabels(true);
    memFreeThresholdSlider.setPaintTicks(true);
    memFreeThresholdSlider.setSnapToTicks(true);
    memFreeThresholdSlider.setToolTipText("Memory Free Threshold (Pause Campaign)");
    memFreeThresholdSlider.setValue(5);
    memFreeThresholdSlider.setFocusable(false);
    memFreeThresholdSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    memFreeThresholdSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    memFreeThresholdSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    memFreeThresholdSlider.setSize(new java.awt.Dimension(40, 150));
    memFreeThresholdSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            memFreeThresholdSliderStateChanged(evt);
        }
    });

    heapMemFreeThresholdLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    heapMemFreeThresholdLabel.setText("HMF MB");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    heapMemFreeThresholdValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    heapMemFreeThresholdValue.setText("0");
    heapMemFreeThresholdValue.setHorizontalAlignment(SwingConstants.CENTER);

    heapMemFreeThresholdSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    heapMemFreeThresholdSlider.setMajorTickSpacing(10);
    heapMemFreeThresholdSlider.setMinorTickSpacing(1);
    heapMemFreeThresholdSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    heapMemFreeThresholdSlider.setPaintLabels(true);
    heapMemFreeThresholdSlider.setPaintTicks(true);
    heapMemFreeThresholdSlider.setSnapToTicks(true);
    heapMemFreeThresholdSlider.setToolTipText("HeapMemory Free Threshold (Pause Campaign)");
    heapMemFreeThresholdSlider.setValue(0);
    heapMemFreeThresholdSlider.setFocusable(false);
    heapMemFreeThresholdSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    heapMemFreeThresholdSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    heapMemFreeThresholdSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    heapMemFreeThresholdSlider.setSize(new java.awt.Dimension(40, 150));
    heapMemFreeThresholdSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            heapMemFreeThresholdSliderStateChanged(evt);
        }
    });

    connectingTallyLimitLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    connectingTallyLimitLabel.setText("CON");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    connectingTallyLimitValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    connectingTallyLimitValue.setText("0");
    heapMemFreeThresholdValue.setHorizontalAlignment(SwingConstants.CENTER);

    connectingTallyLimitSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    connectingTallyLimitSlider.setMajorTickSpacing(10);
    connectingTallyLimitSlider.setMinorTickSpacing(1);
    connectingTallyLimitSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    connectingTallyLimitSlider.setPaintLabels(true);
    connectingTallyLimitSlider.setPaintTicks(true);
    connectingTallyLimitSlider.setSnapToTicks(true);
    connectingTallyLimitSlider.setToolTipText("Concurrent Connecting States Maximum (Pause Campaign)");
    connectingTallyLimitSlider.setValue(10);
    connectingTallyLimitSlider.setFocusable(false);
    connectingTallyLimitSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    connectingTallyLimitSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    connectingTallyLimitSlider.setName(""); // NOI18N
    connectingTallyLimitSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    connectingTallyLimitSlider.setSize(new java.awt.Dimension(40, 150));
    connectingTallyLimitSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            connectingTallyLimitSliderStateChanged(evt);
        }
    });

    callingTallyLimitLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    callingTallyLimitLabel.setText("CALL");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    callingTallyLimitValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    callingTallyLimitValue.setText("0");
    callingTallyLimitValue.setHorizontalAlignment(SwingConstants.CENTER);

    callingTallyLimitSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    callingTallyLimitSlider.setMajorTickSpacing(10);
    callingTallyLimitSlider.setMaximum(200);
    callingTallyLimitSlider.setMinorTickSpacing(5);
    callingTallyLimitSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    callingTallyLimitSlider.setPaintLabels(true);
    callingTallyLimitSlider.setPaintTicks(true);
    callingTallyLimitSlider.setSnapToTicks(true);
    callingTallyLimitSlider.setToolTipText("Concurrent Calls Maximum (Pause Campaign)");
    callingTallyLimitSlider.setValue(100);
    callingTallyLimitSlider.setExtent(20);
    callingTallyLimitSlider.setFocusable(false);
    callingTallyLimitSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    callingTallyLimitSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    callingTallyLimitSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    callingTallyLimitSlider.setSize(new java.awt.Dimension(40, 150));
    callingTallyLimitSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            callingTallyLimitSliderStateChanged(evt);
        }
    });

    establishedTallyLimitLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    establishedTallyLimitLabel.setText("EST");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    establishedTallyLimitValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    establishedTallyLimitValue.setText("0");
    establishedTallyLimitValue.setHorizontalAlignment(SwingConstants.CENTER);

    establishedTallyLimitSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    establishedTallyLimitSlider.setMajorTickSpacing(10);
    establishedTallyLimitSlider.setMaximum(200);
    establishedTallyLimitSlider.setMinorTickSpacing(5);
    establishedTallyLimitSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    establishedTallyLimitSlider.setPaintLabels(true);
    establishedTallyLimitSlider.setPaintTicks(true);
    establishedTallyLimitSlider.setSnapToTicks(true);
    establishedTallyLimitSlider.setToolTipText("Concurrent Established Calls Maximum (Pause Campaign)");
    establishedTallyLimitSlider.setFocusable(false);
    establishedTallyLimitSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    establishedTallyLimitSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    establishedTallyLimitSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    establishedTallyLimitSlider.setSize(new java.awt.Dimension(40, 150));
    establishedTallyLimitSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            establishedTallyLimitSliderStateChanged(evt);
        }
    });

    callSpeedLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    callSpeedLabel.setText("Speed");
    callSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    callSpeedValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    callSpeedValue.setText("0");
    callSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    callSpeedSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    callSpeedSlider.setMajorTickSpacing(1000);
    callSpeedSlider.setMaximum(10000);
    callSpeedSlider.setMinimum(350);
    callSpeedSlider.setMinorTickSpacing(1);
    callSpeedSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    callSpeedSlider.setPaintLabels(true);
    callSpeedSlider.setPaintTicks(true);
    callSpeedSlider.setSnapToTicks(true);
    callSpeedSlider.setToolTipText("Automated Outbound Call Rate (mSec)");
    callSpeedSlider.setFocusable(false);
    callSpeedSlider.setInverted(true);
    callSpeedSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    callSpeedSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    callSpeedSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    callSpeedSlider.setSize(new java.awt.Dimension(40, 150));
    callSpeedSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            callSpeedSliderStateChanged(evt);
        }
    });

    org.jdesktop.layout.GroupLayout outboundSliderPanelLayout = new org.jdesktop.layout.GroupLayout(
            outboundSliderPanel);
    outboundSliderPanel.setLayout(outboundSliderPanelLayout);
    outboundSliderPanelLayout.setHorizontalGroup(outboundSliderPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(outboundSliderPanelLayout.createSequentialGroup().addContainerGap()
                    .add(outboundSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(outboundSliderPanelLayout.createSequentialGroup()
                                    .add(vmUsageThresholdSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(memFreeThresholdSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(heapMemFreeThresholdSlider,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(connectingTallyLimitSlider,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(callingTallyLimitSlider,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(establishedTallyLimitSlider,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(callSpeedSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addContainerGap())
                            .add(outboundSliderPanelLayout.createSequentialGroup()
                                    .add(outboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(outboundSliderPanelLayout.createSequentialGroup()
                                                    .add(vmUsageThresholdLabel).add(14, 14, 14))
                                            .add(vmUsagePauseValue,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 30,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .add(10, 10, 10)
                                    .add(outboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(outboundSliderPanelLayout.createSequentialGroup()
                                                    .add(memFreeThresholdValue,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                    .add(16, 16, 16))
                                            .add(outboundSliderPanelLayout.createSequentialGroup()
                                                    .add(memFreeThresholdLabel).add(11, 11, 11)))
                                    .add(outboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(heapMemFreeThresholdLabel).add(heapMemFreeThresholdValue,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                    .add(outboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(outboundSliderPanelLayout.createSequentialGroup()
                                                    .add(connectingTallyLimitLabel).add(7, 7, 7))
                                            .add(connectingTallyLimitValue,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .add(18, 18, 18)
                                    .add(outboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                            .add(org.jdesktop.layout.GroupLayout.TRAILING,
                                                    callingTallyLimitLabel)
                                            .add(org.jdesktop.layout.GroupLayout.TRAILING,
                                                    callingTallyLimitValue,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .add(18, 18, 18)
                                    .add(outboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                            .add(establishedTallyLimitLabel,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 29,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(establishedTallyLimitValue,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .add(outboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                                            .add(callSpeedValue, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    Short.MAX_VALUE)
                                            .add(callSpeedLabel))
                                    .add(28, 28, 28)))));

    outboundSliderPanelLayout.linkSize(
            new java.awt.Component[] { connectingTallyLimitSlider, heapMemFreeThresholdSlider },
            org.jdesktop.layout.GroupLayout.HORIZONTAL);

    outboundSliderPanelLayout.setVerticalGroup(outboundSliderPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(outboundSliderPanelLayout.createSequentialGroup().addContainerGap()
                    .add(outboundSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(outboundSliderPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(vmUsageThresholdLabel)
                                    .add(outboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(outboundSliderPanelLayout
                                                    .createParallelGroup(
                                                            org.jdesktop.layout.GroupLayout.LEADING)
                                                    .add(outboundSliderPanelLayout.createSequentialGroup()
                                                            .add(memFreeThresholdLabel)
                                                            .addPreferredGap(
                                                                    org.jdesktop.layout.LayoutStyle.RELATED)
                                                            .add(memFreeThresholdValue))
                                                    .add(outboundSliderPanelLayout.createSequentialGroup()
                                                            .add(15, 15, 15).add(heapMemFreeThresholdValue))
                                                    .add(heapMemFreeThresholdLabel)
                                                    .add(outboundSliderPanelLayout.createSequentialGroup()
                                                            .add(connectingTallyLimitLabel)
                                                            .addPreferredGap(
                                                                    org.jdesktop.layout.LayoutStyle.RELATED)
                                                            .add(connectingTallyLimitValue)))
                                            .add(vmUsagePauseValue,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 9,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                            .add(outboundSliderPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(outboundSliderPanelLayout.createSequentialGroup()
                                            .add(establishedTallyLimitLabel)
                                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                            .add(establishedTallyLimitValue))
                                    .add(outboundSliderPanelLayout.createSequentialGroup()
                                            .add(callingTallyLimitLabel)
                                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                            .add(callingTallyLimitValue)))
                            .add(outboundSliderPanelLayout.createSequentialGroup().add(callSpeedLabel)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(callSpeedValue)))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(outboundSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(establishedTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(callingTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(connectingTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(heapMemFreeThresholdSlider, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150,
                                    Short.MAX_VALUE)
                            .add(memFreeThresholdSlider, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150,
                                    Short.MAX_VALUE)
                            .add(vmUsageThresholdSlider, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150,
                                    Short.MAX_VALUE)
                            .add(callSpeedSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(186, 186, 186)));

    performanceMeterPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Calls per Hour",
            javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP,
            new java.awt.Font("STHeiti", 0, 10), new java.awt.Color(102, 102, 102))); // NOI18N
    performanceMeterPanel.setToolTipText("Call Speed & VM Workload");
    performanceMeterPanel.setFocusable(false);
    performanceMeterPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    performanceMeterPanel.setMaximumSize(new java.awt.Dimension(190, 190));
    performanceMeterPanel.setMinimumSize(new java.awt.Dimension(190, 190));
    performanceMeterPanel.setPreferredSize(new java.awt.Dimension(190, 190));
    performanceMeterPanel.setSize(new java.awt.Dimension(190, 190));

    org.jdesktop.layout.GroupLayout performanceMeterPanelLayout = new org.jdesktop.layout.GroupLayout(
            performanceMeterPanel);
    performanceMeterPanel.setLayout(performanceMeterPanelLayout);
    performanceMeterPanelLayout.setHorizontalGroup(performanceMeterPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 176, Short.MAX_VALUE));
    performanceMeterPanelLayout.setVerticalGroup(performanceMeterPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 167, Short.MAX_VALUE));

    inboundSliderPanel.setToolTipText("");
    inboundSliderPanel.setFont(new java.awt.Font("STHeiti", 0, 13));
    inboundSliderPanel.setMaximumSize(new java.awt.Dimension(190, 190));
    inboundSliderPanel.setMinimumSize(new java.awt.Dimension(190, 190));
    inboundSliderPanel.setOpaque(false);
    inboundSliderPanel.setPreferredSize(new java.awt.Dimension(190, 190));
    inboundSliderPanel.setSize(new java.awt.Dimension(190, 190));

    registerSpeedLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    registerSpeedLabel.setText("Speed");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    inboundRingingResponseDelayLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    inboundRingingResponseDelayLabel.setText("RngDlay");
    inboundRingingResponseDelayLabel.setToolTipText("Auto Ringing Response Delay Limit in mSec");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    inboundRingingResponseBusyRatioLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    inboundRingingResponseBusyRatioLabel.setText("Busy %");
    inboundRingingResponseBusyRatioLabel
            .setToolTipText("The Ratio Between Answering or Denying inbound Phonecalls (bottom is deny)");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    inboundEndDelayLabel.setFont(new java.awt.Font("STHeiti", 0, 8));
    inboundEndDelayLabel.setText("EndDlay");
    inboundEndDelayLabel.setToolTipText("Auto Ringing Response Delay Limit in mSec");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    inboundEndDelayValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    inboundEndDelayValue.setText("0");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    registerSpeedValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    registerSpeedValue.setText("0");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    inboundRingingResponseDelayValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    inboundRingingResponseDelayValue.setText("0");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    inboundRingingResponseBusyRatioValue.setFont(new java.awt.Font("STHeiti", 0, 8));
    inboundRingingResponseBusyRatioValue.setText("0");
    registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER);

    registerSpeedSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    registerSpeedSlider.setMajorTickSpacing(10);
    registerSpeedSlider.setMinorTickSpacing(1);
    registerSpeedSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    registerSpeedSlider.setPaintLabels(true);
    registerSpeedSlider.setPaintTicks(true);
    registerSpeedSlider.setSnapToTicks(true);
    registerSpeedSlider.setToolTipText("Register Speed");
    registerSpeedSlider.setValue(20);
    registerSpeedSlider.setFocusable(false);
    registerSpeedSlider.setInverted(true);
    registerSpeedSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    registerSpeedSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    registerSpeedSlider.setName(""); // NOI18N
    registerSpeedSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    registerSpeedSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            registerSpeedSliderStateChanged(evt);
        }
    });

    inboundRingingResponseDelaySlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    inboundRingingResponseDelaySlider.setMajorTickSpacing(5000);
    inboundRingingResponseDelaySlider.setMaximum(60000);
    inboundRingingResponseDelaySlider.setMinorTickSpacing(1000);
    inboundRingingResponseDelaySlider.setOrientation(javax.swing.JSlider.VERTICAL);
    inboundRingingResponseDelaySlider.setPaintLabels(true);
    inboundRingingResponseDelaySlider.setPaintTicks(true);
    inboundRingingResponseDelaySlider.setSnapToTicks(true);
    inboundRingingResponseDelaySlider.setToolTipText("Random Ring Delay");
    inboundRingingResponseDelaySlider.setValue(30000);
    inboundRingingResponseDelaySlider.setFocusable(false);
    inboundRingingResponseDelaySlider.setMaximumSize(new java.awt.Dimension(40, 150));
    inboundRingingResponseDelaySlider.setMinimumSize(new java.awt.Dimension(40, 150));
    inboundRingingResponseDelaySlider.setName(""); // NOI18N
    inboundRingingResponseDelaySlider.setPreferredSize(new java.awt.Dimension(40, 150));
    inboundRingingResponseDelaySlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            inboundRingingResponseDelaySliderStateChanged(evt);
        }
    });

    inboundRingingResponseBusyRatioSlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    inboundRingingResponseBusyRatioSlider.setMajorTickSpacing(10);
    inboundRingingResponseBusyRatioSlider.setMinorTickSpacing(1);
    inboundRingingResponseBusyRatioSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    inboundRingingResponseBusyRatioSlider.setPaintLabels(true);
    inboundRingingResponseBusyRatioSlider.setPaintTicks(true);
    inboundRingingResponseBusyRatioSlider.setSnapToTicks(true);
    inboundRingingResponseBusyRatioSlider.setToolTipText("Busy Percentage");
    inboundRingingResponseBusyRatioSlider.setValue(10);
    inboundRingingResponseBusyRatioSlider.setFocusable(false);
    inboundRingingResponseBusyRatioSlider.setMaximumSize(new java.awt.Dimension(40, 150));
    inboundRingingResponseBusyRatioSlider.setMinimumSize(new java.awt.Dimension(40, 150));
    inboundRingingResponseBusyRatioSlider.setName(""); // NOI18N
    inboundRingingResponseBusyRatioSlider.setPreferredSize(new java.awt.Dimension(40, 150));
    inboundRingingResponseBusyRatioSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            inboundRingingResponseBusyRatioSliderStateChanged(evt);
        }
    });

    inboundEndDelaySlider.setFont(new java.awt.Font("STHeiti", 0, 5));
    inboundEndDelaySlider.setMajorTickSpacing(6000);
    inboundEndDelaySlider.setMaximum(60000);
    inboundEndDelaySlider.setMinimum(1000);
    inboundEndDelaySlider.setMinorTickSpacing(1000);
    inboundEndDelaySlider.setOrientation(javax.swing.JSlider.VERTICAL);
    inboundEndDelaySlider.setPaintLabels(true);
    inboundEndDelaySlider.setPaintTicks(true);
    inboundEndDelaySlider.setSnapToTicks(true);
    inboundEndDelaySlider.setToolTipText("Random End Call Delay");
    inboundEndDelaySlider.setValue(30000);
    inboundEndDelaySlider.setFocusable(false);
    inboundEndDelaySlider.setMaximumSize(new java.awt.Dimension(40, 150));
    inboundEndDelaySlider.setMinimumSize(new java.awt.Dimension(40, 150));
    inboundEndDelaySlider.setName(""); // NOI18N
    inboundEndDelaySlider.setPreferredSize(new java.awt.Dimension(40, 150));
    inboundEndDelaySlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            inboundEndDelaySliderStateChanged(evt);
        }
    });

    org.jdesktop.layout.GroupLayout inboundSliderPanelLayout = new org.jdesktop.layout.GroupLayout(
            inboundSliderPanel);
    inboundSliderPanel.setLayout(inboundSliderPanelLayout);
    inboundSliderPanelLayout.setHorizontalGroup(inboundSliderPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(inboundSliderPanelLayout.createSequentialGroup().addContainerGap().add(inboundSliderPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(inboundSliderPanelLayout.createSequentialGroup()
                            .add(inboundSliderPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(registerSpeedLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(registerSpeedValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(inboundSliderPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(inboundSliderPanelLayout.createSequentialGroup().add(2, 2, 2).add(
                                            inboundRingingResponseDelayLabel,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .add(inboundRingingResponseDelayValue,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 29,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(inboundSliderPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                                    .add(inboundRingingResponseBusyRatioLabel,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(inboundSliderPanelLayout.createSequentialGroup().add(2, 2, 2).add(
                                            inboundRingingResponseBusyRatioValue,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 29,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(inboundSliderPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(inboundEndDelayValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            29, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(inboundEndDelayLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            35, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .add(inboundSliderPanelLayout.createSequentialGroup()
                            .add(registerSpeedSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 34,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(inboundRingingResponseDelaySlider,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(inboundRingingResponseBusyRatioSlider,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(inboundEndDelaySlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    inboundSliderPanelLayout.setVerticalGroup(inboundSliderPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(inboundSliderPanelLayout.createSequentialGroup()
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(inboundSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(inboundSliderPanelLayout.createSequentialGroup()
                                    .add(inboundRingingResponseDelayLabel)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(inboundRingingResponseDelayValue))
                            .add(inboundSliderPanelLayout.createSequentialGroup()
                                    .add(inboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                            .add(inboundSliderPanelLayout.createSequentialGroup()
                                                    .add(registerSpeedLabel)
                                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                    .add(registerSpeedValue))
                                            .add(inboundSliderPanelLayout.createSequentialGroup()
                                                    .add(inboundRingingResponseBusyRatioLabel)
                                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                    .add(inboundRingingResponseBusyRatioValue))
                                            .add(inboundSliderPanelLayout.createSequentialGroup()
                                                    .add(inboundEndDelayLabel)
                                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                    .add(inboundEndDelayValue)))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(inboundSliderPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(org.jdesktop.layout.GroupLayout.LEADING, inboundEndDelaySlider,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                    inboundSliderPanelLayout
                                                            .createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.BASELINE)
                                                            .add(registerSpeedSlider,
                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                    150,
                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                            .add(inboundRingingResponseDelaySlider,
                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                    150,
                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                            .add(inboundRingingResponseBusyRatioSlider,
                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                                    150,
                                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))));

    org.jdesktop.layout.GroupLayout buttonPanelLayout = new org.jdesktop.layout.GroupLayout(buttonPanel);
    buttonPanel.setLayout(buttonPanelLayout);
    buttonPanelLayout
            .setHorizontalGroup(buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING,
                            buttonPanelLayout.createSequentialGroup().addContainerGap()
                                    .add(inboundSliderPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            164, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(12, 12, 12)
                                    .add(performanceMeterPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            188, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(outboundSliderPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 288,
                                            Short.MAX_VALUE)
                                    .addContainerGap()));
    buttonPanelLayout.setVerticalGroup(buttonPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(buttonPanelLayout.createSequentialGroup().addContainerGap().add(buttonPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(performanceMeterPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                            .add(org.jdesktop.layout.GroupLayout.LEADING, inboundSliderPanel, 0, 186,
                                    Short.MAX_VALUE)
                            .add(org.jdesktop.layout.GroupLayout.LEADING, outboundSliderPanel, 0, 186,
                                    Short.MAX_VALUE)))
                    .addContainerGap(12, Short.MAX_VALUE)));

    org.jdesktop.layout.GroupLayout controlSliderPanelLayout = new org.jdesktop.layout.GroupLayout(
            controlSliderPanel);
    controlSliderPanel.setLayout(controlSliderPanelLayout);
    controlSliderPanelLayout.setHorizontalGroup(
            controlSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(controlSliderPanelLayout.createSequentialGroup()
                            .add(buttonPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(13, Short.MAX_VALUE)));
    controlSliderPanelLayout.setVerticalGroup(
            controlSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(buttonPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 208, Short.MAX_VALUE));

    org.jdesktop.layout.GroupLayout colorMaskPanelLayout = new org.jdesktop.layout.GroupLayout(colorMaskPanel);
    colorMaskPanel.setLayout(colorMaskPanelLayout);
    colorMaskPanelLayout.setHorizontalGroup(colorMaskPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(colorMaskPanelLayout.createSequentialGroup().addContainerGap()
                    .add(colorMaskPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(controlSliderPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(tabPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(displayPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(controlButtonPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(9, Short.MAX_VALUE)));
    colorMaskPanelLayout
            .setVerticalGroup(colorMaskPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(colorMaskPanelLayout.createSequentialGroup()
                            .add(tabPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(displayPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(controlButtonPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(controlSliderPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(32, Short.MAX_VALUE)));

    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
            colorMaskPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE));
    layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
            colorMaskPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE));

    pack();
}

From source file:com.mirth.connect.client.ui.ChannelSetup.java

private void initComponents() {

    metadataPruningButtonGroup = new javax.swing.ButtonGroup();
    contentPruningButtonGroup = new javax.swing.ButtonGroup();
    buttonGroup1 = new javax.swing.ButtonGroup();
    channelView = new javax.swing.JTabbedPane();
    summary = new javax.swing.JPanel();
    channelPropertiesPanel = new javax.swing.JPanel();
    summaryNameLabel = new javax.swing.JLabel();
    summaryNameField = new com.mirth.connect.client.ui.components.MirthTextField();
    summaryPatternLabel1 = new javax.swing.JLabel();
    initialStateLabel = new javax.swing.JLabel();
    changeDataTypesButton = new javax.swing.JButton();
    initialState = new com.mirth.connect.client.ui.components.MirthComboBox();
    attachmentLabel = new javax.swing.JLabel();
    attachmentPropertiesButton = new javax.swing.JButton();
    attachmentComboBox = new com.mirth.connect.client.ui.components.MirthComboBox();
    summaryEnabledCheckbox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    clearGlobalChannelMapCheckBox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    summaryRevision = new javax.swing.JLabel();
    lastModified = new javax.swing.JLabel();
    attachmentWarningLabel = new javax.swing.JLabel();
    attachmentStoreCheckBox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    channelIdField = new javax.swing.JTextField();
    dependenciesLabel = new javax.swing.JLabel();
    setDependenciesButton = new javax.swing.JButton();
    messageStoragePanel = new javax.swing.JPanel();
    storageModeLabel = new javax.swing.JLabel();
    contentLabel = new javax.swing.JLabel();
    metadataLabel = new javax.swing.JLabel();
    durableLabel = new javax.swing.JLabel();
    performanceLabel = new javax.swing.JLabel();
    messageStorageSlider = new javax.swing.JSlider();
    messageStorageProgressBar = new javax.swing.JProgressBar();
    encryptMessagesCheckBox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    durableStatusLabel = new javax.swing.JLabel();
    removeContentCheckbox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    removeAttachmentsCheckbox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    queueWarningLabel = new javax.swing.JLabel();
    removeOnlyFilteredCheckBox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    messagePruningPanel = new javax.swing.JPanel();
    metadataPruningLabel = new javax.swing.JLabel();
    metadataPruningOffRadio = new javax.swing.JRadioButton();
    metadataPruningOnRadio = new javax.swing.JRadioButton();
    metadataPruningDaysTextField = new com.mirth.connect.client.ui.components.MirthTextField();
    metadataDaysLabel = new javax.swing.JLabel();
    contentPruningMetadataRadio = new javax.swing.JRadioButton();
    contentPruningLabel = new javax.swing.JLabel();
    contentPruningDaysRadio = new javax.swing.JRadioButton();
    contentPruningDaysTextField = new com.mirth.connect.client.ui.components.MirthTextField();
    contentDaysLabel = new javax.swing.JLabel();
    jLabel1 = new javax.swing.JLabel();
    archiveCheckBox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    channelTagsPanel = new javax.swing.JPanel();
    channelTagsScrollPane = new javax.swing.JScrollPane();
    tagTable = new com.mirth.connect.client.ui.components.MirthTable();
    addTagButton = new com.mirth.connect.client.ui.components.MirthButton();
    deleteTagButton = new com.mirth.connect.client.ui.components.MirthButton();
    customMetadataPanel = new javax.swing.JPanel();
    addMetaDataButton = new javax.swing.JButton();
    deleteMetaDataButton = new javax.swing.JButton();
    metaDataTablePane = new javax.swing.JScrollPane();
    metaDataTable = new com.mirth.connect.client.ui.components.MirthTable();
    revertMetaDataButton = new javax.swing.JButton();
    jPanel1 = new javax.swing.JPanel();
    summaryDescriptionScrollPane = new javax.swing.JScrollPane();
    summaryDescriptionText = new com.mirth.connect.client.ui.components.MirthTextPane();
    source = new javax.swing.JPanel();
    sourceSourceDropdown = new com.mirth.connect.client.ui.components.MirthComboBox();
    sourceSourceLabel = new javax.swing.JLabel();
    sourceConnectorPane = new javax.swing.JScrollPane();
    sourceConnectorPanel = new com.mirth.connect.client.ui.panels.connectors.ConnectorPanel();
    destination = new javax.swing.JPanel();
    destinationSourceDropdown = new com.mirth.connect.client.ui.components.MirthComboBox();
    destinationSourceLabel = new javax.swing.JLabel();
    destinationVariableList = new com.mirth.connect.client.ui.VariableList();
    destinationConnectorPane = new javax.swing.JScrollPane();
    destinationConnectorPanel = new com.mirth.connect.client.ui.panels.connectors.ConnectorPanel();
    destinationTablePane = new javax.swing.JScrollPane();
    destinationTable = new com.mirth.connect.client.ui.components.MirthTable();
    waitForPreviousCheckbox = new com.mirth.connect.client.ui.components.MirthCheckBox();
    scripts = new ScriptPanel(false);

    setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));

    channelView.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    channelView.setFocusable(false);//from   w w w.j  a  v  a2s.  c  o m
    channelView.setPreferredSize(new java.awt.Dimension(0, 0));

    summary.setBackground(new java.awt.Color(255, 255, 255));
    summary.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    summary.setFocusable(false);
    summary.setPreferredSize(new java.awt.Dimension(0, 0));
    summary.addComponentListener(new java.awt.event.ComponentAdapter() {
        public void componentShown(java.awt.event.ComponentEvent evt) {
            summaryComponentShown(evt);
        }
    });

    channelPropertiesPanel.setBackground(new java.awt.Color(255, 255, 255));
    channelPropertiesPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel Properties"));

    summaryNameLabel.setText("Name:");

    summaryNameField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyReleased(java.awt.event.KeyEvent evt) {
            summaryNameFieldKeyReleased(evt);
        }
    });

    summaryPatternLabel1.setText("Data Types:");

    initialStateLabel.setText("Initial State:");

    changeDataTypesButton.setText("Set Data Types");
    changeDataTypesButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            changeDataTypesButtonActionPerformed(evt);
        }
    });

    initialState.setModel(new javax.swing.DefaultComboBoxModel(
            new Object[] { DeployedState.STARTED, DeployedState.PAUSED, DeployedState.STOPPED }));

    attachmentLabel.setText("Attachment:");

    attachmentPropertiesButton.setText("Properties");
    attachmentPropertiesButton.setEnabled(false);
    attachmentPropertiesButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            attachmentPropertiesButtonActionPerformed(evt);
        }
    });

    attachmentComboBox.setModel(
            new javax.swing.DefaultComboBoxModel(new String[] { "None", "Regex", "DICOM", "Javascript" }));
    attachmentComboBox.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            attachmentComboBoxActionPerformed(evt);
        }
    });

    summaryEnabledCheckbox.setBackground(new java.awt.Color(255, 255, 255));
    summaryEnabledCheckbox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    summaryEnabledCheckbox.setSelected(true);
    summaryEnabledCheckbox.setText("Enabled");
    summaryEnabledCheckbox.setToolTipText("Enable this channel so that it can be deployed.");
    summaryEnabledCheckbox.setMargin(new java.awt.Insets(0, 0, 0, 0));

    clearGlobalChannelMapCheckBox.setBackground(new java.awt.Color(255, 255, 255));
    clearGlobalChannelMapCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    clearGlobalChannelMapCheckBox.setText("Clear global channel map on deploy");
    clearGlobalChannelMapCheckBox
            .setToolTipText("Clear the global channel map on both single channel deploy and a full redeploy.");
    clearGlobalChannelMapCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0));

    summaryRevision.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    summaryRevision.setText("Revision: ");

    lastModified.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    lastModified.setText("Last Modified: ");

    attachmentWarningLabel.setForeground(new java.awt.Color(255, 0, 0));
    attachmentWarningLabel.setText("Attachments will be extracted but not stored or reattached.");

    attachmentStoreCheckBox.setBackground(new java.awt.Color(255, 255, 255));
    attachmentStoreCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    attachmentStoreCheckBox.setText("Store Attachments");
    attachmentStoreCheckBox.setToolTipText(
            "If checked, attachments will be stored in the database and available for reattachment.");
    attachmentStoreCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0));
    attachmentStoreCheckBox.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            attachmentStoreCheckBoxItemStateChanged(evt);
        }
    });

    channelIdField.setEditable(false);
    channelIdField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
    channelIdField.setText("Id: ");
    channelIdField.setBorder(null);

    dependenciesLabel.setText("Dependencies:");

    setDependenciesButton.setText("Set Dependencies");
    setDependenciesButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            setDependenciesButtonActionPerformed(evt);
        }
    });

    javax.swing.GroupLayout channelPropertiesPanelLayout = new javax.swing.GroupLayout(channelPropertiesPanel);
    channelPropertiesPanel.setLayout(channelPropertiesPanelLayout);
    channelPropertiesPanelLayout.setHorizontalGroup(channelPropertiesPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(channelPropertiesPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(channelPropertiesPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(summaryNameLabel).addComponent(summaryPatternLabel1)
                            .addComponent(dependenciesLabel).addComponent(initialStateLabel)
                            .addComponent(attachmentLabel))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(channelPropertiesPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(channelPropertiesPanelLayout.createSequentialGroup()
                                    .addGroup(channelPropertiesPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(changeDataTypesButton,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE, 108,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(summaryNameField,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE, 185,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(setDependenciesButton,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE, 108,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGroup(channelPropertiesPanelLayout.createSequentialGroup()
                                                    .addComponent(attachmentComboBox,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE, 108,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    .addComponent(attachmentPropertiesButton)))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addGroup(channelPropertiesPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(channelPropertiesPanelLayout.createSequentialGroup()
                                                    .addGroup(channelPropertiesPanelLayout
                                                            .createParallelGroup(
                                                                    javax.swing.GroupLayout.Alignment.LEADING)
                                                            .addComponent(summaryEnabledCheckbox,
                                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                                            .addComponent(clearGlobalChannelMapCheckBox,
                                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    .addGroup(channelPropertiesPanelLayout
                                                            .createParallelGroup(
                                                                    javax.swing.GroupLayout.Alignment.LEADING)
                                                            .addComponent(channelIdField,
                                                                    javax.swing.GroupLayout.Alignment.TRAILING)
                                                            .addComponent(summaryRevision,
                                                                    javax.swing.GroupLayout.Alignment.TRAILING,
                                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                                    Short.MAX_VALUE)
                                                            .addComponent(lastModified,
                                                                    javax.swing.GroupLayout.Alignment.TRAILING,
                                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                                    Short.MAX_VALUE))
                                                    .addContainerGap())
                                            .addGroup(channelPropertiesPanelLayout.createSequentialGroup()
                                                    .addComponent(attachmentStoreCheckBox,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    .addComponent(attachmentWarningLabel,
                                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                                            Short.MAX_VALUE)
                                                    .addGap(119, 119, 119))))
                            .addGroup(channelPropertiesPanelLayout.createSequentialGroup()
                                    .addComponent(initialState, javax.swing.GroupLayout.PREFERRED_SIZE, 108,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(0, 0, Short.MAX_VALUE)))));
    channelPropertiesPanelLayout.setVerticalGroup(channelPropertiesPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(channelPropertiesPanelLayout.createSequentialGroup().addGroup(channelPropertiesPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(summaryNameLabel)
                    .addComponent(summaryNameField, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(summaryEnabledCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(channelIdField, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(channelPropertiesPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(channelPropertiesPanelLayout.createSequentialGroup()
                                    .addGroup(channelPropertiesPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(summaryPatternLabel1)
                                            .addComponent(changeDataTypesButton))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(channelPropertiesPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(dependenciesLabel)
                                            .addComponent(setDependenciesButton)))
                            .addGroup(channelPropertiesPanelLayout.createSequentialGroup()
                                    .addGroup(channelPropertiesPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(clearGlobalChannelMapCheckBox,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(summaryRevision))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(lastModified)))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(channelPropertiesPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(initialStateLabel).addComponent(initialState,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(channelPropertiesPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(attachmentLabel)
                            .addComponent(attachmentComboBox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(attachmentPropertiesButton)
                            .addComponent(attachmentStoreCheckBox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(attachmentWarningLabel))
                    .addGap(10, 10, 10)));

    messageStoragePanel.setBackground(new java.awt.Color(255, 255, 255));
    messageStoragePanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Message Storage"));
    messageStoragePanel.setForeground(new java.awt.Color(0, 102, 0));

    storageModeLabel.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
    storageModeLabel.setText("Development");

    contentLabel.setText("Content: ");

    metadataLabel.setText("Metadata:");

    durableLabel.setText("Durable Message Delivery:");

    performanceLabel.setText("Performance:");

    messageStorageSlider.setBackground(new java.awt.Color(255, 255, 255));
    messageStorageSlider.setMajorTickSpacing(1);
    messageStorageSlider.setMaximum(5);
    messageStorageSlider.setMinimum(1);
    messageStorageSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    messageStorageSlider.setPaintTicks(true);
    messageStorageSlider.setSnapToTicks(true);
    messageStorageSlider.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            messageStorageSliderStateChanged(evt);
        }
    });

    messageStorageProgressBar.setValue(10);

    encryptMessagesCheckBox.setBackground(new java.awt.Color(255, 255, 255));
    encryptMessagesCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    encryptMessagesCheckBox.setText("Encrypt message content");
    encryptMessagesCheckBox.setToolTipText(
            "<html>Encrypt message content that is stored in the database. Messages that<br>are stored while this option is enabled will still be viewable in the<br>message browser, but the content will not be searchable.</html>");
    encryptMessagesCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0));
    encryptMessagesCheckBox.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            encryptMessagesCheckBoxActionPerformed(evt);
        }
    });

    durableStatusLabel.setForeground(new java.awt.Color(0, 102, 0));
    durableStatusLabel.setText("On");

    removeContentCheckbox.setBackground(new java.awt.Color(255, 255, 255));
    removeContentCheckbox.setText("Remove content on completion");
    removeContentCheckbox.setToolTipText(
            "<html>Remove message content once the message has completed processing.<br/>Not applicable for messages that are errored or queued.</html>");
    removeContentCheckbox.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            removeContentCheckboxActionPerformed(evt);
        }
    });

    removeAttachmentsCheckbox.setBackground(new java.awt.Color(255, 255, 255));
    removeAttachmentsCheckbox.setText("Remove attachments on completion");
    removeAttachmentsCheckbox.setToolTipText(
            "<html>Remove message attachments once the message has completed processing.<br/>Not applicable for messages that are errored or queued.</html>");
    removeAttachmentsCheckbox.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            removeAttachmentsCheckboxActionPerformed(evt);
        }
    });

    queueWarningLabel.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
    queueWarningLabel.setForeground(new java.awt.Color(255, 0, 0));
    queueWarningLabel.setText("<html>Disable source & destination queueing before using this mode</html>");
    queueWarningLabel.setVerticalAlignment(javax.swing.SwingConstants.TOP);

    removeOnlyFilteredCheckBox.setBackground(new java.awt.Color(255, 255, 255));
    removeOnlyFilteredCheckBox.setText("Filtered only");
    removeOnlyFilteredCheckBox.setToolTipText(
            "<html>If checked, only content for filtered connector messages will be removed.</html>");

    javax.swing.GroupLayout messageStoragePanelLayout = new javax.swing.GroupLayout(messageStoragePanel);
    messageStoragePanel.setLayout(messageStoragePanelLayout);
    messageStoragePanelLayout.setHorizontalGroup(messageStoragePanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(messageStoragePanelLayout.createSequentialGroup().addGap(22, 22, 22)
                    .addComponent(messageStorageSlider, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(messageStoragePanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(messageStoragePanelLayout.createSequentialGroup()
                                    .addComponent(performanceLabel)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(messageStorageProgressBar,
                                            javax.swing.GroupLayout.PREFERRED_SIZE, 205,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                                    messageStoragePanelLayout.createSequentialGroup().addComponent(durableLabel)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(durableStatusLabel,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addGroup(messageStoragePanelLayout.createSequentialGroup()
                                    .addComponent(removeContentCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(removeOnlyFilteredCheckBox,
                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(encryptMessagesCheckBox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(storageModeLabel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(contentLabel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(metadataLabel)
                            .addComponent(removeAttachmentsCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(queueWarningLabel, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    messageStoragePanelLayout.setVerticalGroup(messageStoragePanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(messageStoragePanelLayout.createSequentialGroup().addComponent(storageModeLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(contentLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(metadataLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(messageStoragePanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(durableLabel).addComponent(durableStatusLabel))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(messageStoragePanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(messageStorageProgressBar, javax.swing.GroupLayout.PREFERRED_SIZE, 15,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(performanceLabel))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 9, Short.MAX_VALUE)
                    .addComponent(encryptMessagesCheckBox, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(messageStoragePanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(removeContentCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(removeOnlyFilteredCheckBox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(removeAttachmentsCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(queueWarningLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 15,
                            javax.swing.GroupLayout.PREFERRED_SIZE))
            .addGroup(
                    messageStoragePanelLayout
                            .createSequentialGroup().addComponent(messageStorageSlider,
                                    javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                            .addContainerGap()));

    messagePruningPanel.setBackground(new java.awt.Color(255, 255, 255));
    messagePruningPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Message Pruning"));

    metadataPruningLabel.setText("Metadata:");

    metadataPruningOffRadio.setBackground(new java.awt.Color(255, 255, 255));
    metadataPruningButtonGroup.add(metadataPruningOffRadio);
    metadataPruningOffRadio.setSelected(true);
    metadataPruningOffRadio.setText("Store indefinitely");
    metadataPruningOffRadio.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            metadataPruningOffRadioActionPerformed(evt);
        }
    });

    metadataPruningOnRadio.setBackground(new java.awt.Color(255, 255, 255));
    metadataPruningButtonGroup.add(metadataPruningOnRadio);
    metadataPruningOnRadio.setText("Prune metadata older than");
    metadataPruningOnRadio.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            metadataPruningOnRadioActionPerformed(evt);
        }
    });

    metadataPruningDaysTextField.setEnabled(false);

    metadataDaysLabel.setText("days");

    contentPruningMetadataRadio.setBackground(new java.awt.Color(255, 255, 255));
    contentPruningButtonGroup.add(contentPruningMetadataRadio);
    contentPruningMetadataRadio.setSelected(true);
    contentPruningMetadataRadio.setText("Prune when message metadata is removed");
    contentPruningMetadataRadio.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            contentPruningMetadataRadioActionPerformed(evt);
        }
    });

    contentPruningLabel.setText("Content:");

    contentPruningDaysRadio.setBackground(new java.awt.Color(255, 255, 255));
    contentPruningButtonGroup.add(contentPruningDaysRadio);
    contentPruningDaysRadio.setText("Prune content older than");
    contentPruningDaysRadio.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            contentPruningDaysRadioActionPerformed(evt);
        }
    });

    contentPruningDaysTextField.setEnabled(false);

    contentDaysLabel.setText("days");

    jLabel1.setText("(incomplete, errored, and queued messages will not be pruned)");

    archiveCheckBox.setBackground(new java.awt.Color(255, 255, 255));
    archiveCheckBox.setText("Allow message archiving");
    archiveCheckBox.setToolTipText(
            "<html>If checked and the data pruner and archiver are enabled, messages<br />in this channel will be archived before being pruned.</html>");

    javax.swing.GroupLayout messagePruningPanelLayout = new javax.swing.GroupLayout(messagePruningPanel);
    messagePruningPanel.setLayout(messagePruningPanelLayout);
    messagePruningPanelLayout.setHorizontalGroup(messagePruningPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(messagePruningPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(messagePruningPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(metadataPruningLabel).addComponent(contentPruningLabel)
                            .addGroup(messagePruningPanelLayout.createSequentialGroup().addGap(12, 12, 12)
                                    .addGroup(messagePruningPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(messagePruningPanelLayout.createSequentialGroup()
                                                    .addComponent(metadataPruningOnRadio)
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                    .addComponent(metadataPruningDaysTextField,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE, 30,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    .addComponent(metadataDaysLabel))
                                            .addComponent(metadataPruningOffRadio)
                                            .addComponent(contentPruningMetadataRadio)
                                            .addGroup(messagePruningPanelLayout.createSequentialGroup()
                                                    .addComponent(contentPruningDaysRadio)
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                    .addComponent(contentPruningDaysTextField,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE, 33,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    .addComponent(contentDaysLabel))))
                            .addComponent(jLabel1).addComponent(archiveCheckBox,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    messagePruningPanelLayout.setVerticalGroup(messagePruningPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(messagePruningPanelLayout.createSequentialGroup().addComponent(metadataPruningLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(metadataPruningOffRadio)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(messagePruningPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(metadataPruningOnRadio)
                            .addComponent(metadataPruningDaysTextField, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(metadataDaysLabel))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(contentPruningLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(contentPruningMetadataRadio)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(messagePruningPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(contentPruningDaysRadio)
                            .addComponent(contentPruningDaysTextField, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(contentDaysLabel))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(archiveCheckBox, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(jLabel1)));

    channelTagsPanel.setBackground(new java.awt.Color(255, 255, 255));
    channelTagsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel Tags"));

    tagTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Tag" }));
    tagTable.setEditable(false);
    channelTagsScrollPane.setViewportView(tagTable);

    addTagButton.setText("Add");
    addTagButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            addTagButtonActionPerformed(evt);
        }
    });

    deleteTagButton.setText("Delete");
    deleteTagButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            deleteTagButtonActionPerformed(evt);
        }
    });

    javax.swing.GroupLayout channelTagsPanelLayout = new javax.swing.GroupLayout(channelTagsPanel);
    channelTagsPanel.setLayout(channelTagsPanelLayout);
    channelTagsPanelLayout.setHorizontalGroup(
            channelTagsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(channelTagsPanelLayout.createSequentialGroup().addContainerGap()
                            .addComponent(channelTagsScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 283,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(channelTagsPanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(addTagButton, javax.swing.GroupLayout.PREFERRED_SIZE, 60,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(deleteTagButton, javax.swing.GroupLayout.PREFERRED_SIZE, 60,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    channelTagsPanelLayout.setVerticalGroup(channelTagsPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(channelTagsPanelLayout.createSequentialGroup()
                    .addComponent(addTagButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(deleteTagButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 65, Short.MAX_VALUE))
            .addGroup(
                    channelTagsPanelLayout
                            .createSequentialGroup().addComponent(channelTagsScrollPane,
                                    javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                            .addContainerGap()));

    customMetadataPanel.setBackground(new java.awt.Color(255, 255, 255));
    customMetadataPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Custom Metadata"));
    customMetadataPanel.setPreferredSize(new java.awt.Dimension(120, 146));

    addMetaDataButton.setText("Add");
    addMetaDataButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            addMetaDataButtonActionPerformed(evt);
        }
    });

    deleteMetaDataButton.setText("Delete");
    deleteMetaDataButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            deleteMetaDataButtonActionPerformed(evt);
        }
    });

    metaDataTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] {

    }));
    metaDataTablePane.setViewportView(metaDataTable);

    revertMetaDataButton.setText("Revert");
    revertMetaDataButton.setToolTipText(
            "<html>Revert the custom metadata settings to the last save.<br>This option allows you to undo your metadata changes without affecting the rest of the channel.</html>");
    revertMetaDataButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            revertMetaDataButtonActionPerformed(evt);
        }
    });

    javax.swing.GroupLayout customMetadataPanelLayout = new javax.swing.GroupLayout(customMetadataPanel);
    customMetadataPanel.setLayout(customMetadataPanelLayout);
    customMetadataPanelLayout.setHorizontalGroup(customMetadataPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(customMetadataPanelLayout.createSequentialGroup().addContainerGap()
                    .addComponent(metaDataTablePane)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(customMetadataPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(addMetaDataButton, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(deleteMetaDataButton, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(revertMetaDataButton, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addContainerGap()));
    customMetadataPanelLayout.setVerticalGroup(
            customMetadataPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                            customMetadataPanelLayout.createSequentialGroup().addGroup(customMetadataPanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(customMetadataPanelLayout.createSequentialGroup()
                                            .addComponent(addMetaDataButton)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(deleteMetaDataButton)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
                                                    48, Short.MAX_VALUE)
                                            .addComponent(revertMetaDataButton))
                                    .addComponent(metaDataTablePane, javax.swing.GroupLayout.PREFERRED_SIZE, 0,
                                            Short.MAX_VALUE))
                                    .addContainerGap()));

    jPanel1.setBackground(new java.awt.Color(255, 255, 255));
    jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel Description"));

    summaryDescriptionScrollPane.setViewportView(summaryDescriptionText);

    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout
            .setHorizontalGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup().addContainerGap()
                            .addComponent(summaryDescriptionScrollPane).addContainerGap()));
    jPanel1Layout
            .setVerticalGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout
                            .createSequentialGroup().addComponent(summaryDescriptionScrollPane,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 64, Short.MAX_VALUE)
                            .addContainerGap()));

    javax.swing.GroupLayout summaryLayout = new javax.swing.GroupLayout(summary);
    summary.setLayout(summaryLayout);
    summaryLayout.setHorizontalGroup(summaryLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(summaryLayout.createSequentialGroup().addContainerGap().addGroup(summaryLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(channelPropertiesPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(summaryLayout.createSequentialGroup().addGroup(
                            summaryLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(messageStoragePanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(channelTagsPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(summaryLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(messagePruningPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(customMetadataPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            488, Short.MAX_VALUE))))
                    .addContainerGap()));
    summaryLayout.setVerticalGroup(summaryLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(summaryLayout.createSequentialGroup().addGap(11, 11, 11)
                    .addComponent(channelPropertiesPanel, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                            summaryLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(messagePruningPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(messageStoragePanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                            summaryLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(channelTagsPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(customMetadataPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            153, Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addContainerGap()));

    channelView.addTab("Summary", summary);

    source.setBackground(new java.awt.Color(255, 255, 255));
    source.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    source.setFocusable(false);
    source.addComponentListener(new java.awt.event.ComponentAdapter() {
        public void componentShown(java.awt.event.ComponentEvent evt) {
            sourceComponentShown(evt);
        }
    });

    sourceSourceDropdown.setMaximumRowCount(20);
    sourceSourceDropdown.setModel(new javax.swing.DefaultComboBoxModel(
            new String[] { "NHIN CONNECT Gateway Listener", "Web Service Listener", "Email" }));
    sourceSourceDropdown.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            sourceSourceDropdownActionPerformed(evt);
        }
    });

    sourceSourceLabel.setText("Connector Type:");

    sourceConnectorPane.setBorder(null);
    sourceConnectorPane.setViewportView(sourceConnectorPanel);

    javax.swing.GroupLayout sourceLayout = new javax.swing.GroupLayout(source);
    source.setLayout(sourceLayout);
    sourceLayout.setHorizontalGroup(sourceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(sourceLayout.createSequentialGroup().addContainerGap().addGroup(sourceLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(sourceConnectorPane, javax.swing.GroupLayout.DEFAULT_SIZE, 748,
                            Short.MAX_VALUE)
                    .addGroup(sourceLayout.createSequentialGroup().addComponent(sourceSourceLabel)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(sourceSourceDropdown, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(0, 424, Short.MAX_VALUE)))
                    .addContainerGap()));
    sourceLayout.setVerticalGroup(sourceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(sourceLayout.createSequentialGroup().addContainerGap()
                    .addGroup(sourceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(sourceSourceLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 15,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(sourceSourceDropdown, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(sourceConnectorPane, javax.swing.GroupLayout.DEFAULT_SIZE, 612,
                            Short.MAX_VALUE)
                    .addContainerGap()));

    channelView.addTab("Source", source);

    destination.setBackground(new java.awt.Color(255, 255, 255));
    destination.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    destination.setFocusable(false);
    destination.addComponentListener(new java.awt.event.ComponentAdapter() {
        public void componentShown(java.awt.event.ComponentEvent evt) {
            destinationComponentShown(evt);
        }
    });

    destinationSourceDropdown.setMaximumRowCount(20);
    destinationSourceDropdown.setModel(new javax.swing.DefaultComboBoxModel(
            new String[] { "NHIN CONNECT Gateway Listener", "Web Service Listener", "Email" }));
    destinationSourceDropdown.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            destinationSourceDropdownActionPerformed(evt);
        }
    });

    destinationSourceLabel.setText("Connector Type:");

    destinationConnectorPane.setBorder(null);
    destinationConnectorPane.setViewportView(destinationConnectorPanel);

    destinationTable
            .setModel(new javax.swing.table.DefaultTableModel(
                    new Object[][] { { null, null, null, null }, { null, null, null, null },
                            { null, null, null, null }, { null, null, null, null } },
                    new String[] { "Title 1", "Title 2", "Title 3", "Title 4" }));
    destinationTablePane.setViewportView(destinationTable);

    waitForPreviousCheckbox.setBackground(new java.awt.Color(255, 255, 255));
    waitForPreviousCheckbox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    waitForPreviousCheckbox.setSelected(true);
    waitForPreviousCheckbox.setText("Wait for previous destination");
    waitForPreviousCheckbox.setToolTipText(
            "<html>Wait for the previous destination to finish before processing the current destination.<br/>Each destination connector for which this is not selected marks the beginning of a destination chain,<br/>such that all chains execute asynchronously, but each destination within a particular chain executes in order.<br/>This option has no effect on the first destination connector, which always marks the beginning of the first chain.</html>");
    waitForPreviousCheckbox.setMargin(new java.awt.Insets(0, 0, 0, 0));
    waitForPreviousCheckbox.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            waitForPreviousCheckboxActionPerformed(evt);
        }
    });

    javax.swing.GroupLayout destinationLayout = new javax.swing.GroupLayout(destination);
    destination.setLayout(destinationLayout);
    destinationLayout.setHorizontalGroup(destinationLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinationLayout.createSequentialGroup().addContainerGap().addGroup(destinationLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(destinationTablePane, javax.swing.GroupLayout.Alignment.LEADING,
                            javax.swing.GroupLayout.DEFAULT_SIZE, 748, Short.MAX_VALUE)
                    .addGroup(destinationLayout.createSequentialGroup()
                            .addComponent(destinationConnectorPane, javax.swing.GroupLayout.DEFAULT_SIZE, 556,
                                    Short.MAX_VALUE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(destinationVariableList, javax.swing.GroupLayout.PREFERRED_SIZE, 186,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, destinationLayout
                            .createSequentialGroup().addComponent(destinationSourceLabel)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(destinationSourceDropdown, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(waitForPreviousCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(0, 237, Short.MAX_VALUE)))
                    .addContainerGap()));
    destinationLayout.setVerticalGroup(destinationLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinationLayout.createSequentialGroup().addContainerGap()
                    .addComponent(destinationTablePane, javax.swing.GroupLayout.PREFERRED_SIZE, 165,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(destinationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(destinationSourceLabel)
                            .addComponent(destinationSourceDropdown, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(waitForPreviousCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(destinationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(destinationVariableList, javax.swing.GroupLayout.PREFERRED_SIZE, 0,
                                    Short.MAX_VALUE)
                            .addComponent(destinationConnectorPane, javax.swing.GroupLayout.DEFAULT_SIZE, 441,
                                    Short.MAX_VALUE))
                    .addContainerGap()));

    channelView.addTab("Destinations", destination);

    scripts.addComponentListener(new java.awt.event.ComponentAdapter() {
        public void componentShown(java.awt.event.ComponentEvent evt) {
            scriptsComponentShown(evt);
        }
    });
    channelView.addTab("Scripts", scripts);

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(channelView, javax.swing.GroupLayout.DEFAULT_SIZE, 777, Short.MAX_VALUE));
    layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(
            channelView, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 691,
            Short.MAX_VALUE));
}

From source file:edu.ku.brc.ui.UIHelper.java

public static JLabel createI18NFormLabel(final String key) {
    return createI18NFormLabel(key, SwingConstants.RIGHT);
}

From source file:edu.ku.brc.ui.UIHelper.java

public static JLabel createFormLabel(final String text) {
    return createFormLabel(text, SwingConstants.RIGHT);
}

From source file:edu.ku.brc.specify.conversion.SpecifyDBConverter.java

/**
 * Loads the dialog/*from  www.  jav a  2s  .  c o  m*/
 * @param hashNames every other one is the new name
 * @return the list of selected DBs
 */
public boolean selectedDBsToConvert(final boolean useITOnly) {
    final JTextField itUserNameTF = UIHelper.createTextField("root", 15);
    final JPasswordField itPasswordTF = UIHelper.createPasswordField("", 15);

    final JTextField masterUserNameTF = UIHelper.createTextField("Master", 15);
    final JPasswordField masterPasswordTF = UIHelper.createPasswordField("Master", 15);

    final JTextField hostNameTF = UIHelper.createTextField("localhost", 15);

    CellConstraints cc = new CellConstraints();
    PanelBuilder pb = new PanelBuilder(new FormLayout("p,2px,p,f:p:g",
            "p,2px,p,2px,p,4px," + (useITOnly ? "" : "p,2px,p,2px,") + "p,8px,p,4px"));

    int y = 1;
    pb.addSeparator("IT User", cc.xyw(1, y, 4));
    y += 2;
    pb.add(UIHelper.createLabel("Username:", SwingConstants.RIGHT), cc.xy(1, y));
    pb.add(itUserNameTF, cc.xy(3, y));
    y += 2;

    pb.add(UIHelper.createLabel("Password:", SwingConstants.RIGHT), cc.xy(1, y));
    pb.add(itPasswordTF, cc.xy(3, y));
    y += 2;

    if (!useITOnly) {
        pb.addSeparator("Master User", cc.xyw(1, y, 4));
        y += 2;
        pb.add(UIHelper.createLabel("Username:", SwingConstants.RIGHT), cc.xy(1, y));
        pb.add(masterUserNameTF, cc.xy(3, y));
        y += 2;

        pb.add(UIHelper.createLabel("Password:", SwingConstants.RIGHT), cc.xy(1, y));
        pb.add(masterPasswordTF, cc.xy(3, y));
        y += 2;
    }

    pb.add(UIHelper.createLabel("Host Name:", SwingConstants.RIGHT), cc.xy(1, y));
    pb.add(hostNameTF, cc.xy(3, y));
    y += 2;

    if (System.getProperty("user.name").equals("rods")) {
        itPasswordTF.setText("root"); // password for converter database
    } else {
        itPasswordTF.requestFocus();
    }

    PanelBuilder panel = new PanelBuilder(new FormLayout("f:p:g,10px,f:p:g", "f:p:g"));
    panel.add(new JLabel(IconManager.getIcon("SpecifyConv")), cc.xy(1, 1));
    panel.add(pb.getPanel(), cc.xy(3, 1));
    panel.setDefaultDialogBorder();

    CustomDialog dlg = new CustomDialog(null, "Specify Converter", true, panel.getPanel());
    UIHelper.centerAndShow(dlg);

    dlg.dispose();
    if (dlg.isCancelled()) {
        return false;
    }

    hostName = hostNameTF.getText();
    itUsrPwd.first = itUserNameTF.getText();
    itUsrPwd.second = ((JTextField) itPasswordTF).getText();

    masterUsrPwd.first = masterUserNameTF.getText();
    masterUsrPwd.second = ((JTextField) masterPasswordTF).getText();

    return true;
}

From source file:edu.ku.brc.specify.conversion.ConvertVerifier.java

/**
 * Loads the dialog//www. j  av a 2  s .  c  o m
 * @param hashNames every other one is the new name
 * @return the list of selected DBs
 */
private boolean selectedDBsToConvert() {
    final JTextField itUserNameTF = UIHelper.createTextField("root", 15);
    final JPasswordField itPasswordTF = UIHelper.createPasswordField("", 15);

    final JTextField hostNameTF = UIHelper.createTextField("localhost", 15);

    CellConstraints cc = new CellConstraints();
    PanelBuilder pb = new PanelBuilder(new FormLayout("p,2px,p,f:p:g", "p,2px,p,2px,p,8px,p"));

    int y = 1;
    pb.addSeparator("IT User", cc.xyw(1, y, 4));
    y += 2;
    pb.add(UIHelper.createLabel("Username:", SwingConstants.RIGHT), cc.xy(1, y));
    pb.add(itUserNameTF, cc.xy(3, y));
    y += 2;

    pb.add(UIHelper.createLabel("Password:", SwingConstants.RIGHT), cc.xy(1, y));
    pb.add(itPasswordTF, cc.xy(3, y));
    y += 2;

    pb.add(UIHelper.createLabel("Host Name:", SwingConstants.RIGHT), cc.xy(1, y));
    pb.add(hostNameTF, cc.xy(3, y));
    y += 2;

    PanelBuilder panel = new PanelBuilder(new FormLayout("f:p:g,10px,f:p:g", "f:p:g"));
    panel.add(new JLabel(IconManager.getIcon("SpecifyLargeIcon")), cc.xy(1, 1));
    panel.add(pb.getPanel(), cc.xy(3, 1));

    CustomDialog dlg = new CustomDialog(null, "Database Info", true, panel.getPanel());
    ((JPanel) dlg.getContentPanel()).setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
    UIHelper.centerAndShow(dlg);

    dlg.dispose();
    if (dlg.isCancelled()) {
        return false;
    }

    hostName = hostNameTF.getText();
    itUsrPwd.first = itUserNameTF.getText();
    itUsrPwd.second = ((JTextField) itPasswordTF).getText();

    return true;
}