Example usage for javax.swing ActionMap get

List of usage examples for javax.swing ActionMap get

Introduction

In this page you can find the example usage for javax.swing ActionMap get.

Prototype

public Action get(Object key) 

Source Link

Document

Returns the binding for key, messaging the parent ActionMap if the binding is not locally defined.

Usage

From source file:au.org.ala.delta.intkey.Intkey.java

/**
 * Build the re-execute menu/* w w  w .ja va2 s  . c om*/
 * 
 * @param actionMap
 *            The action map for the main GUI window
 * @return The JMenu for the re-execute menu
 */
private JMenu buildReExecuteMenu(ActionMap actionMap) {
    JMenu mnuReExecute = new JMenu();
    mnuReExecute.setName("mnuReExecute");

    JMenuItem mnuItReExecute = new JMenuItem();
    mnuItReExecute.setAction(actionMap.get("mnuItReExecute"));
    mnuReExecute.add(mnuItReExecute);

    return mnuReExecute;
}

From source file:au.org.ala.delta.intkey.Intkey.java

/**
 * Build the window menu// ww  w. j a v  a 2 s.  co m
 * 
 * @param actionMap
 *            The action map for the main GUI window
 * @return The JMenu for the window menu
 */
private JMenu buildWindowMenu(ActionMap actionMap) {
    JMenu mnuWindow = new JMenu();
    mnuWindow.setName("mnuWindow");

    JMenuItem mnuItCascade = new JMenuItem();
    mnuItCascade.setAction(actionMap.get("mnuItCascadeWindows"));
    mnuItCascade.setEnabled(true);
    mnuWindow.add(mnuItCascade);

    JMenuItem mnuItTile = new JMenuItem();
    mnuItTile.setAction(actionMap.get("mnuItTileWindows"));
    mnuItTile.setEnabled(true);
    mnuWindow.add(mnuItTile);

    mnuWindow.addSeparator();

    JMenuItem mnuItCloseAll = new JMenuItem();
    mnuItCloseAll.setAction(actionMap.get("mnuItCloseAllWindows"));
    mnuItCloseAll.setEnabled(true);
    mnuWindow.add(mnuItCloseAll);

    mnuWindow.addSeparator();

    JMenu mnuLF = new JMenu();
    mnuLF.setName("mnuLF");
    mnuWindow.add(mnuLF);

    JMenuItem mnuItMetalLF = new JMenuItem();
    mnuItMetalLF.setAction(actionMap.get("metalLookAndFeel"));
    mnuLF.add(mnuItMetalLF);

    JMenuItem mnuItWindowsLF = new JMenuItem();
    mnuItWindowsLF.setAction(actionMap.get("systemLookAndFeel"));
    mnuLF.add(mnuItWindowsLF);

    try {
        // Nimbus L&F was added in update java 6 update 10.
        Class.forName("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel").newInstance();
        JMenuItem mnuItNimbusLF = new JMenuItem();
        mnuItNimbusLF.setAction(actionMap.get("nimbusLookAndFeel"));
        mnuLF.add(mnuItNimbusLF);
    } catch (Exception e) {
        // The Nimbus L&F is not available, no matter.
    }

    JMenuItem mnuItSetFont = new JMenuItem();
    mnuItSetFont.setAction(actionMap.get("chooseFont"));
    mnuItSetFont.setEnabled(true);
    mnuWindow.add(mnuItSetFont);

    JMenuItem mnuItSetMainWindowSize = new JMenuItem();
    mnuItSetMainWindowSize.setAction(actionMap.get("mnuItSetMainWindowSize"));
    mnuItSetMainWindowSize.setEnabled(true);
    mnuWindow.add(mnuItSetMainWindowSize);

    return mnuWindow;
}

From source file:au.org.ala.delta.intkey.Intkey.java

/**
 * Build the help menu//from  w ww .  j a  v a 2 s  . c  o m
 * 
 * @param actionMap
 *            The action map for the main GUI window
 * @return The JMenu for the help menu
 */
private JMenu buildHelpMenu(boolean advancedMode, ActionMap actionMap) {
    JMenu mnuHelp = new JMenu();
    mnuHelp.setName("mnuHelp");
    JMenuItem mnuItHelpTopics = new JMenuItem();
    mnuItHelpTopics.setName("mnuItHelpTopics");
    mnuItHelpTopics.addActionListener(new ActionListener() {

        @Override
        public void actionPerformed(ActionEvent e) {
            UIUtils.displayHelpTopic(HELP_ID_TOPICS, getMainFrame(), e);
        }
    });
    mnuHelp.add(mnuItHelpTopics);

    if (advancedMode) {
        JMenuItem mnuItHelpCommands = new JMenuItem();
        mnuItHelpCommands.setName("mnuItHelpCommands");
        mnuItHelpCommands.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                UIUtils.displayHelpTopic(HELP_ID_COMMANDS, getMainFrame(), e);
            }

        });
        mnuHelp.add(mnuItHelpCommands);
    }

    if (isMac()) {
        configureMacAboutBox(actionMap.get("mnuItHelpAbout"));
    } else {
        JMenuItem mnuItAbout = new JMenuItem();
        mnuItAbout.setAction(actionMap.get("mnuItHelpAbout"));
        mnuHelp.add(mnuItAbout);
    }

    return mnuHelp;
}

From source file:de.main.sessioncreator.DesktopApplication1View.java

/** This method is called from within the constructor to
 * initialize the form./* w  w w  .j a v  a2  s .  c o  m*/
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    mainPanel = new JLayeredPane();
    UIManager.put("TabbedPane.selected", Color.green);
    wizardPanel = new javax.swing.JPanel();
    mainPanel.setLayer(wizardPanel, 3);
    WizardToolbar = new javax.swing.JToolBar();
    wizardbtntopNew = new javax.swing.JButton();
    wizardbtntopSave = new javax.swing.JButton();
    jSeparator2 = new javax.swing.JToolBar.Separator();
    wizardbtntopBack = new javax.swing.JButton();
    wizardbtntopNext = new javax.swing.JButton();
    jSeparator1 = new javax.swing.JToolBar.Separator();
    wizardbtntopStart = new javax.swing.JButton();
    wizardbtntopStop = new javax.swing.JButton();
    wizardtabp = new javax.swing.JTabbedPane();
    welcomePanel = new javax.swing.JPanel();
    wizardLblWelcome = new javax.swing.JLabel();
    wizardLblChooseName = new javax.swing.JLabel();
    wizardLblpathTodo = new javax.swing.JLabel();
    wizardTfPathTodo = new javax.swing.JTextField();
    wizardhCkBxSubfolder = new javax.swing.JCheckBox();
    wizardLblPathSubmitted = new javax.swing.JLabel();
    wizardTfPathSubmitted = new javax.swing.JTextField();
    wizardCmbxTester = new javax.swing.JComboBox();
    wizardbtnRefreshTester = new javax.swing.JButton();
    wizardChckBxSecondTester = new javax.swing.JCheckBox();
    wizardCmbxMoreTester = new javax.swing.JComboBox();
    charterPanel = new javax.swing.JPanel();
    wizardLblChooseCharter = new javax.swing.JLabel();
    wizardCmbxCharter = new javax.swing.JComboBox();
    wizardScrollPCharterInfo = new javax.swing.JScrollPane();
    wizardtaPreviewCharter = new javax.swing.JTextArea();
    wizardChckBxNewCharter = new javax.swing.JCheckBox();
    jScrollPane1 = new javax.swing.JScrollPane();
    wizardtaNewCharter = new javax.swing.JTextArea();
    areasPanel = new javax.swing.JPanel();
    wizardtabpAreas = new javax.swing.JTabbedPane();
    jScrollPane4 = new javax.swing.JScrollPane();
    jList2 = new javax.swing.JList();
    jScrollPane5 = new javax.swing.JScrollPane();
    jList3 = new javax.swing.JList();
    jScrollPane2 = new javax.swing.JScrollPane();
    jList1 = new javax.swing.JList();
    wizardjScrollPaneAreas = new javax.swing.JScrollPane();
    wizardtaChoosenAreas = new javax.swing.JTextArea();
    wizardLblchooseArea = new javax.swing.JLabel();
    wizardLblpathToCoverageini = new javax.swing.JLabel();
    wizardtfCoverageini = new javax.swing.JTextField();
    wizardbtnRefreshAreas = new javax.swing.JButton();
    wizardbtnRemoveArea = new javax.swing.JButton();
    wizardbtnAddAreas = new javax.swing.JButton();
    wizardbtnSaveTodo = new javax.swing.JButton();
    testsessionPanel = new javax.swing.JPanel();
    wizardLblstartTime = new javax.swing.JLabel();
    wizardPanelTaskBreakd = new javax.swing.JPanel();
    wizardLblDuration = new javax.swing.JLabel();
    wizardLblDesignExecution = new javax.swing.JLabel();
    wizardLblSetup = new javax.swing.JLabel();
    wizardLblChartervs = new javax.swing.JLabel();
    wizardtfDuration = new javax.swing.JTextField();
    wizardtfSessionSetup = new javax.swing.JTextField();
    wizardLblBugReporting = new javax.swing.JLabel();
    wizardtfBugInvestigation = new javax.swing.JTextField();
    wizardtfCharter = new javax.swing.JTextField();
    wizardLblSlash = new javax.swing.JLabel();
    wizardtfOpportunity = new javax.swing.JTextField();
    wizardLblStopfield = new javax.swing.JLabel();
    wizardtfTestDesignExecution = new javax.swing.JTextField();
    wizardLblvs = new javax.swing.JLabel();
    wizardLblOpportunity = new javax.swing.JLabel();
    wizardPanelTestsessionAreas = new javax.swing.JPanel();
    wizardScrollPaneAreas = new javax.swing.JScrollPane();
    wizardtaTestsessionAreas = new javax.swing.JTextArea();
    wizardLblcharterHeadline = new javax.swing.JLabel();
    wizardLblStart = new javax.swing.JLabel();
    wizardLblTester = new javax.swing.JLabel();
    wizardTabpDetailsDTBIR = new javax.swing.JTabbedPane();
    wizardScrollPaneDataFiles = new javax.swing.JScrollPane();
    wizardtaDataFiles = new javax.swing.JTextArea();
    wizardScrollPaneTestNotes = new javax.swing.JScrollPane();
    wizardtaTestNotes = new javax.swing.JTextArea();
    wizardScrollPaneBugs = new javax.swing.JScrollPane();
    wizardtaBugs = new javax.swing.JTextArea();
    wizardScrollPaneIssues = new javax.swing.JScrollPane();
    wizardtaIssues = new javax.swing.JTextArea();
    wizardScrollPaneReview = new javax.swing.JScrollPane();
    wizardtaReview = new javax.swing.JTextArea();
    wizardtfNameOfTester = new javax.swing.JTextField();
    jScrollPane3 = new javax.swing.JScrollPane();
    wizardtaCharterdynamic = new javax.swing.JTextArea();
    wizardbtnBack = new javax.swing.JButton();
    wizardbtnStart = new javax.swing.JButton();
    wizardbtnStop = new javax.swing.JButton();
    wizardbtnSave = new javax.swing.JButton();
    wizardbtnNext = new javax.swing.JButton();
    wizardbtnNew = new javax.swing.JButton();
    viewReviewsPanel = new javax.swing.JPanel();
    mainPanel.setLayer(viewReviewsPanel, 1);
    ReviewToolbar = new javax.swing.JToolBar();
    reviewbtntopSave = new javax.swing.JButton();
    jSeparator3 = new javax.swing.JToolBar.Separator();
    reviewbtntopBack = new javax.swing.JButton();
    reviewbtntopNext = new javax.swing.JButton();
    reviewbtntopMove = new javax.swing.JButton();
    reviewViewlabel = new javax.swing.JLabel();
    reviewSessionsTabp = new javax.swing.JTabbedPane();
    reviewToreviewSessionsPanel = new javax.swing.JPanel();
    reviewCmbxSessiontoReview = new javax.swing.JComboBox();
    reviewtoReviewPanel = new javax.swing.JPanel();
    reviewViewPanel = new javax.swing.JPanel();
    reviewLblStartTime = new javax.swing.JLabel();
    reviewPaneTaskbreakdown = new javax.swing.JPanel();
    reviewLblDuration = new javax.swing.JLabel();
    reviewLblTestExecution = new javax.swing.JLabel();
    reviewLblSetup = new javax.swing.JLabel();
    reviewLblChartervs = new javax.swing.JLabel();
    reviewtfDuration = new javax.swing.JTextField();
    reviewtfSessionSetup = new javax.swing.JTextField();
    reviewLblBugReporting = new javax.swing.JLabel();
    reviewtfBugInvestigation = new javax.swing.JTextField();
    reviewtfCharter = new javax.swing.JTextField();
    reviewtfTestDesignExecution = new javax.swing.JTextField();
    reviewLblvs = new javax.swing.JLabel();
    reviewLblOpportunity = new javax.swing.JLabel();
    reviewPanelTestsessionAreas = new javax.swing.JPanel();
    reviewScrollPaneArea = new javax.swing.JScrollPane();
    reviewtaTestsessionAreasReview = new javax.swing.JTextArea();
    reviewCharterHeadlineLabel = new javax.swing.JLabel();
    reviewLblStart = new javax.swing.JLabel();
    reviewLblTester = new javax.swing.JLabel();
    reviewTabpDTBIR = new javax.swing.JTabbedPane();
    reviewScrollPaneDatafile = new javax.swing.JScrollPane();
    reviewtaDataFiles = new javax.swing.JTextArea();
    reviewScrollPaneTestNotes = new javax.swing.JScrollPane();
    reviewtaTestNotes = new javax.swing.JTextArea();
    reviewScrollPaneBugs = new javax.swing.JScrollPane();
    reviewedipaneBugs = new javax.swing.JEditorPane();
    reviewScrollPaneIssues = new javax.swing.JScrollPane();
    reviewtaIssues = new javax.swing.JTextArea();
    reviewScrollPaneReview = new javax.swing.JScrollPane();
    reviewtaReview = new javax.swing.JTextArea();
    reviewtfNameOfTester = new javax.swing.JTextField();
    jScrollPane6 = new javax.swing.JScrollPane();
    reviewtaCharterdynamic = new javax.swing.JTextArea();
    reviewbtnNext = new javax.swing.JButton();
    reviewbtnBack = new javax.swing.JButton();
    reviewbtnSave = new javax.swing.JButton();
    reviewbtnMove = new javax.swing.JButton();
    reportPanel = new javax.swing.JPanel();
    mainPanel.setLayer(reportPanel, 2);
    reportChartPanel = new javax.swing.JPanel();
    reportScrollPOverviewTabel = new javax.swing.JScrollPane();
    reportOverviewTable = new javax.swing.JTable();
    reportlblSum = new javax.swing.JLabel();
    reportlblBug = new javax.swing.JLabel();
    reportlblIssue = new javax.swing.JLabel();
    menuBar = new javax.swing.JMenuBar();
    javax.swing.JMenu fileMenu = new javax.swing.JMenu();
    saveMenuItem = new javax.swing.JMenuItem();
    javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem();
    sessionMenu = new javax.swing.JMenu();
    sessionWizardMenuItem = new javax.swing.JMenuItem();
    reviewVieMenuItem = new javax.swing.JMenuItem();
    sessionReportMenuItem = new javax.swing.JMenuItem();
    javax.swing.JMenu helpMenu = new javax.swing.JMenu();
    javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem();
    helpMenuItem = new javax.swing.JMenuItem();
    statusPanel = new javax.swing.JPanel();
    javax.swing.JSeparator statusPanelSeparator = new javax.swing.JSeparator();
    statusMessageLabel = new javax.swing.JLabel();
    statusAnimationLabel = new javax.swing.JLabel();
    progressBar = new javax.swing.JProgressBar();
    wizardPopUpBugTab = new javax.swing.JPopupMenu();
    wizardPopUpIssueTab = new javax.swing.JPopupMenu();

    mainPanel.setMaximumSize(new java.awt.Dimension(990, 900));
    mainPanel.setMinimumSize(new java.awt.Dimension(900, 500));
    mainPanel.setName("mainPanel"); // NOI18N
    mainPanel.setPreferredSize(new java.awt.Dimension(990, 500));

    wizardPanel.setMaximumSize(new java.awt.Dimension(990, 900));
    wizardPanel.setMinimumSize(new java.awt.Dimension(990, 500));
    wizardPanel.setName("wizardPanel"); // NOI18N
    wizardPanel.setPreferredSize(new java.awt.Dimension(990, 500));

    WizardToolbar.setFloatable(false);
    WizardToolbar.setRollover(true);
    WizardToolbar.setName("WizardToolbar"); // NOI18N

    org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application
            .getInstance(de.main.sessioncreator.DesktopApplication1.class).getContext()
            .getResourceMap(DesktopApplication1View.class);
    wizardbtntopNew.setIcon(resourceMap.getIcon("wizardbtntopNew.icon")); // NOI18N
    wizardbtntopNew.setToolTipText(resourceMap.getString("wizardbtntopNew.toolTipText")); // NOI18N
    wizardbtntopNew.setDisabledIcon(resourceMap.getIcon("wizardbtntopNew.disabledIcon")); // NOI18N
    wizardbtntopNew.setFocusable(false);
    wizardbtntopNew.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
    wizardbtntopNew.setName("wizardbtntopNew"); // NOI18N
    wizardbtntopNew.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    wizardbtntopNew.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            wizardbtntopNewMouseClicked(evt);
        }
    });
    WizardToolbar.add(wizardbtntopNew);

    javax.swing.ActionMap actionMap = org.jdesktop.application.Application
            .getInstance(de.main.sessioncreator.DesktopApplication1.class).getContext()
            .getActionMap(DesktopApplication1View.class, this);
    wizardbtntopSave.setAction(actionMap.get("saveTestsession")); // NOI18N
    wizardbtntopSave.setIcon(resourceMap.getIcon("wizardbtntopSave.icon")); // NOI18N
    wizardbtntopSave.setToolTipText(resourceMap.getString("wizardbtntopSave.toolTipText")); // NOI18N
    wizardbtntopSave.setDisabledIcon(resourceMap.getIcon("wizardbtntopSave.disabledIcon")); // NOI18N
    wizardbtntopSave.setFocusable(false);
    wizardbtntopSave.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
    wizardbtntopSave.setName("wizardbtntopSave"); // NOI18N
    wizardbtntopSave.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    wizardbtntopSave.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            wizardbtntopSaveMouseClicked(evt);
        }
    });
    WizardToolbar.add(wizardbtntopSave);

    jSeparator2.setName("jSeparator2"); // NOI18N
    WizardToolbar.add(jSeparator2);

    wizardbtntopBack.setIcon(resourceMap.getIcon("wizardbtntopBack.icon")); // NOI18N
    wizardbtntopBack.setToolTipText(resourceMap.getString("wizardbtntopBack.toolTipText")); // NOI18N
    wizardbtntopBack.setDisabledIcon(resourceMap.getIcon("wizardbtntopBack.disabledIcon")); // NOI18N
    wizardbtntopBack.setEnabled(false);
    wizardbtntopBack.setFocusable(false);
    wizardbtntopBack.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
    wizardbtntopBack.setName("wizardbtntopBack"); // NOI18N
    wizardbtntopBack.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    wizardbtntopBack.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            wizardbtntopBackActionPerformed(evt);
        }
    });
    WizardToolbar.add(wizardbtntopBack);

    wizardbtntopNext.setIcon(resourceMap.getIcon("wizardbtntopNext.icon")); // NOI18N
    wizardbtntopNext.setToolTipText(resourceMap.getString("wizardbtntopNext.toolTipText")); // NOI18N
    wizardbtntopNext.setDisabledIcon(resourceMap.getIcon("wizardbtntopNext.disabledIcon")); // NOI18N
    wizardbtntopNext.setFocusable(false);
    wizardbtntopNext.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
    wizardbtntopNext.setMaximumSize(new java.awt.Dimension(23, 23));
    wizardbtntopNext.setMinimumSize(new java.awt.Dimension(23, 23));
    wizardbtntopNext.setName("wizardbtntopNext"); // NOI18N
    wizardbtntopNext.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            wizardbtntopNextActionPerformed(evt);
        }
    });
    WizardToolbar.add(wizardbtntopNext);

    jSeparator1.setName("jSeparator1"); // NOI18N
    WizardToolbar.add(jSeparator1);

    wizardbtntopStart.setIcon(resourceMap.getIcon("wizardbtntopStart.icon")); // NOI18N
    wizardbtntopStart.setToolTipText(resourceMap.getString("wizardbtntopStart.toolTipText")); // NOI18N
    wizardbtntopStart.setDisabledIcon(resourceMap.getIcon("wizardbtntopStart.disabledIcon")); // NOI18N
    wizardbtntopStart.setEnabled(false);
    wizardbtntopStart.setFocusable(false);
    wizardbtntopStart.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
    wizardbtntopStart.setName("wizardbtntopStart"); // NOI18N
    wizardbtntopStart.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    WizardToolbar.add(wizardbtntopStart);

    wizardbtntopStop.setIcon(resourceMap.getIcon("wizardbtntopStop.icon")); // NOI18N
    wizardbtntopStop.setToolTipText(resourceMap.getString("wizardbtntopStop.toolTipText")); // NOI18N
    wizardbtntopStop.setDisabledIcon(resourceMap.getIcon("wizardbtntopStop.disabledIcon")); // NOI18N
    wizardbtntopStop.setEnabled(false);
    wizardbtntopStop.setFocusable(false);
    wizardbtntopStop.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
    wizardbtntopStop.setName("wizardbtntopStop"); // NOI18N
    wizardbtntopStop.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    WizardToolbar.add(wizardbtntopStop);

    wizardtabp.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT);
    wizardtabp.setName("jTabSessionWizard"); // NOI18N
    wizardtabp.setPreferredSize(new java.awt.Dimension(990, 552));

    welcomePanel.setMaximumSize(new java.awt.Dimension(1000, 1000));
    welcomePanel.setName("jPanelWelcome"); // NOI18N

    wizardLblWelcome.setFont(resourceMap.getFont("wizardLblWelcome.font")); // NOI18N
    wizardLblWelcome.setText(resourceMap.getString("wizardLblWelcome.text")); // NOI18N
    wizardLblWelcome.setName("wizardLblWelcome"); // NOI18N

    wizardLblChooseName.setText(resourceMap.getString("wizardLblChooseName.text")); // NOI18N
    wizardLblChooseName.setName("wizardLblChooseName"); // NOI18N

    wizardLblpathTodo.setText(resourceMap.getString("wizardLblpathTodo.text")); // NOI18N
    wizardLblpathTodo.setName("wizardLblpathTodo"); // NOI18N

    wizardTfPathTodo.setText(resourceMap.getString("jTxtFieldTodoSession.text")); // NOI18N
    wizardTfPathTodo.setName("jTxtFieldTodoSession"); // NOI18N

    wizardhCkBxSubfolder.setText(resourceMap.getString("jChckBxUnterordner.text")); // NOI18N
    wizardhCkBxSubfolder.setName("jChckBxUnterordner"); // NOI18N

    wizardLblPathSubmitted.setText(resourceMap.getString("wizardLblPathSubmitted.text")); // NOI18N
    wizardLblPathSubmitted.setName("wizardLblPathSubmitted"); // NOI18N

    wizardTfPathSubmitted.setText(resourceMap.getString("jTxtFieldSubmitted.text")); // NOI18N
    wizardTfPathSubmitted.setName("jTxtFieldSubmitted"); // NOI18N

    wizardCmbxTester.setName("wizardCmbxTester"); // NOI18N

    wizardbtnRefreshTester.setText(resourceMap.getString("wizardbtnRefreshTester.text")); // NOI18N
    wizardbtnRefreshTester.setName("wizardbtnRefreshTester"); // NOI18N
    wizardbtnRefreshTester.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            jButtonRefreshTester(evt);
        }
    });

    wizardChckBxSecondTester.setText(resourceMap.getString("wizardChckBxSecondTester.text")); // NOI18N
    wizardChckBxSecondTester.setName("wizardChckBxSecondTester"); // NOI18N

    wizardCmbxMoreTester.setName("wizardCmbxMoreTester"); // NOI18N

    javax.swing.GroupLayout welcomePanelLayout = new javax.swing.GroupLayout(welcomePanel);
    welcomePanel.setLayout(welcomePanelLayout);
    welcomePanelLayout.setHorizontalGroup(welcomePanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(welcomePanelLayout.createSequentialGroup().addContainerGap().addGroup(welcomePanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(wizardLblWelcome)
                    .addGroup(welcomePanelLayout.createSequentialGroup().addGroup(
                            welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(wizardLblpathTodo).addComponent(wizardLblPathSubmitted))
                            .addGap(18, 18, 18)
                            .addGroup(welcomePanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(wizardTfPathTodo, javax.swing.GroupLayout.DEFAULT_SIZE, 561,
                                            Short.MAX_VALUE)
                                    .addComponent(wizardhCkBxSubfolder).addComponent(wizardTfPathSubmitted)))
                    .addGroup(welcomePanelLayout.createSequentialGroup().addGroup(
                            welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(wizardLblChooseName).addComponent(wizardChckBxSecondTester))
                            .addGap(24, 24, 24)
                            .addGroup(welcomePanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(wizardCmbxMoreTester, 0, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            Short.MAX_VALUE)
                                    .addComponent(wizardCmbxTester, 0, 300, Short.MAX_VALUE))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(wizardbtnRefreshTester)))
                    .addContainerGap(274, Short.MAX_VALUE)));
    welcomePanelLayout.setVerticalGroup(welcomePanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(welcomePanelLayout.createSequentialGroup().addContainerGap()
                    .addComponent(wizardLblWelcome).addGap(11, 11, 11)
                    .addGroup(welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardLblChooseName)
                            .addComponent(wizardCmbxTester, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(wizardbtnRefreshTester))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardChckBxSecondTester).addComponent(wizardCmbxMoreTester,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(26, 26, 26)
                    .addGroup(welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardLblpathTodo).addComponent(wizardTfPathTodo,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(wizardhCkBxSubfolder)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardLblPathSubmitted).addComponent(wizardTfPathSubmitted,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(398, Short.MAX_VALUE)));

    wizardtabp.addTab(resourceMap.getString("jPanelWelcome.TabConstraints.tabTitle"), welcomePanel); // NOI18N

    charterPanel.setName("jPanelCharter"); // NOI18N

    wizardLblChooseCharter.setText(resourceMap.getString("wizardLblChooseCharter.text")); // NOI18N
    wizardLblChooseCharter.setName("wizardLblChooseCharter"); // NOI18N

    wizardCmbxCharter.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Select one" }));
    wizardCmbxCharter.setName("jComboBxCharter"); // NOI18N
    wizardCmbxCharter.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            ChooseCharterjCombobox1(evt);
        }
    });

    wizardScrollPCharterInfo.setName("wizardScrollPCharterInfo"); // NOI18N

    wizardtaPreviewCharter.setBackground(resourceMap.getColor("wizardtaPreviewCharter.background")); // NOI18N
    wizardtaPreviewCharter.setColumns(20);
    wizardtaPreviewCharter.setLineWrap(true);
    wizardtaPreviewCharter.setRows(5);
    wizardtaPreviewCharter.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    wizardtaPreviewCharter.setEnabled(false);
    wizardtaPreviewCharter.setName("wizardtaPreviewCharter"); // NOI18N
    wizardScrollPCharterInfo.setViewportView(wizardtaPreviewCharter);

    wizardChckBxNewCharter.setText(resourceMap.getString("wizardChckBxNewCharter.text")); // NOI18N
    wizardChckBxNewCharter.setToolTipText(resourceMap.getString("wizardChckBxNewCharter.toolTipText")); // NOI18N
    wizardChckBxNewCharter.setName("wizardChckBxNewCharter"); // NOI18N

    jScrollPane1.setName("jScrollPane1"); // NOI18N

    wizardtaNewCharter.setColumns(20);
    wizardtaNewCharter.setEditable(false);
    wizardtaNewCharter.setLineWrap(true);
    wizardtaNewCharter.setRows(5);
    wizardtaNewCharter.setWrapStyleWord(true);
    wizardtaNewCharter.setEnabled(false);
    wizardtaNewCharter.setName("wizardtaNewCharter"); // NOI18N
    jScrollPane1.setViewportView(wizardtaNewCharter);

    javax.swing.GroupLayout charterPanelLayout = new javax.swing.GroupLayout(charterPanel);
    charterPanel.setLayout(charterPanelLayout);
    charterPanelLayout.setHorizontalGroup(charterPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(charterPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(charterPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(wizardChckBxNewCharter).addComponent(wizardLblChooseCharter)
                            .addComponent(wizardCmbxCharter, 0, 975, Short.MAX_VALUE)
                            .addComponent(wizardScrollPCharterInfo, javax.swing.GroupLayout.DEFAULT_SIZE, 975,
                                    Short.MAX_VALUE)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.TRAILING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 975, Short.MAX_VALUE))
                    .addContainerGap()));
    charterPanelLayout.setVerticalGroup(charterPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(charterPanelLayout.createSequentialGroup().addContainerGap()
                    .addComponent(wizardLblChooseCharter)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(wizardCmbxCharter, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(wizardScrollPCharterInfo, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18).addComponent(wizardChckBxNewCharter)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(304, Short.MAX_VALUE)));

    wizardtabp.addTab(resourceMap.getString("jPanelCharter.TabConstraints.tabTitle"), charterPanel); // NOI18N

    areasPanel.setName("areasPanel"); // NOI18N

    wizardtabpAreas.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT);
    wizardtabpAreas.setToolTipText(resourceMap.getString("wizardtabpAreas.toolTipText")); // NOI18N
    wizardtabpAreas.setName("wizardtabpAreas"); // NOI18N

    jScrollPane4.setName("jScrollPane4"); // NOI18N

    jList2.setName("jList2"); // NOI18N
    jScrollPane4.setViewportView(jList2);

    wizardtabpAreas.addTab(resourceMap.getString("jScrollPane4.TabConstraints.tabTitle"), jScrollPane4); // NOI18N

    jScrollPane5.setName("jScrollPane5"); // NOI18N

    jList3.setName("jList3"); // NOI18N
    jScrollPane5.setViewportView(jList3);

    wizardtabpAreas.addTab(resourceMap.getString("jScrollPane5.TabConstraints.tabTitle"), jScrollPane5); // NOI18N

    jScrollPane2.setName("jScrollPane2"); // NOI18N

    jList1.setName("jList1"); // NOI18N
    jScrollPane2.setViewportView(jList1);

    wizardtabpAreas.addTab(resourceMap.getString("jScrollPane2.TabConstraints.tabTitle"), jScrollPane2); // NOI18N

    wizardjScrollPaneAreas.setName("wizardjScrollPaneAreas"); // NOI18N

    wizardtaChoosenAreas.setColumns(20);
    wizardtaChoosenAreas.setRows(5);
    wizardtaChoosenAreas.setName("wizardtaChoosenAreas"); // NOI18N
    wizardjScrollPaneAreas.setViewportView(wizardtaChoosenAreas);

    wizardLblchooseArea.setFont(resourceMap.getFont("wizardLblchooseArea.font")); // NOI18N
    wizardLblchooseArea.setText(resourceMap.getString("wizardLblchooseArea.text")); // NOI18N
    wizardLblchooseArea.setName("wizardLblchooseArea"); // NOI18N

    wizardLblpathToCoverageini.setText(resourceMap.getString("wizardLblpathToCoverageini.text")); // NOI18N
    wizardLblpathToCoverageini.setName("wizardLblpathToCoverageini"); // NOI18N

    wizardtfCoverageini.setText(resourceMap.getString("wizardtfCoverageini.text")); // NOI18N
    wizardtfCoverageini.setName("wizardtfCoverageini"); // NOI18N

    wizardbtnRefreshAreas.setText(resourceMap.getString("wizardbtnRefreshAreas.text")); // NOI18N
    wizardbtnRefreshAreas.setName("wizardbtnRefreshAreas"); // NOI18N
    wizardbtnRefreshAreas.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            wizardbtnRefreshAreasMouseClicked(evt);
        }
    });

    wizardbtnRemoveArea.setText(resourceMap.getString("wizardbtnRemoveArea.text")); // NOI18N
    wizardbtnRemoveArea.setToolTipText(resourceMap.getString("wizardbtnRemoveArea.toolTipText")); // NOI18N
    wizardbtnRemoveArea.setMaximumSize(new java.awt.Dimension(41, 23));
    wizardbtnRemoveArea.setMinimumSize(new java.awt.Dimension(41, 23));
    wizardbtnRemoveArea.setName("wizardbtnRemoveArea"); // NOI18N
    wizardbtnRemoveArea.setPreferredSize(new java.awt.Dimension(41, 23));
    wizardbtnRemoveArea.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            wizardbtnRemoveAreaMouseClicked(evt);
        }
    });

    wizardbtnAddAreas.setText(resourceMap.getString("wizardbtnAddAreas.text")); // NOI18N
    wizardbtnAddAreas.setToolTipText(resourceMap.getString("wizardbtnAddAreas.toolTipText")); // NOI18N
    wizardbtnAddAreas.setName("wizardbtnAddAreas"); // NOI18N

    wizardbtnSaveTodo.setText(resourceMap.getString("wizardbtnSaveTodo.text")); // NOI18N
    wizardbtnSaveTodo.setToolTipText(resourceMap.getString("wizardbtnSaveTodo.toolTipText")); // NOI18N
    wizardbtnSaveTodo.setEnabled(false);
    wizardbtnSaveTodo.setName("wizardbtnSaveTodo"); // NOI18N
    wizardbtnSaveTodo.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            wizardbtnSaveTodoActionPerformed(evt);
        }
    });

    javax.swing.GroupLayout areasPanelLayout = new javax.swing.GroupLayout(areasPanel);
    areasPanel.setLayout(areasPanelLayout);
    areasPanelLayout.setHorizontalGroup(areasPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(areasPanelLayout.createSequentialGroup().addContainerGap().addGroup(areasPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(wizardtabpAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 975, Short.MAX_VALUE)
                    .addGroup(areasPanelLayout.createSequentialGroup().addComponent(wizardLblchooseArea)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 746,
                                    Short.MAX_VALUE)
                            .addComponent(wizardbtnSaveTodo))
                    .addGroup(areasPanelLayout.createSequentialGroup().addComponent(wizardLblpathToCoverageini)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(wizardtfCoverageini, javax.swing.GroupLayout.PREFERRED_SIZE, 248,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(wizardbtnRefreshAreas))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                            areasPanelLayout.createSequentialGroup()
                                    .addComponent(wizardjScrollPaneAreas, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            924, Short.MAX_VALUE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addGroup(areasPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                            .addComponent(wizardbtnAddAreas).addComponent(wizardbtnRemoveArea,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addContainerGap()));
    areasPanelLayout.setVerticalGroup(areasPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(areasPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(areasPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardLblchooseArea).addComponent(wizardbtnSaveTodo))
                    .addGap(18, 18, 18)
                    .addGroup(areasPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardLblpathToCoverageini)
                            .addComponent(wizardtfCoverageini, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(wizardbtnRefreshAreas))
                    .addGap(11, 11, 11)
                    .addComponent(wizardtabpAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 261, Short.MAX_VALUE)
                    .addGap(18, 18, 18)
                    .addGroup(areasPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING,
                                    areasPanelLayout.createSequentialGroup().addComponent(wizardbtnAddAreas)
                                            .addPreferredGap(
                                                    javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                            .addComponent(wizardbtnRemoveArea,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(wizardjScrollPaneAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 220,
                                    Short.MAX_VALUE))
                    .addContainerGap()));

    wizardtabpAreas.getAccessibleContext().setAccessibleParent(welcomePanel);

    wizardtabp.addTab(resourceMap.getString("areasPanel.TabConstraints.tabTitle"), areasPanel); // NOI18N

    testsessionPanel.setFocusable(false);
    testsessionPanel.setName("testsessionPanel"); // NOI18N

    wizardLblstartTime.setText(resourceMap.getString("wizardLblstartTime.text")); // NOI18N
    wizardLblstartTime.setName("wizardLblstartTime"); // NOI18N

    wizardPanelTaskBreakd.setBorder(
            javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(),
                    resourceMap.getString("wizardPanelTaskBreakd.border.title"),
                    javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
                    javax.swing.border.TitledBorder.DEFAULT_POSITION,
                    resourceMap.getFont("wizardPanelTaskBreakd.border.titleFont"))); // NOI18N
    wizardPanelTaskBreakd.setName("wizardPanelTaskBreakd"); // NOI18N

    wizardLblDuration.setText(resourceMap.getString("wizardLblDuration.text")); // NOI18N
    wizardLblDuration.setName("wizardLblDuration"); // NOI18N

    wizardLblDesignExecution.setText(resourceMap.getString("wizardLblDesignExecution.text")); // NOI18N
    wizardLblDesignExecution.setName("wizardLblDesignExecution"); // NOI18N

    wizardLblSetup.setText(resourceMap.getString("wizardLblSetup.text")); // NOI18N
    wizardLblSetup.setName("wizardLblSetup"); // NOI18N

    wizardLblChartervs.setText(resourceMap.getString("wizardLblChartervs.text")); // NOI18N
    wizardLblChartervs.setName("wizardLblChartervs"); // NOI18N

    wizardtfDuration.setEditable(false);
    wizardtfDuration.setText(resourceMap.getString("wizardtfDuration.text")); // NOI18N
    wizardtfDuration.setName("wizardtfDuration"); // NOI18N

    wizardtfSessionSetup.setText(resourceMap.getString("wizardtfSessionSetup.text")); // NOI18N
    wizardtfSessionSetup.setName("wizardtfSessionSetup"); // NOI18N

    wizardLblBugReporting.setText(resourceMap.getString("wizardLblBugReporting.text")); // NOI18N
    wizardLblBugReporting.setName("wizardLblBugReporting"); // NOI18N

    wizardtfBugInvestigation.setText(resourceMap.getString("wizardtfBugInvestigation.text")); // NOI18N
    wizardtfBugInvestigation.setName("wizardtfBugInvestigation"); // NOI18N

    wizardtfCharter.setText(resourceMap.getString("wizardtfCharter.text")); // NOI18N
    wizardtfCharter.setName("wizardtfCharter"); // NOI18N

    wizardLblSlash.setText(resourceMap.getString("wizardLblSlash.text")); // NOI18N
    wizardLblSlash.setName("wizardLblSlash"); // NOI18N

    wizardtfOpportunity.setText(resourceMap.getString("wizardtfOpportunity.text")); // NOI18N
    wizardtfOpportunity.setName("wizardtfOpportunity"); // NOI18N

    wizardLblStopfield.setFont(resourceMap.getFont("wizardLblStopfield.font")); // NOI18N
    wizardLblStopfield.setForeground(resourceMap.getColor("wizardLblStopfield.foreground")); // NOI18N
    wizardLblStopfield.setText(resourceMap.getString("wizardLblStopfield.text")); // NOI18N
    wizardLblStopfield.setName("wizardLblStopfield"); // NOI18N

    wizardtfTestDesignExecution.setText(resourceMap.getString("wizardtfTestDesignExecution.text")); // NOI18N
    wizardtfTestDesignExecution.setName("wizardtfTestDesignExecution"); // NOI18N

    wizardLblvs.setText(resourceMap.getString("wizardLblvs.text")); // NOI18N
    wizardLblvs.setName("wizardLblvs"); // NOI18N

    wizardLblOpportunity.setText(resourceMap.getString("wizardLblOpportunity.text")); // NOI18N
    wizardLblOpportunity.setName("wizardLblOpportunity"); // NOI18N

    javax.swing.GroupLayout wizardPanelTaskBreakdLayout = new javax.swing.GroupLayout(wizardPanelTaskBreakd);
    wizardPanelTaskBreakd.setLayout(wizardPanelTaskBreakdLayout);
    wizardPanelTaskBreakdLayout.setHorizontalGroup(
            wizardPanelTaskBreakdLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(wizardPanelTaskBreakdLayout.createSequentialGroup()
                            .addGroup(wizardPanelTaskBreakdLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(wizardPanelTaskBreakdLayout.createSequentialGroup()
                                            .addComponent(wizardLblChartervs)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(wizardLblvs)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(wizardLblOpportunity))
                                    .addComponent(wizardtfBugInvestigation,
                                            javax.swing.GroupLayout.PREFERRED_SIZE, 100,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(wizardPanelTaskBreakdLayout.createSequentialGroup()
                                            .addComponent(wizardtfCharter,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE, 40,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(wizardLblSlash)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(wizardtfOpportunity,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE, 40,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(wizardPanelTaskBreakdLayout.createSequentialGroup()
                                            .addComponent(wizardLblDuration)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(wizardLblStopfield))
                                    .addComponent(wizardtfDuration, javax.swing.GroupLayout.PREFERRED_SIZE, 100,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(wizardLblDesignExecution).addComponent(wizardLblSetup)
                                    .addComponent(wizardtfSessionSetup, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            100, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(wizardLblBugReporting).addComponent(
                                            wizardtfTestDesignExecution, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            100, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addContainerGap(172, Short.MAX_VALUE)));
    wizardPanelTaskBreakdLayout.setVerticalGroup(wizardPanelTaskBreakdLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, wizardPanelTaskBreakdLayout
                    .createSequentialGroup()
                    .addGroup(wizardPanelTaskBreakdLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardLblDuration).addComponent(wizardLblStopfield))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(wizardtfDuration, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(wizardLblDesignExecution)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(wizardtfTestDesignExecution, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(wizardLblSetup).addGap(9, 9, 9)
                    .addComponent(wizardtfSessionSetup, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(wizardLblBugReporting)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(wizardtfBugInvestigation, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(wizardPanelTaskBreakdLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardLblChartervs).addComponent(wizardLblvs)
                            .addComponent(wizardLblOpportunity))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(wizardPanelTaskBreakdLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardtfCharter, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(wizardLblSlash).addComponent(wizardtfOpportunity,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    wizardPanelTestsessionAreas.setBorder(
            javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(),
                    resourceMap.getString("wizardPanelTestsessionAreas.border.title"),
                    javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
                    javax.swing.border.TitledBorder.DEFAULT_POSITION,
                    resourceMap.getFont("wizardPanelTestsessionAreas.border.titleFont"))); // NOI18N
    wizardPanelTestsessionAreas.setName("wizardPanelTestsessionAreas"); // NOI18N

    wizardScrollPaneAreas.setName("wizardScrollPaneAreas"); // NOI18N

    wizardtaTestsessionAreas.setColumns(20);
    wizardtaTestsessionAreas.setRows(5);
    wizardtaTestsessionAreas.setName("wizardtaTestsessionAreas"); // NOI18N
    wizardScrollPaneAreas.setViewportView(wizardtaTestsessionAreas);

    javax.swing.GroupLayout wizardPanelTestsessionAreasLayout = new javax.swing.GroupLayout(
            wizardPanelTestsessionAreas);
    wizardPanelTestsessionAreas.setLayout(wizardPanelTestsessionAreasLayout);
    wizardPanelTestsessionAreasLayout.setHorizontalGroup(
            wizardPanelTestsessionAreasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(wizardPanelTestsessionAreasLayout
                            .createSequentialGroup().addComponent(wizardScrollPaneAreas,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 317, Short.MAX_VALUE)
                            .addContainerGap()));
    wizardPanelTestsessionAreasLayout.setVerticalGroup(
            wizardPanelTestsessionAreasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(wizardPanelTestsessionAreasLayout
                            .createSequentialGroup().addComponent(wizardScrollPaneAreas,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 167, Short.MAX_VALUE)
                            .addContainerGap()));

    wizardLblcharterHeadline.setFont(resourceMap.getFont("wizardLblcharterHeadline.font")); // NOI18N
    wizardLblcharterHeadline.setText(resourceMap.getString("wizardLblcharterHeadline.text")); // NOI18N
    wizardLblcharterHeadline.setName("wizardLblcharterHeadline"); // NOI18N

    wizardLblStart.setFont(resourceMap.getFont("wizardLblStart.font")); // NOI18N
    wizardLblStart.setText(resourceMap.getString("wizardLblStart.text")); // NOI18N
    wizardLblStart.setName("wizardLblStart"); // NOI18N

    wizardLblTester.setFont(resourceMap.getFont("wizardLblTester.font")); // NOI18N
    wizardLblTester.setText(resourceMap.getString("wizardLblTester.text")); // NOI18N
    wizardLblTester.setName("wizardLblTester"); // NOI18N

    wizardTabpDetailsDTBIR.setName("wizardTabpDetailsDTBIR"); // NOI18N

    wizardScrollPaneDataFiles.setName("wizardScrollPaneDataFiles"); // NOI18N

    wizardtaDataFiles.setColumns(20);
    wizardtaDataFiles.setLineWrap(true);
    wizardtaDataFiles.setRows(5);
    wizardtaDataFiles.setName("wizardtaDataFiles"); // NOI18N
    wizardScrollPaneDataFiles.setViewportView(wizardtaDataFiles);

    wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneDataFiles.TabConstraints.tabTitle"),
            wizardScrollPaneDataFiles); // NOI18N

    wizardScrollPaneTestNotes.setName("wizardScrollPaneTestNotes"); // NOI18N

    wizardtaTestNotes.setColumns(20);
    wizardtaTestNotes.setFont(resourceMap.getFont("wizardtaTestNotes.font")); // NOI18N
    wizardtaTestNotes.setLineWrap(true);
    wizardtaTestNotes.setRows(5);
    wizardtaTestNotes.setWrapStyleWord(true);
    wizardtaTestNotes.setName("wizardtaTestNotes"); // NOI18N
    wizardScrollPaneTestNotes.setViewportView(wizardtaTestNotes);

    wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneTestNotes.TabConstraints.tabTitle"),
            wizardScrollPaneTestNotes); // NOI18N

    wizardScrollPaneBugs.setName("wizardScrollPaneBugs"); // NOI18N

    wizardtaBugs.setColumns(20);
    wizardtaBugs.setFont(resourceMap.getFont("wizardtaBugs.font")); // NOI18N
    wizardtaBugs.setLineWrap(true);
    wizardtaBugs.setRows(5);
    wizardtaBugs.setWrapStyleWord(true);
    wizardtaBugs.setComponentPopupMenu(wizardPopUpBugTab);
    wizardtaBugs.setName("wizardtaBugs"); // NOI18N
    wizardScrollPaneBugs.setViewportView(wizardtaBugs);

    wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneBugs.TabConstraints.tabTitle"),
            wizardScrollPaneBugs); // NOI18N

    wizardScrollPaneIssues.setName("wizardScrollPaneIssues"); // NOI18N

    wizardtaIssues.setColumns(20);
    wizardtaIssues.setFont(resourceMap.getFont("wizardtaIssues.font")); // NOI18N
    wizardtaIssues.setLineWrap(true);
    wizardtaIssues.setRows(5);
    wizardtaIssues.setWrapStyleWord(true);
    wizardtaIssues.setName("wizardtaIssues"); // NOI18N
    wizardScrollPaneIssues.setViewportView(wizardtaIssues);

    wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneIssues.TabConstraints.tabTitle"),
            wizardScrollPaneIssues); // NOI18N

    wizardScrollPaneReview.setName("wizardScrollPaneReview"); // NOI18N

    wizardtaReview.setBackground(resourceMap.getColor("wizardtaReview.background")); // NOI18N
    wizardtaReview.setColumns(20);
    wizardtaReview.setEditable(false);
    wizardtaReview.setRows(5);
    wizardtaReview.setToolTipText(resourceMap.getString("wizardtaReview.toolTipText")); // NOI18N
    wizardtaReview.setName("wizardtaReview"); // NOI18N
    wizardScrollPaneReview.setViewportView(wizardtaReview);

    wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneReview.TabConstraints.tabTitle"),
            wizardScrollPaneReview); // NOI18N

    wizardtfNameOfTester.setText(resourceMap.getString("wizardtfNameOfTester.text")); // NOI18N
    wizardtfNameOfTester.setName("wizardtfNameOfTester"); // NOI18N

    jScrollPane3.setName("jScrollPane3"); // NOI18N

    wizardtaCharterdynamic.setBackground(resourceMap.getColor("wizardtaCharterdynamic.background")); // NOI18N
    wizardtaCharterdynamic.setColumns(20);
    wizardtaCharterdynamic.setFont(resourceMap.getFont("wizardtaCharterdynamic.font")); // NOI18N
    wizardtaCharterdynamic.setLineWrap(true);
    wizardtaCharterdynamic.setRows(2);
    wizardtaCharterdynamic.setBorder(null);
    wizardtaCharterdynamic.setName("wizardtaCharterdynamic"); // NOI18N
    jScrollPane3.setViewportView(wizardtaCharterdynamic);

    javax.swing.GroupLayout testsessionPanelLayout = new javax.swing.GroupLayout(testsessionPanel);
    testsessionPanel.setLayout(testsessionPanelLayout);
    testsessionPanelLayout.setHorizontalGroup(testsessionPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(testsessionPanelLayout.createSequentialGroup().addGroup(testsessionPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(testsessionPanelLayout.createSequentialGroup().addContainerGap()
                            .addGroup(testsessionPanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(wizardLblcharterHeadline).addComponent(wizardLblStart)
                                    .addComponent(wizardLblTester))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addGroup(testsessionPanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(testsessionPanelLayout.createSequentialGroup()
                                            .addGroup(testsessionPanelLayout
                                                    .createParallelGroup(
                                                            javax.swing.GroupLayout.Alignment.LEADING, false)
                                                    .addComponent(wizardLblstartTime)
                                                    .addComponent(wizardtfNameOfTester,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE, 266,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGap(18, 18, 18).addComponent(wizardTabpDetailsDTBIR,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE, 635, Short.MAX_VALUE))
                                    .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 919,
                                            Short.MAX_VALUE)))
                    .addGroup(testsessionPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(wizardPanelTaskBreakd, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(wizardPanelTestsessionAreas,
                                    javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)))
                    .addContainerGap()));
    testsessionPanelLayout.setVerticalGroup(testsessionPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(testsessionPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(testsessionPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(wizardLblcharterHeadline).addComponent(jScrollPane3,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(testsessionPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(testsessionPanelLayout.createSequentialGroup()
                                    .addComponent(wizardPanelTestsessionAreas,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addGap(11, 11, 11)
                                    .addGroup(testsessionPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(wizardLblStart).addComponent(wizardLblstartTime))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(testsessionPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(wizardLblTester).addComponent(wizardtfNameOfTester,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGap(15, 15, 15).addComponent(wizardPanelTaskBreakd,
                                            javax.swing.GroupLayout.PREFERRED_SIZE, 272,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(testsessionPanelLayout
                                    .createSequentialGroup().addComponent(wizardTabpDetailsDTBIR,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, 531, Short.MAX_VALUE)
                                    .addGap(11, 11, 11)))));

    wizardtabp.addTab(resourceMap.getString("testsessionPanel.TabConstraints.tabTitle"), testsessionPanel); // NOI18N

    wizardbtnBack.setText(resourceMap.getString("wizardbtnBack.text")); // NOI18N
    wizardbtnBack.setEnabled(false);
    wizardbtnBack.setName("wizardbtnBack"); // NOI18N
    wizardbtnBack.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnWizardBack(evt);
        }
    });

    wizardbtnStart.setText(resourceMap.getString("wizardbtnStart.text")); // NOI18N
    wizardbtnStart.setName("wizardbtnStart"); // NOI18N

    wizardbtnStop.setText(resourceMap.getString("wizardbtnStop.text")); // NOI18N
    wizardbtnStop.setName("wizardbtnStop"); // NOI18N

    wizardbtnSave.setEnabled(false);
    wizardbtnSave.setLabel(resourceMap.getString("SaveButton.label")); // NOI18N
    wizardbtnSave.setName("SaveButton"); // NOI18N
    wizardbtnSave.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            btnWizardSaveClicked(evt);
        }
    });

    wizardbtnNext.setText(resourceMap.getString("wizardbtnNext.text")); // NOI18N
    wizardbtnNext.setName("wizardbtnNext"); // NOI18N
    wizardbtnNext.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnWizardNext(evt);
        }
    });

    wizardbtnNew.setText(resourceMap.getString("wizardbtnNew.text")); // NOI18N
    wizardbtnNew.setName("wizardbtnNew"); // NOI18N
    wizardbtnNew.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            btnWizardNewMouseClicked(evt);
        }
    });

    javax.swing.GroupLayout wizardPanelLayout = new javax.swing.GroupLayout(wizardPanel);
    wizardPanel.setLayout(wizardPanelLayout);
    wizardPanelLayout.setHorizontalGroup(wizardPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, wizardPanelLayout.createSequentialGroup()
                    .addGroup(wizardPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, wizardPanelLayout
                                    .createSequentialGroup().addContainerGap().addComponent(wizardbtnBack)
                                    .addGap(340, 340, 340).addComponent(wizardbtnStart).addGap(2, 2, 2)
                                    .addComponent(wizardbtnStop).addGap(18, 18, 18).addComponent(wizardbtnSave)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(wizardbtnNew)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 280,
                                            Short.MAX_VALUE)
                                    .addComponent(wizardbtnNext))
                            .addComponent(WizardToolbar, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING,
                                    wizardPanelLayout.createSequentialGroup().addContainerGap().addComponent(
                                            wizardtabp, javax.swing.GroupLayout.DEFAULT_SIZE, 1000,
                                            Short.MAX_VALUE)))
                    .addContainerGap()));
    wizardPanelLayout.setVerticalGroup(wizardPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(wizardPanelLayout.createSequentialGroup()
                    .addComponent(WizardToolbar, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(wizardtabp, javax.swing.GroupLayout.DEFAULT_SIZE, 624, Short.MAX_VALUE)
                    .addGap(18, 18, 18)
                    .addGroup(wizardPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(wizardbtnBack).addComponent(wizardbtnStart)
                            .addComponent(wizardbtnSave).addComponent(wizardbtnNew).addComponent(wizardbtnNext)
                            .addComponent(wizardbtnStop))
                    .addContainerGap()));

    viewReviewsPanel.setName("viewReviewsPanel"); // NOI18N

    ReviewToolbar.setFloatable(false);
    ReviewToolbar.setRollover(true);
    ReviewToolbar.setName("ReviewToolbar"); // NOI18N

    reviewbtntopSave.setIcon(resourceMap.getIcon("reviewbtntopSave.icon")); // NOI18N
    reviewbtntopSave.setToolTipText(resourceMap.getString("reviewbtntopSave.toolTipText")); // NOI18N
    reviewbtntopSave.setDisabledIcon(resourceMap.getIcon("reviewbtntopSave.disabledIcon")); // NOI18N
    reviewbtntopSave.setEnabled(false);
    reviewbtntopSave.setFocusable(false);
    reviewbtntopSave.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
    reviewbtntopSave.setName("reviewbtntopSave"); // NOI18N
    reviewbtntopSave.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    reviewbtntopSave.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            reviewbtntopSaveMouseClicked(evt);
        }
    });
    ReviewToolbar.add(reviewbtntopSave);

    jSeparator3.setName("jSeparator3"); // NOI18N
    ReviewToolbar.add(jSeparator3);

    reviewbtntopBack.setIcon(resourceMap.getIcon("reviewbtntopBack.icon")); // NOI18N
    reviewbtntopBack.setToolTipText(resourceMap.getString("reviewbtntopBack.toolTipText")); // NOI18N
    reviewbtntopBack.setDisabledIcon(resourceMap.getIcon("reviewbtntopBack.disabledIcon")); // NOI18N
    reviewbtntopBack.setEnabled(false);
    reviewbtntopBack.setFocusable(false);
    reviewbtntopBack.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    reviewbtntopBack.setName("reviewbtntopBack"); // NOI18N
    reviewbtntopBack.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    reviewbtntopBack.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            reviewbtntopBackMouseClicked(evt);
        }
    });
    ReviewToolbar.add(reviewbtntopBack);

    reviewbtntopNext.setIcon(resourceMap.getIcon("reviewbtntopNext.icon")); // NOI18N
    reviewbtntopNext.setToolTipText(resourceMap.getString("reviewbtntopNext.toolTipText")); // NOI18N
    reviewbtntopNext.setDisabledIcon(resourceMap.getIcon("reviewbtntopNext.disabledIcon")); // NOI18N
    reviewbtntopNext.setFocusable(false);
    reviewbtntopNext.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    reviewbtntopNext.setName("reviewbtntopNext"); // NOI18N
    reviewbtntopNext.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    reviewbtntopNext.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            reviewbtntopNextMouseClicked(evt);
        }
    });
    ReviewToolbar.add(reviewbtntopNext);

    reviewbtntopMove.setIcon(resourceMap.getIcon("reviewbtntopMove.icon")); // NOI18N
    reviewbtntopMove.setText(resourceMap.getString("reviewbtntopMove.text")); // NOI18N
    reviewbtntopMove.setToolTipText(resourceMap.getString("reviewbtntopMove.toolTipText")); // NOI18N
    reviewbtntopMove.setDisabledIcon(resourceMap.getIcon("reviewbtntopMove.disabledIcon")); // NOI18N
    reviewbtntopMove.setFocusable(false);
    reviewbtntopMove.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    reviewbtntopMove.setName("reviewbtntopMove"); // NOI18N
    reviewbtntopMove.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    reviewbtntopMove.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            moveto(evt);
        }
    });
    ReviewToolbar.add(reviewbtntopMove);

    reviewViewlabel.setFont(resourceMap.getFont("reviewViewlabel.font")); // NOI18N
    reviewViewlabel.setText(resourceMap.getString("reviewViewlabel.text")); // NOI18N
    reviewViewlabel.setName("reviewViewlabel"); // NOI18N

    reviewSessionsTabp.setName("reviewSessionsTabp"); // NOI18N

    reviewToreviewSessionsPanel.setName("reviewToreviewSessionsPanel"); // NOI18N

    reviewCmbxSessiontoReview.setName("reviewCmbxSessiontoReview"); // NOI18N

    reviewtoReviewPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    reviewtoReviewPanel.setName("reviewtoReviewPanel"); // NOI18N
    reviewtoReviewPanel.setLayout(new java.awt.GridLayout(2, 0));

    javax.swing.GroupLayout reviewToreviewSessionsPanelLayout = new javax.swing.GroupLayout(
            reviewToreviewSessionsPanel);
    reviewToreviewSessionsPanel.setLayout(reviewToreviewSessionsPanelLayout);
    reviewToreviewSessionsPanelLayout.setHorizontalGroup(reviewToreviewSessionsPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(reviewToreviewSessionsPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(reviewToreviewSessionsPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(reviewtoReviewPanel, javax.swing.GroupLayout.Alignment.TRAILING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 975, Short.MAX_VALUE)
                            .addComponent(reviewCmbxSessiontoReview, 0, 975, Short.MAX_VALUE))
                    .addContainerGap()));
    reviewToreviewSessionsPanelLayout.setVerticalGroup(reviewToreviewSessionsPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(reviewToreviewSessionsPanelLayout.createSequentialGroup().addContainerGap()
                    .addComponent(reviewtoReviewPanel, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18)
                    .addComponent(reviewCmbxSessiontoReview, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(520, Short.MAX_VALUE)));

    reviewSessionsTabp.addTab(resourceMap.getString("reviewToreviewSessionsPanel.TabConstraints.tabTitle"),
            reviewToreviewSessionsPanel); // NOI18N

    reviewViewPanel.setName("reviewViewPanel"); // NOI18N

    reviewLblStartTime.setText(resourceMap.getString("reviewLblStartTime.text")); // NOI18N
    reviewLblStartTime.setName("reviewLblStartTime"); // NOI18N

    reviewPaneTaskbreakdown.setBorder(
            javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(),
                    resourceMap.getString("reviewPaneTaskbreakdown.border.title"),
                    javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
                    javax.swing.border.TitledBorder.DEFAULT_POSITION,
                    resourceMap.getFont("reviewPaneTaskbreakdown.border.titleFont"))); // NOI18N
    reviewPaneTaskbreakdown.setName("reviewPaneTaskbreakdown"); // NOI18N

    reviewLblDuration.setText(resourceMap.getString("reviewLblDuration.text")); // NOI18N
    reviewLblDuration.setName("reviewLblDuration"); // NOI18N

    reviewLblTestExecution.setText(resourceMap.getString("reviewLblTestExecution.text")); // NOI18N
    reviewLblTestExecution.setName("reviewLblTestExecution"); // NOI18N

    reviewLblSetup.setText(resourceMap.getString("reviewLblSetup.text")); // NOI18N
    reviewLblSetup.setName("reviewLblSetup"); // NOI18N

    reviewLblChartervs.setText(resourceMap.getString("reviewLblChartervs.text")); // NOI18N
    reviewLblChartervs.setName("reviewLblChartervs"); // NOI18N

    reviewtfDuration.setBackground(resourceMap.getColor("reviewtfDuration.background")); // NOI18N
    reviewtfDuration.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    reviewtfDuration.setName("reviewtfDuration"); // NOI18N

    reviewtfSessionSetup.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    reviewtfSessionSetup.setName("reviewtfSessionSetup"); // NOI18N

    reviewLblBugReporting.setText(resourceMap.getString("reviewLblBugReporting.text")); // NOI18N
    reviewLblBugReporting.setName("reviewLblBugReporting"); // NOI18N

    reviewtfBugInvestigation.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    reviewtfBugInvestigation.setName("reviewtfBugInvestigation"); // NOI18N

    reviewtfCharter.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    reviewtfCharter.setName("reviewtfCharter"); // NOI18N

    reviewtfTestDesignExecution.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    reviewtfTestDesignExecution.setName("reviewtfTestDesignExecution"); // NOI18N

    reviewLblvs.setText(resourceMap.getString("reviewLblvs.text")); // NOI18N
    reviewLblvs.setName("reviewLblvs"); // NOI18N

    reviewLblOpportunity.setText(resourceMap.getString("reviewLblOpportunity.text")); // NOI18N
    reviewLblOpportunity.setName("reviewLblOpportunity"); // NOI18N

    javax.swing.GroupLayout reviewPaneTaskbreakdownLayout = new javax.swing.GroupLayout(
            reviewPaneTaskbreakdown);
    reviewPaneTaskbreakdown.setLayout(reviewPaneTaskbreakdownLayout);
    reviewPaneTaskbreakdownLayout.setHorizontalGroup(
            reviewPaneTaskbreakdownLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(reviewPaneTaskbreakdownLayout.createSequentialGroup()
                            .addGroup(reviewPaneTaskbreakdownLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(reviewPaneTaskbreakdownLayout.createSequentialGroup()
                                            .addComponent(reviewLblChartervs)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(reviewLblvs)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(reviewLblOpportunity))
                                    .addComponent(reviewtfBugInvestigation,
                                            javax.swing.GroupLayout.PREFERRED_SIZE, 100,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(reviewLblDuration)
                                    .addComponent(reviewtfDuration, javax.swing.GroupLayout.PREFERRED_SIZE, 100,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(reviewLblTestExecution).addComponent(reviewLblSetup)
                                    .addComponent(reviewtfSessionSetup, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            100, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(reviewLblBugReporting)
                                    .addComponent(reviewtfTestDesignExecution,
                                            javax.swing.GroupLayout.PREFERRED_SIZE, 100,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(reviewtfCharter, javax.swing.GroupLayout.PREFERRED_SIZE, 97,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addContainerGap(172, Short.MAX_VALUE)));
    reviewPaneTaskbreakdownLayout.setVerticalGroup(reviewPaneTaskbreakdownLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(reviewPaneTaskbreakdownLayout.createSequentialGroup().addComponent(reviewLblDuration)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(reviewtfDuration, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(reviewLblTestExecution)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(reviewtfTestDesignExecution, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(reviewLblSetup).addGap(9, 9, 9)
                    .addComponent(reviewtfSessionSetup, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(reviewLblBugReporting)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(reviewtfBugInvestigation, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(reviewPaneTaskbreakdownLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(reviewLblChartervs).addComponent(reviewLblvs)
                            .addComponent(reviewLblOpportunity))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(reviewtfCharter, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(17, Short.MAX_VALUE)));

    reviewPanelTestsessionAreas.setBorder(
            javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(),
                    resourceMap.getString("reviewPanelTestsessionAreas.border.title"),
                    javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
                    javax.swing.border.TitledBorder.DEFAULT_POSITION,
                    resourceMap.getFont("reviewPanelTestsessionAreas.border.titleFont"))); // NOI18N
    reviewPanelTestsessionAreas.setName("reviewPanelTestsessionAreas"); // NOI18N

    reviewScrollPaneArea.setName("reviewScrollPaneArea"); // NOI18N

    reviewtaTestsessionAreasReview.setColumns(20);
    reviewtaTestsessionAreasReview.setRows(5);
    reviewtaTestsessionAreasReview.setName("reviewtaTestsessionAreasReview"); // NOI18N
    reviewScrollPaneArea.setViewportView(reviewtaTestsessionAreasReview);

    javax.swing.GroupLayout reviewPanelTestsessionAreasLayout = new javax.swing.GroupLayout(
            reviewPanelTestsessionAreas);
    reviewPanelTestsessionAreas.setLayout(reviewPanelTestsessionAreasLayout);
    reviewPanelTestsessionAreasLayout.setHorizontalGroup(
            reviewPanelTestsessionAreasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(reviewPanelTestsessionAreasLayout
                            .createSequentialGroup().addComponent(reviewScrollPaneArea,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 317, Short.MAX_VALUE)
                            .addContainerGap()));
    reviewPanelTestsessionAreasLayout.setVerticalGroup(
            reviewPanelTestsessionAreasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(reviewPanelTestsessionAreasLayout
                            .createSequentialGroup().addComponent(reviewScrollPaneArea,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 140, Short.MAX_VALUE)
                            .addContainerGap()));

    reviewCharterHeadlineLabel.setFont(resourceMap.getFont("reviewCharterHeadlineLabel.font")); // NOI18N
    reviewCharterHeadlineLabel.setText(resourceMap.getString("reviewCharterHeadlineLabel.text")); // NOI18N
    reviewCharterHeadlineLabel.setName("reviewCharterHeadlineLabel"); // NOI18N

    reviewLblStart.setFont(resourceMap.getFont("reviewLblStart.font")); // NOI18N
    reviewLblStart.setText(resourceMap.getString("reviewLblStart.text")); // NOI18N
    reviewLblStart.setName("reviewLblStart"); // NOI18N

    reviewLblTester.setFont(resourceMap.getFont("reviewLblTester.font")); // NOI18N
    reviewLblTester.setText(resourceMap.getString("reviewLblTester.text")); // NOI18N
    reviewLblTester.setName("reviewLblTester"); // NOI18N

    reviewTabpDTBIR.setName("reviewTabpDTBIR"); // NOI18N

    reviewScrollPaneDatafile.setName("reviewScrollPaneDatafile"); // NOI18N

    reviewtaDataFiles.setColumns(20);
    reviewtaDataFiles.setFont(resourceMap.getFont("reviewtaDataFiles.font")); // NOI18N
    reviewtaDataFiles.setRows(5);
    reviewtaDataFiles.setName("reviewtaDataFiles"); // NOI18N
    reviewScrollPaneDatafile.setViewportView(reviewtaDataFiles);

    reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneDatafile.TabConstraints.tabTitle"),
            reviewScrollPaneDatafile); // NOI18N

    reviewScrollPaneTestNotes.setName("reviewScrollPaneTestNotes"); // NOI18N

    reviewtaTestNotes.setColumns(20);
    reviewtaTestNotes.setFont(resourceMap.getFont("reviewtaTestNotes.font")); // NOI18N
    reviewtaTestNotes.setLineWrap(true);
    reviewtaTestNotes.setRows(5);
    reviewtaTestNotes.setName("reviewtaTestNotes"); // NOI18N
    reviewScrollPaneTestNotes.setViewportView(reviewtaTestNotes);

    reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneTestNotes.TabConstraints.tabTitle"),
            reviewScrollPaneTestNotes); // NOI18N

    reviewScrollPaneBugs.setName("reviewScrollPaneBugs"); // NOI18N

    reviewedipaneBugs.setFont(resourceMap.getFont("reviewedipaneBugs.font")); // NOI18N
    reviewedipaneBugs.setName("reviewedipaneBugs"); // NOI18N
    reviewScrollPaneBugs.setViewportView(reviewedipaneBugs);

    reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneBugs.TabConstraints.tabTitle"),
            reviewScrollPaneBugs); // NOI18N

    reviewScrollPaneIssues.setName("reviewScrollPaneIssues"); // NOI18N

    reviewtaIssues.setColumns(20);
    reviewtaIssues.setFont(resourceMap.getFont("reviewtaIssues.font")); // NOI18N
    reviewtaIssues.setRows(5);
    reviewtaIssues.setName("reviewtaIssues"); // NOI18N
    reviewScrollPaneIssues.setViewportView(reviewtaIssues);

    reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneIssues.TabConstraints.tabTitle"),
            reviewScrollPaneIssues); // NOI18N

    reviewScrollPaneReview.setName("reviewScrollPaneReview"); // NOI18N

    reviewtaReview.setColumns(20);
    reviewtaReview.setFont(resourceMap.getFont("reviewtaReview.font")); // NOI18N
    reviewtaReview.setRows(5);
    reviewtaReview.setName("reviewtaReview"); // NOI18N
    reviewScrollPaneReview.setViewportView(reviewtaReview);

    reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneReview.TabConstraints.tabTitle"),
            reviewScrollPaneReview); // NOI18N

    reviewTabpDTBIR.setSelectedIndex(4);

    reviewtfNameOfTester.setText(resourceMap.getString("reviewtfNameOfTester.text")); // NOI18N
    reviewtfNameOfTester.setName("reviewtfNameOfTester"); // NOI18N

    jScrollPane6.setName("jScrollPane6"); // NOI18N

    reviewtaCharterdynamic.setBackground(resourceMap.getColor("reviewtaCharterdynamic.background")); // NOI18N
    reviewtaCharterdynamic.setColumns(20);
    reviewtaCharterdynamic.setEditable(false);
    reviewtaCharterdynamic.setFont(resourceMap.getFont("reviewtaCharterdynamic.font")); // NOI18N
    reviewtaCharterdynamic.setLineWrap(true);
    reviewtaCharterdynamic.setRows(2);
    reviewtaCharterdynamic.setText(resourceMap.getString("reviewtaCharterdynamic.text")); // NOI18N
    reviewtaCharterdynamic.setBorder(null);
    reviewtaCharterdynamic.setName("reviewtaCharterdynamic"); // NOI18N
    jScrollPane6.setViewportView(reviewtaCharterdynamic);

    javax.swing.GroupLayout reviewViewPanelLayout = new javax.swing.GroupLayout(reviewViewPanel);
    reviewViewPanel.setLayout(reviewViewPanelLayout);
    reviewViewPanelLayout.setHorizontalGroup(reviewViewPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(reviewViewPanelLayout.createSequentialGroup().addGroup(reviewViewPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(reviewViewPanelLayout.createSequentialGroup().addContainerGap()
                            .addGroup(reviewViewPanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(reviewLblStart).addComponent(reviewLblTester)
                                    .addComponent(reviewCharterHeadlineLabel))
                            .addGap(10, 10, 10)
                            .addGroup(reviewViewPanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(reviewViewPanelLayout.createSequentialGroup()
                                            .addGroup(reviewViewPanelLayout
                                                    .createParallelGroup(
                                                            javax.swing.GroupLayout.Alignment.LEADING, false)
                                                    .addComponent(reviewLblStartTime)
                                                    .addComponent(reviewtfNameOfTester,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE, 266,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGap(18, 18, 18).addComponent(reviewTabpDTBIR))
                                    .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 919,
                                            Short.MAX_VALUE)))
                    .addGroup(reviewViewPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(reviewPaneTaskbreakdown, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(reviewPanelTestsessionAreas,
                                    javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)))
                    .addContainerGap()));
    reviewViewPanelLayout.setVerticalGroup(reviewViewPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(reviewViewPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(reviewViewPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(reviewCharterHeadlineLabel))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(reviewViewPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(reviewViewPanelLayout.createSequentialGroup()
                                    .addComponent(reviewPanelTestsessionAreas,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addGap(11, 11, 11)
                                    .addGroup(reviewViewPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(reviewLblStart).addComponent(reviewLblStartTime))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(reviewViewPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(reviewLblTester).addComponent(reviewtfNameOfTester,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGap(15, 15, 15).addComponent(reviewPaneTaskbreakdown,
                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(reviewViewPanelLayout
                                    .createSequentialGroup().addComponent(reviewTabpDTBIR,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, 508, Short.MAX_VALUE)
                                    .addGap(11, 11, 11)))));

    reviewSessionsTabp.addTab(resourceMap.getString("reviewViewPanel.TabConstraints.tabTitle"),
            reviewViewPanel); // NOI18N

    reviewbtnNext.setText(resourceMap.getString("reviewbtnNext.text")); // NOI18N
    reviewbtnNext.setName("reviewbtnNext"); // NOI18N
    reviewbtnNext.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            reviewbtnNextClicked(evt);
        }
    });

    reviewbtnBack.setText(resourceMap.getString("reviewbtnBack.text")); // NOI18N
    reviewbtnBack.setEnabled(false);
    reviewbtnBack.setName("reviewbtnBack"); // NOI18N
    reviewbtnBack.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            reviewbtnBackMouseClicked(evt);
        }
    });

    reviewbtnSave.setEnabled(false);
    reviewbtnSave.setLabel(resourceMap.getString("reviewbtnSave.label")); // NOI18N
    reviewbtnSave.setName("reviewbtnSave"); // NOI18N
    reviewbtnSave.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            reviewbtnSaveButtonClicked(evt);
        }
    });

    reviewbtnMove.setText(resourceMap.getString("reviewbtnMove.text")); // NOI18N
    reviewbtnMove.setToolTipText(resourceMap.getString("reviewbtnMove.toolTipText")); // NOI18N
    reviewbtnMove.setEnabled(false);
    reviewbtnMove.setName("reviewbtnMove"); // NOI18N
    reviewbtnMove.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            moveto(evt);
        }
    });

    javax.swing.GroupLayout viewReviewsPanelLayout = new javax.swing.GroupLayout(viewReviewsPanel);
    viewReviewsPanel.setLayout(viewReviewsPanelLayout);
    viewReviewsPanelLayout.setHorizontalGroup(viewReviewsPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(viewReviewsPanelLayout.createSequentialGroup().addGroup(viewReviewsPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(ReviewToolbar, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(viewReviewsPanelLayout.createSequentialGroup().addContainerGap()
                            .addComponent(reviewbtnBack).addGap(466, 466, 466).addComponent(reviewbtnSave)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 206,
                                    Short.MAX_VALUE)
                            .addComponent(reviewbtnMove).addGap(18, 18, 18).addComponent(reviewbtnNext))
                    .addGroup(viewReviewsPanelLayout.createSequentialGroup().addGap(10, 10, 10)
                            .addComponent(reviewSessionsTabp))
                    .addGroup(viewReviewsPanelLayout.createSequentialGroup().addContainerGap()
                            .addComponent(reviewViewlabel)))
                    .addContainerGap()));
    viewReviewsPanelLayout.setVerticalGroup(viewReviewsPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(viewReviewsPanelLayout.createSequentialGroup()
                    .addComponent(ReviewToolbar, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(2, 2, 2).addComponent(reviewViewlabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(
                            reviewSessionsTabp, javax.swing.GroupLayout.DEFAULT_SIZE, 601, Short.MAX_VALUE)
                    .addGap(25, 25, 25)
                    .addGroup(viewReviewsPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(reviewbtnBack).addComponent(reviewbtnNext).addComponent(reviewbtnSave)
                            .addComponent(reviewbtnMove))
                    .addContainerGap()));

    reportPanel.setName("reportPanel"); // NOI18N

    reportChartPanel.setName("reportChartPanel"); // NOI18N

    javax.swing.GroupLayout reportChartPanelLayout = new javax.swing.GroupLayout(reportChartPanel);
    reportChartPanel.setLayout(reportChartPanelLayout);
    reportChartPanelLayout.setHorizontalGroup(reportChartPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 495, Short.MAX_VALUE));
    reportChartPanelLayout.setVerticalGroup(reportChartPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 436, Short.MAX_VALUE));

    reportScrollPOverviewTabel.setName("reportScrollPOverviewTabel"); // NOI18N

    reportOverviewTable.setBackground(resourceMap.getColor("reportOverviewTable.background")); // NOI18N
    reportOverviewTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object[][] { { null, null }, { null, null }, { null, null }, { null, null } },
            new String[] { "Charter", "Number of Testsessions" }));
    reportOverviewTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_LAST_COLUMN);
    reportOverviewTable.setName("reportOverviewTable"); // NOI18N
    reportScrollPOverviewTabel.setViewportView(reportOverviewTable);
    reportOverviewTable.getColumnModel().getColumn(0)
            .setHeaderValue(resourceMap.getString("reportOverviewTable.columnModel.title0")); // NOI18N
    reportOverviewTable.getColumnModel().getColumn(1)
            .setHeaderValue(resourceMap.getString("reportOverviewTable.columnModel.title1")); // NOI18N

    reportlblSum.setText(resourceMap.getString("reportlblSum.text")); // NOI18N
    reportlblSum.setName("reportlblSum"); // NOI18N

    reportlblBug.setText(resourceMap.getString("reportlblBug.text")); // NOI18N
    reportlblBug.setName("reportlblBug"); // NOI18N

    reportlblIssue.setText(resourceMap.getString("reportlblIssue.text")); // NOI18N
    reportlblIssue.setName("reportlblIssue"); // NOI18N

    javax.swing.GroupLayout reportPanelLayout = new javax.swing.GroupLayout(reportPanel);
    reportPanel.setLayout(reportPanelLayout);
    reportPanelLayout.setHorizontalGroup(reportPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(reportPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(reportPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(reportScrollPOverviewTabel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    1000, Short.MAX_VALUE)
                            .addGroup(reportPanelLayout.createSequentialGroup()
                                    .addComponent(reportChartPanel, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 428,
                                            Short.MAX_VALUE)
                                    .addGroup(reportPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                            .addComponent(reportlblSum).addComponent(reportlblIssue)
                                            .addComponent(reportlblBug))))
                    .addContainerGap()));
    reportPanelLayout.setVerticalGroup(reportPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(reportPanelLayout.createSequentialGroup().addContainerGap()
                    .addComponent(reportScrollPOverviewTabel, javax.swing.GroupLayout.PREFERRED_SIZE, 239,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(2, 2, 2).addComponent(reportlblSum).addGap(2, 2, 2)
                    .addGroup(reportPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(reportPanelLayout.createSequentialGroup().addGap(5, 5, 5)
                                    .addComponent(reportlblBug)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(reportlblIssue))
                            .addComponent(reportChartPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addContainerGap()));

    javax.swing.GroupLayout mainPanelLayout = new javax.swing.GroupLayout(mainPanel);
    mainPanel.setLayout(mainPanelLayout);
    mainPanelLayout
            .setHorizontalGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(viewReviewsPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(wizardPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 1020, Short.MAX_VALUE)
                    .addGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(mainPanelLayout.createSequentialGroup().addGap(0, 0, 0)
                                    .addComponent(reportPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addGap(0, 0, 0))));
    mainPanelLayout
            .setVerticalGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(viewReviewsPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(wizardPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 715, Short.MAX_VALUE)
                    .addGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(mainPanelLayout.createSequentialGroup().addGap(0, 0, 0)
                                    .addComponent(reportPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addGap(0, 0, 0))));

    menuBar.setName("menuBar"); // NOI18N

    fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N
    fileMenu.setName("fileMenu"); // NOI18N

    saveMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S,
            java.awt.event.InputEvent.CTRL_MASK));
    saveMenuItem.setText(resourceMap.getString("saveMenuItem.text")); // NOI18N
    saveMenuItem.setName("saveMenuItem"); // NOI18N
    saveMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jMenuSave(evt);
        }
    });
    fileMenu.add(saveMenuItem);

    exitMenuItem.setAction(actionMap.get("quit")); // NOI18N
    exitMenuItem.setName("exitMenuItem"); // NOI18N
    fileMenu.add(exitMenuItem);

    menuBar.add(fileMenu);

    sessionMenu.setText(resourceMap.getString("sessionMenu.text")); // NOI18N
    sessionMenu.setName("sessionMenu"); // NOI18N

    sessionWizardMenuItem.setText(resourceMap.getString("sessionWizardMenuItem.text")); // NOI18N
    sessionWizardMenuItem.setName("sessionWizardMenuItem"); // NOI18N
    sessionWizardMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            menuSessionWizard(evt);
        }
    });
    sessionMenu.add(sessionWizardMenuItem);

    reviewVieMenuItem.setText(resourceMap.getString("reviewVieMenuItem.text")); // NOI18N
    reviewVieMenuItem.setName("reviewVieMenuItem"); // NOI18N
    reviewVieMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            menuReviewView(evt);
        }
    });
    sessionMenu.add(reviewVieMenuItem);

    sessionReportMenuItem.setText(resourceMap.getString("sessionReportMenuItem.text")); // NOI18N
    sessionReportMenuItem.setName("sessionReportMenuItem"); // NOI18N
    sessionReportMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            menuReportView(evt);
        }
    });
    sessionMenu.add(sessionReportMenuItem);

    menuBar.add(sessionMenu);

    helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N
    helpMenu.setName("helpMenu"); // NOI18N

    aboutMenuItem.setAction(actionMap.get("showAboutBox")); // NOI18N
    aboutMenuItem.setName("aboutMenuItem"); // NOI18N
    helpMenu.add(aboutMenuItem);

    helpMenuItem.setAction(actionMap.get("showHelpPdf")); // NOI18N
    helpMenuItem.setText(resourceMap.getString("helpMenuItem.text")); // NOI18N
    helpMenuItem.setName("helpMenuItem"); // NOI18N
    helpMenu.add(helpMenuItem);

    menuBar.add(helpMenu);

    statusPanel.setName("statusPanel"); // NOI18N

    statusPanelSeparator.setName("statusPanelSeparator"); // NOI18N

    statusMessageLabel.setName("statusMessageLabel"); // NOI18N

    statusAnimationLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    statusAnimationLabel.setName("statusAnimationLabel"); // NOI18N

    progressBar.setName("progressBar"); // NOI18N

    javax.swing.GroupLayout statusPanelLayout = new javax.swing.GroupLayout(statusPanel);
    statusPanel.setLayout(statusPanelLayout);
    statusPanelLayout.setHorizontalGroup(statusPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(statusPanelSeparator, javax.swing.GroupLayout.DEFAULT_SIZE, 1020, Short.MAX_VALUE)
            .addGroup(statusPanelLayout.createSequentialGroup().addContainerGap()
                    .addComponent(statusMessageLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 850, Short.MAX_VALUE)
                    .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(statusAnimationLabel).addContainerGap()));
    statusPanelLayout.setVerticalGroup(statusPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(statusPanelLayout.createSequentialGroup()
                    .addComponent(statusPanelSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 2,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(statusMessageLabel).addComponent(statusAnimationLabel)
                            .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(3, 3, 3)));

    wizardPopUpBugTab.setName("wizardPopUpBugTab"); // NOI18N

    wizardPopUpIssueTab.setName("wizardPopUpIssueTab"); // NOI18N

    setComponent(mainPanel);
    setMenuBar(menuBar);
    setStatusBar(statusPanel);
}

From source file:au.org.ala.delta.intkey.Intkey.java

/**
 * Creates and shows the GUI. Called by the swing application framework
 *//*ww w .  ja va  2  s  .co  m*/
@Override
protected void startup() {
    final JFrame mainFrame = getMainFrame();
    _defaultGlassPane = mainFrame.getGlassPane();
    mainFrame.setTitle("Intkey");
    mainFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);
    mainFrame.setIconImages(IconHelper.getRedIconList());

    _helpController = new HelpController(HELPSET_PATH);

    _taxonformatter = new ItemFormatter(false, CommentStrippingMode.STRIP_ALL, AngleBracketHandlingMode.REMOVE,
            true, false, true);
    _context = new IntkeyContext(new IntkeyUIInterceptor(this), new DirectivePopulatorInterceptor(this));

    _advancedModeOnlyDynamicButtons = new ArrayList<JButton>();
    _normalModeOnlyDynamicButtons = new ArrayList<JButton>();
    _activeOnlyWhenCharactersUsedButtons = new ArrayList<JButton>();
    _dynamicButtonsFullHelp = new HashMap<JButton, String>();

    ActionMap actionMap = getContext().getActionMap();

    _rootPanel = new JPanel();
    _rootPanel.setAlignmentX(Component.LEFT_ALIGNMENT);
    _rootPanel.setBackground(SystemColor.control);
    _rootPanel.setLayout(new BorderLayout(0, 0));

    _globalOptionBar = new JPanel();
    _globalOptionBar.setBorder(new EmptyBorder(0, 5, 0, 5));
    _rootPanel.add(_globalOptionBar, BorderLayout.NORTH);
    _globalOptionBar.setLayout(new BorderLayout(0, 0));

    _pnlDynamicButtons = new JPanel();
    FlowLayout flowLayout_1 = (FlowLayout) _pnlDynamicButtons.getLayout();
    flowLayout_1.setVgap(0);
    flowLayout_1.setHgap(0);
    _globalOptionBar.add(_pnlDynamicButtons, BorderLayout.WEST);

    _btnContextHelp = new JButton();
    _btnContextHelp.setMinimumSize(new Dimension(30, 30));
    _btnContextHelp.setMaximumSize(new Dimension(30, 30));
    _btnContextHelp.setAction(actionMap.get("btnContextHelp"));
    _btnContextHelp.setPreferredSize(new Dimension(30, 30));
    _btnContextHelp.setMargin(new Insets(2, 5, 2, 5));
    _btnContextHelp.addActionListener(actionMap.get("btnContextHelp"));
    _globalOptionBar.add(_btnContextHelp, BorderLayout.EAST);

    _rootSplitPane = new JSplitPane();
    _rootSplitPane.setDividerSize(3);
    _rootSplitPane.setResizeWeight(0.5);
    _rootSplitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT);
    _rootSplitPane.setContinuousLayout(true);
    _rootPanel.add(_rootSplitPane);

    _innerSplitPaneLeft = new JSplitPane();
    _innerSplitPaneLeft.setMinimumSize(new Dimension(25, 25));
    _innerSplitPaneLeft.setAlignmentX(Component.CENTER_ALIGNMENT);
    _innerSplitPaneLeft.setDividerSize(3);
    _innerSplitPaneLeft.setResizeWeight(0.5);

    _innerSplitPaneLeft.setContinuousLayout(true);
    _innerSplitPaneLeft.setOrientation(JSplitPane.VERTICAL_SPLIT);
    _rootSplitPane.setLeftComponent(_innerSplitPaneLeft);

    _pnlAvailableCharacters = new JPanel();
    _innerSplitPaneLeft.setLeftComponent(_pnlAvailableCharacters);
    _pnlAvailableCharacters.setLayout(new BorderLayout(0, 0));

    _sclPaneAvailableCharacters = new JScrollPane();
    _pnlAvailableCharacters.add(_sclPaneAvailableCharacters, BorderLayout.CENTER);

    _listAvailableCharacters = new JList();
    // _listAvailableCharacters.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    _listAvailableCharacters.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    _listAvailableCharacters.setCellRenderer(_availableCharactersListCellRenderer);
    _listAvailableCharacters.addMouseListener(new MouseInputAdapter() {

        @Override
        public void mouseClicked(MouseEvent e) {
            if (e.getClickCount() >= 2) {
                int selectedIndex = _listAvailableCharacters.getSelectedIndex();
                if (selectedIndex >= 0) {
                    try {
                        Character ch = (Character) _availableCharacterListModel.getElementAt(selectedIndex);
                        executeDirective(new UseDirective(), Integer.toString(ch.getCharacterId()));
                    } catch (Exception ex) {
                        ex.printStackTrace();
                    }
                }
            }
        }
    });

    _sclPaneAvailableCharacters.setViewportView(_listAvailableCharacters);

    _pnlAvailableCharactersHeader = new JPanel();
    _pnlAvailableCharacters.add(_pnlAvailableCharactersHeader, BorderLayout.NORTH);
    _pnlAvailableCharactersHeader.setLayout(new BorderLayout(0, 0));

    _lblNumAvailableCharacters = new JLabel();
    _lblNumAvailableCharacters.setBorder(new EmptyBorder(0, 5, 0, 0));
    _lblNumAvailableCharacters.setFont(new Font("Tahoma", Font.PLAIN, 15));
    _lblNumAvailableCharacters.setText(MessageFormat.format(availableCharactersCaption, 0));
    _pnlAvailableCharactersHeader.add(_lblNumAvailableCharacters, BorderLayout.WEST);

    _pnlAvailableCharactersButtons = new JPanel();
    FlowLayout flowLayout = (FlowLayout) _pnlAvailableCharactersButtons.getLayout();
    flowLayout.setVgap(2);
    flowLayout.setHgap(2);
    _pnlAvailableCharactersHeader.add(_pnlAvailableCharactersButtons, BorderLayout.EAST);

    // All toolbar buttons should be disabled until a dataset is loaded.
    _btnRestart = new JButton();
    _btnRestart.setAction(actionMap.get("btnRestart"));
    _btnRestart.setPreferredSize(new Dimension(30, 30));
    _btnRestart.setEnabled(false);
    _pnlAvailableCharactersButtons.add(_btnRestart);

    _btnBestOrder = new JButton();
    _btnBestOrder.setAction(actionMap.get("btnBestOrder"));
    _btnBestOrder.setPreferredSize(new Dimension(30, 30));
    _btnBestOrder.setEnabled(false);
    _pnlAvailableCharactersButtons.add(_btnBestOrder);

    _btnSeparate = new JButton();
    _btnSeparate.setAction(actionMap.get("btnSeparate"));
    _btnSeparate.setVisible(_advancedMode);
    _btnSeparate.setPreferredSize(new Dimension(30, 30));
    _btnSeparate.setEnabled(false);
    _pnlAvailableCharactersButtons.add(_btnSeparate);

    _btnNaturalOrder = new JButton();
    _btnNaturalOrder.setAction(actionMap.get("btnNaturalOrder"));
    _btnNaturalOrder.setPreferredSize(new Dimension(30, 30));
    _btnNaturalOrder.setEnabled(false);
    _pnlAvailableCharactersButtons.add(_btnNaturalOrder);

    _btnDiffSpecimenTaxa = new JButton();
    _btnDiffSpecimenTaxa.setAction(actionMap.get("btnDiffSpecimenTaxa"));
    _btnDiffSpecimenTaxa.setEnabled(false);
    _btnDiffSpecimenTaxa.setPreferredSize(new Dimension(30, 30));
    _pnlAvailableCharactersButtons.add(_btnDiffSpecimenTaxa);

    _btnSetTolerance = new JButton();
    _btnSetTolerance.setAction(actionMap.get("btnSetTolerance"));
    _btnSetTolerance.setPreferredSize(new Dimension(30, 30));
    _btnSetTolerance.setEnabled(false);
    _pnlAvailableCharactersButtons.add(_btnSetTolerance);

    _btnSetMatch = new JButton();
    _btnSetMatch.setAction(actionMap.get("btnSetMatch"));
    _btnSetMatch.setVisible(_advancedMode);
    _btnSetMatch.setPreferredSize(new Dimension(30, 30));
    _btnSetMatch.setEnabled(false);
    _pnlAvailableCharactersButtons.add(_btnSetMatch);

    _btnSubsetCharacters = new JButton();
    _btnSubsetCharacters.setAction(actionMap.get("btnSubsetCharacters"));
    _btnSubsetCharacters.setPreferredSize(new Dimension(30, 30));
    _btnSubsetCharacters.setEnabled(false);
    _pnlAvailableCharactersButtons.add(_btnSubsetCharacters);

    _btnFindCharacter = new JButton();
    _btnFindCharacter.setAction(actionMap.get("btnFindCharacter"));
    _btnFindCharacter.setPreferredSize(new Dimension(30, 30));
    _btnFindCharacter.setEnabled(false);
    _pnlAvailableCharactersButtons.add(_btnFindCharacter);

    _pnlAvailableCharactersButtons.setEnabled(false);

    _pnlUsedCharacters = new JPanel();
    _innerSplitPaneLeft.setRightComponent(_pnlUsedCharacters);
    _pnlUsedCharacters.setLayout(new BorderLayout(0, 0));

    _sclPnUsedCharacters = new JScrollPane();
    _pnlUsedCharacters.add(_sclPnUsedCharacters, BorderLayout.CENTER);

    _listUsedCharacters = new JList();
    _listUsedCharacters.setCellRenderer(_usedCharactersListCellRenderer);
    _listUsedCharacters.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    _listUsedCharacters.addMouseListener(new MouseInputAdapter() {

        @Override
        public void mouseClicked(MouseEvent e) {
            if (e.getClickCount() >= 2) {
                int selectedIndex = _listUsedCharacters.getSelectedIndex();
                if (selectedIndex >= 0) {
                    try {
                        Attribute attr = (Attribute) _usedCharacterListModel.getElementAt(selectedIndex);

                        if (_context.charactersFixed() && _context.getFixedCharactersList()
                                .contains(attr.getCharacter().getCharacterId())) {
                            return;
                        }

                        executeDirective(new ChangeDirective(),
                                Integer.toString(attr.getCharacter().getCharacterId()));
                    } catch (Exception ex) {
                        ex.printStackTrace();
                    }
                }
            }
        }
    });

    _sclPnUsedCharacters.setViewportView(_listUsedCharacters);

    _pnlUsedCharactersHeader = new JPanel();
    _pnlUsedCharacters.add(_pnlUsedCharactersHeader, BorderLayout.NORTH);
    _pnlUsedCharactersHeader.setLayout(new BorderLayout(0, 0));

    _lblNumUsedCharacters = new JLabel();
    _lblNumUsedCharacters.setBorder(new EmptyBorder(7, 5, 7, 0));
    _lblNumUsedCharacters.setFont(new Font("Tahoma", Font.PLAIN, 15));
    _lblNumUsedCharacters.setText(MessageFormat.format(usedCharactersCaption, 0));
    _pnlUsedCharactersHeader.add(_lblNumUsedCharacters, BorderLayout.WEST);

    _innerSplitPaneRight = new JSplitPane();
    _innerSplitPaneRight.setMinimumSize(new Dimension(25, 25));
    _innerSplitPaneRight.setDividerSize(3);
    _innerSplitPaneRight.setResizeWeight(0.5);
    _innerSplitPaneRight.setContinuousLayout(true);
    _innerSplitPaneRight.setOrientation(JSplitPane.VERTICAL_SPLIT);
    _rootSplitPane.setRightComponent(_innerSplitPaneRight);

    _pnlRemainingTaxa = new JPanel();
    _innerSplitPaneRight.setLeftComponent(_pnlRemainingTaxa);
    _pnlRemainingTaxa.setLayout(new BorderLayout(0, 0));

    _sclPnRemainingTaxa = new JScrollPane();
    _pnlRemainingTaxa.add(_sclPnRemainingTaxa, BorderLayout.CENTER);

    _listRemainingTaxa = new JList();

    _listRemainingTaxa.addMouseListener(new MouseInputAdapter() {

        @Override
        public void mouseClicked(MouseEvent e) {
            if (e.getClickCount() >= 2) {
                displayInfoForSelectedTaxa();
            }
        }
    });

    _sclPnRemainingTaxa.setViewportView(_listRemainingTaxa);

    _pnlRemainingTaxaHeader = new JPanel();
    _pnlRemainingTaxa.add(_pnlRemainingTaxaHeader, BorderLayout.NORTH);
    _pnlRemainingTaxaHeader.setLayout(new BorderLayout(0, 0));

    _lblNumRemainingTaxa = new JLabel();
    _lblNumRemainingTaxa.setBorder(new EmptyBorder(0, 5, 0, 0));
    _lblNumRemainingTaxa.setFont(new Font("Tahoma", Font.PLAIN, 15));
    _lblNumRemainingTaxa.setText(MessageFormat.format(remainingTaxaCaption, 0));
    _pnlRemainingTaxaHeader.add(_lblNumRemainingTaxa, BorderLayout.WEST);

    _pnlRemainingTaxaButtons = new JPanel();
    FlowLayout fl_pnlRemainingTaxaButtons = (FlowLayout) _pnlRemainingTaxaButtons.getLayout();
    fl_pnlRemainingTaxaButtons.setVgap(2);
    fl_pnlRemainingTaxaButtons.setHgap(2);
    _pnlRemainingTaxaHeader.add(_pnlRemainingTaxaButtons, BorderLayout.EAST);

    // All toolbar buttons should be disabled until a dataset is loaded.
    _btnTaxonInfo = new JButton();
    _btnTaxonInfo.setAction(actionMap.get("btnTaxonInfo"));
    _btnTaxonInfo.setPreferredSize(new Dimension(30, 30));
    _btnTaxonInfo.setEnabled(false);
    _pnlRemainingTaxaButtons.add(_btnTaxonInfo);

    _btnDiffTaxa = new JButton();
    _btnDiffTaxa.setAction(actionMap.get("btnDiffTaxa"));
    _btnDiffTaxa.setPreferredSize(new Dimension(30, 30));
    _btnDiffTaxa.setEnabled(false);
    _pnlRemainingTaxaButtons.add(_btnDiffTaxa);

    _btnSubsetTaxa = new JButton();
    _btnSubsetTaxa.setAction(actionMap.get("btnSubsetTaxa"));
    _btnSubsetTaxa.setPreferredSize(new Dimension(30, 30));
    _btnSubsetTaxa.setEnabled(false);
    _pnlRemainingTaxaButtons.add(_btnSubsetTaxa);

    _btnFindTaxon = new JButton();
    _btnFindTaxon.setAction(actionMap.get("btnFindTaxon"));
    _btnFindTaxon.setPreferredSize(new Dimension(30, 30));
    _btnFindTaxon.setEnabled(false);
    _pnlRemainingTaxaButtons.add(_btnFindTaxon);

    _pnlEliminatedTaxa = new JPanel();
    _innerSplitPaneRight.setRightComponent(_pnlEliminatedTaxa);
    _pnlEliminatedTaxa.setLayout(new BorderLayout(0, 0));

    _sclPnEliminatedTaxa = new JScrollPane();
    _pnlEliminatedTaxa.add(_sclPnEliminatedTaxa, BorderLayout.CENTER);

    _listEliminatedTaxa = new JList();

    _listEliminatedTaxa.addMouseListener(new MouseInputAdapter() {

        @Override
        public void mouseClicked(MouseEvent e) {
            if (e.getClickCount() >= 2) {
                displayInfoForSelectedTaxa();
            }
        }
    });

    _sclPnEliminatedTaxa.setViewportView(_listEliminatedTaxa);

    _pnlEliminatedTaxaHeader = new JPanel();
    _pnlEliminatedTaxa.add(_pnlEliminatedTaxaHeader, BorderLayout.NORTH);
    _pnlEliminatedTaxaHeader.setLayout(new BorderLayout(0, 0));

    _lblEliminatedTaxa = new JLabel();
    _lblEliminatedTaxa.setBorder(new EmptyBorder(7, 5, 7, 0));
    _lblEliminatedTaxa.setFont(new Font("Tahoma", Font.PLAIN, 15));
    _lblEliminatedTaxa.setText(MessageFormat.format(eliminatedTaxaCaption, 0));
    _pnlEliminatedTaxaHeader.add(_lblEliminatedTaxa, BorderLayout.WEST);

    JMenuBar menuBar = buildMenus(_advancedMode);
    getMainView().setMenuBar(menuBar);

    _txtFldCmdBar = new JTextField();
    _txtFldCmdBar.setCaretColor(Color.WHITE);
    _txtFldCmdBar.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent arg0) {
            String cmdStr = _txtFldCmdBar.getText();

            cmdStr = cmdStr.trim();
            if (_cmdMenus.containsKey(cmdStr)) {
                JMenu cmdMenu = _cmdMenus.get(cmdStr);
                cmdMenu.doClick();
            } else {
                _context.parseAndExecuteDirective(cmdStr);
            }
            _txtFldCmdBar.setText(null);
        }
    });

    _txtFldCmdBar.setFont(new Font("Courier New", Font.BOLD, 13));
    _txtFldCmdBar.setForeground(SystemColor.text);
    _txtFldCmdBar.setBackground(Color.BLACK);
    _txtFldCmdBar.setOpaque(true);
    _txtFldCmdBar.setVisible(_advancedMode);
    _rootPanel.add(_txtFldCmdBar, BorderLayout.SOUTH);
    _txtFldCmdBar.setColumns(10);

    _logDialog = new RtfReportDisplayDialog(getMainFrame(), new SimpleRtfEditorKit(null), null, logDialogTitle);

    // Set context-sensitive help keys for toolbar buttons
    _helpController.setHelpKeyForComponent(_btnRestart, HELP_ID_CHARACTERS_TOOLBAR_RESTART);
    _helpController.setHelpKeyForComponent(_btnBestOrder, HELP_ID_CHARACTERS_TOOLBAR_BEST);
    _helpController.setHelpKeyForComponent(_btnSeparate, HELP_ID_CHARACTERS_TOOLBAR_SEPARATE);
    _helpController.setHelpKeyForComponent(_btnNaturalOrder, HELP_ID_CHARACTERS_TOOLBAR_NATURAL);
    _helpController.setHelpKeyForComponent(_btnDiffSpecimenTaxa,
            HELP_ID_CHARACTERS_TOOLBAR_DIFF_SPECIMEN_REMAINING);
    _helpController.setHelpKeyForComponent(_btnSetTolerance, HELP_ID_CHARACTERS_TOOLBAR_TOLERANCE);
    _helpController.setHelpKeyForComponent(_btnSetMatch, HELP_ID_CHARACTERS_TOOLBAR_SET_MATCH);
    _helpController.setHelpKeyForComponent(_btnSubsetCharacters, HELP_ID_CHARACTERS_TOOLBAR_SUBSET_CHARACTERS);
    _helpController.setHelpKeyForComponent(_btnFindCharacter, HELP_ID_CHARACTERS_TOOLBAR_FIND_CHARACTERS);

    _helpController.setHelpKeyForComponent(_btnTaxonInfo, HELP_ID_TAXA_TOOLBAR_INFO);
    _helpController.setHelpKeyForComponent(_btnDiffTaxa, HELP_ID_TAXA_TOOLBAR_DIFF_TAXA);
    _helpController.setHelpKeyForComponent(_btnSubsetTaxa, HELP_ID_TAXA_TOOLBAR_SUBSET_TAXA);
    _helpController.setHelpKeyForComponent(_btnFindTaxon, HELP_ID_TAXA_TOOLBAR_FIND_TAXA);

    // This mouse listener on the default glasspane is to assist with
    // context senstive help. It intercepts the mouse events,
    // determines what component was being clicked on, then takes the
    // appropriate action to provide help for the component
    _defaultGlassPane.addMouseListener(new MouseAdapter() {

        @Override
        public void mouseClicked(MouseEvent e) {
            // Determine what point has been clicked on
            Point glassPanePoint = e.getPoint();
            Point containerPoint = SwingUtilities.convertPoint(getMainFrame().getGlassPane(), glassPanePoint,
                    getMainFrame().getContentPane());
            Component component = SwingUtilities.getDeepestComponentAt(getMainFrame().getContentPane(),
                    containerPoint.x, containerPoint.y);

            // Get the java help ID for this component. If none has been
            // defined, this will be null
            String helpID = _helpController.getHelpKeyForComponent(component);

            // change the cursor back to the normal one and take down the
            // classpane
            mainFrame.setCursor(Cursor.getDefaultCursor());
            mainFrame.getGlassPane().setVisible(false);

            // If a help ID was found, display the related help page in the
            // help viewer
            if (_helpController.getHelpKeyForComponent(component) != null) {
                _helpController.helpAction().actionPerformed(new ActionEvent(component, 0, null));
                _helpController.displayHelpTopic(mainFrame, helpID);
            } else {
                // If a dynamically-defined toolbar button was clicked, show
                // the help for this button in the ToolbarHelpDialog.
                if (component instanceof JButton) {
                    JButton button = (JButton) component;
                    if (_dynamicButtonsFullHelp.containsKey(button)) {
                        String fullHelpText = _dynamicButtonsFullHelp.get(button);
                        if (fullHelpText == null) {
                            fullHelpText = noHelpAvailableCaption;
                        }
                        RTFBuilder builder = new RTFBuilder();
                        builder.startDocument();
                        builder.appendText(fullHelpText);
                        builder.endDocument();
                        ToolbarHelpDialog dlg = new ToolbarHelpDialog(mainFrame, builder.toString(),
                                button.getIcon());
                        show(dlg);
                    }
                }
            }
        }
    });

    show(_rootPanel);
}

From source file:net.sf.dvstar.transmission.TransmissionView.java

/** This method is called from within the constructor to
 * initialize the form./*from   w  ww .  j  ava 2  s .c  o  m*/
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    mainPanel = new javax.swing.JPanel();
    spMain = new javax.swing.JSplitPane();
    jPanel1 = new javax.swing.JPanel();
    jPanel10 = new javax.swing.JPanel();
    lbFind = new javax.swing.JLabel();
    tfFindItem = new javax.swing.JTextField();
    lbFindInfo = new javax.swing.JLabel();
    cbFilterStatus = new javax.swing.JComboBox();
    jPanel11 = new javax.swing.JPanel();
    spTorrentList = new javax.swing.JScrollPane();
    tblTorrentList = new javax.swing.JTable();
    jPanel3 = new javax.swing.JPanel();
    btFirst = new javax.swing.JButton();
    btPrev = new javax.swing.JButton();
    tfCurrentRow = new javax.swing.JTextField();
    btNext = new javax.swing.JButton();
    btLast = new javax.swing.JButton();
    jPanel2 = new javax.swing.JPanel();
    jTabbedPane1 = new javax.swing.JTabbedPane();
    plInfo = new javax.swing.JPanel();
    plInfoCommon = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    jLabel3 = new javax.swing.JLabel();
    jLabel4 = new javax.swing.JLabel();
    jLabel5 = new javax.swing.JLabel();
    jLabel6 = new javax.swing.JLabel();
    tfTimeAll = new javax.swing.JTextField();
    tfDownloaded = new javax.swing.JTextField();
    tfSpeedDn = new javax.swing.JTextField();
    tfState = new javax.swing.JTextField();
    tfComment = new javax.swing.JTextField();
    jLabel10 = new javax.swing.JLabel();
    jLabel8 = new javax.swing.JLabel();
    jLabel7 = new javax.swing.JLabel();
    jLabel9 = new javax.swing.JLabel();
    tfTimeAll1 = new javax.swing.JTextField();
    tfUploaded = new javax.swing.JTextField();
    tfSpeedDn1 = new javax.swing.JTextField();
    tfStartedAt = new javax.swing.JTextField();
    jLabel14 = new javax.swing.JLabel();
    jLabel12 = new javax.swing.JLabel();
    jLabel11 = new javax.swing.JLabel();
    lbErrorInfo = new javax.swing.JLabel();
    tfSeeds = new javax.swing.JTextField();
    tfLeechers = new javax.swing.JTextField();
    tfRate = new javax.swing.JTextField();
    tfCreatedAt = new javax.swing.JTextField();
    jLabel16 = new javax.swing.JLabel();
    tfStorePath = new javax.swing.JTextField();
    jLabel17 = new javax.swing.JLabel();
    tfSpeedDn3 = new javax.swing.JTextField();
    jLabel18 = new javax.swing.JLabel();
    tfSpeedUp = new javax.swing.JTextField();
    jLabel19 = new javax.swing.JLabel();
    tfCreator = new javax.swing.JTextField();
    tfErrorInfo = new javax.swing.JTextField();
    jLabel15 = new javax.swing.JLabel();
    jPanel9 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    plPieces = new javax.swing.JPanel();
    lbProgress = new javax.swing.JLabel();
    plFiles = new javax.swing.JPanel();
    jScrollPane3 = new javax.swing.JScrollPane();
    tblTorrentFiles = new javax.swing.JTable();
    plPeers = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    tblTorrentPeers = new javax.swing.JTable();
    plTrackers = new javax.swing.JPanel();
    plSpeed = new javax.swing.JPanel();
    menuBar = new javax.swing.JMenuBar();
    javax.swing.JMenu fileMenu = new javax.swing.JMenu();
    miFileConnect = new javax.swing.JMenuItem();
    jSeparator3 = new javax.swing.JSeparator();
    miFileQuickAddFile = new javax.swing.JMenuItem();
    miFileExtAddFile = new javax.swing.JMenuItem();
    miFileInfo = new javax.swing.JMenuItem();
    miFileAddURL = new javax.swing.JMenuItem();
    jSeparator2 = new javax.swing.JSeparator();
    javax.swing.JMenuItem miFileExit = new javax.swing.JMenuItem();
    configMenu = new javax.swing.JMenu();
    miConfigClient = new javax.swing.JMenuItem();
    miConfigServer = new javax.swing.JMenuItem();
    jSeparator1 = new javax.swing.JSeparator();
    mnConfigLocale = new javax.swing.JMenu();
    torrentMenu = new javax.swing.JMenu();
    miTorrentStart = new javax.swing.JMenuItem();
    miTorrentStop = new javax.swing.JMenuItem();
    miTorrentRefresh = new javax.swing.JMenuItem();
    miTorrentCheck = new javax.swing.JMenuItem();
    miTorrentProperties = new javax.swing.JMenuItem();
    miTorrentDelete = new javax.swing.JMenuItem();
    miTorrentDeleteAll = new javax.swing.JMenuItem();
    miTorrentAnnounce = new javax.swing.JMenuItem();
    miTorrentMove = new javax.swing.JMenuItem();
    miTorrentLocation = new javax.swing.JMenuItem();
    jSeparator4 = new javax.swing.JSeparator();
    miTorrentStartAll = new javax.swing.JMenuItem();
    miTorrentStopAll = new javax.swing.JMenuItem();
    javax.swing.JMenu helpMenu = new javax.swing.JMenu();
    javax.swing.JMenuItem miHelpAbout = new javax.swing.JMenuItem();
    statusPanel = new javax.swing.JPanel();
    javax.swing.JSeparator statusPanelSeparator = new javax.swing.JSeparator();
    statusMessageLabel = new javax.swing.JLabel();
    statusAnimationLabel = new javax.swing.JLabel();
    progressBar = new javax.swing.JProgressBar();
    maiToolBar = new javax.swing.JToolBar();
    btConnect = new javax.swing.JButton();
    jSeparator5 = new javax.swing.JToolBar.Separator();
    btAdd = new javax.swing.JButton();
    btAddUrl = new javax.swing.JButton();
    jSeparator8 = new javax.swing.JToolBar.Separator();
    btStart = new javax.swing.JButton();
    btStop = new javax.swing.JButton();
    btRefresh = new javax.swing.JButton();
    jSeparator9 = new javax.swing.JToolBar.Separator();
    btStatistic = new javax.swing.JButton();
    jSeparator6 = new javax.swing.JToolBar.Separator();
    btConfigCli = new javax.swing.JButton();
    jSeparator7 = new javax.swing.JToolBar.Separator();
    btExit = new javax.swing.JButton();

    mainPanel.setName("mainPanel"); // NOI18N
    mainPanel.setLayout(new java.awt.BorderLayout());

    spMain.setDividerLocation(250);
    spMain.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
    spMain.setResizeWeight(1.0);
    spMain.setName("spMain"); // NOI18N

    jPanel1.setMinimumSize(new java.awt.Dimension(21, 200));
    jPanel1.setName("jPanel1"); // NOI18N
    jPanel1.setLayout(new java.awt.BorderLayout());

    jPanel10.setName("jPanel10"); // NOI18N
    jPanel10.setPreferredSize(new java.awt.Dimension(680, 24));

    org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application
            .getInstance(net.sf.dvstar.transmission.TransmissionApp.class).getContext()
            .getResourceMap(TransmissionView.class);
    lbFind.setIcon(resourceMap.getIcon("lbFind.icon")); // NOI18N
    lbFind.setText(resourceMap.getString("lbFind.text")); // NOI18N
    lbFind.setName("lbFind"); // NOI18N

    tfFindItem.setText(null);
    tfFindItem.setName("tfFindItem"); // NOI18N

    lbFindInfo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    lbFindInfo.setText(resourceMap.getString("lbFindInfo.text")); // NOI18N
    lbFindInfo.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    lbFindInfo.setName("lbFindInfo"); // NOI18N

    cbFilterStatus.setModel(new javax.swing.DefaultComboBoxModel(
            new String[] { "All", "Downloading", "Paused", "Seeding", "Checking", "Error" }));
    cbFilterStatus.setName("cbFilterStatus"); // NOI18N
    cbFilterStatus.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            cbFilterStatusActionPerformed(evt);
        }
    });

    javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
    jPanel10.setLayout(jPanel10Layout);
    jPanel10Layout.setHorizontalGroup(jPanel10Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup().addContainerGap().addComponent(lbFind)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(tfFindItem, javax.swing.GroupLayout.DEFAULT_SIZE, 531, Short.MAX_VALUE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(lbFindInfo, javax.swing.GroupLayout.PREFERRED_SIZE, 85,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(cbFilterStatus, javax.swing.GroupLayout.PREFERRED_SIZE, 91,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));
    jPanel10Layout.setVerticalGroup(jPanel10Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                    .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(tfFindItem, javax.swing.GroupLayout.PREFERRED_SIZE, 20,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lbFind).addComponent(lbFindInfo).addComponent(cbFilterStatus,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    jPanel1.add(jPanel10, java.awt.BorderLayout.NORTH);

    jPanel11.setName("jPanel11"); // NOI18N
    jPanel11.setLayout(new java.awt.BorderLayout());

    spTorrentList.setName("spTorrentList"); // NOI18N
    spTorrentList.setPreferredSize(new java.awt.Dimension(454, 200));

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

    }, new String[] { "", "Name", "Size", "Progress", "Status", "Seed", "Leech", "Dn Speed", "Up Speed",
            "Upload" }) {
        Class[] types = new Class[] { java.lang.Integer.class, java.lang.Object.class, java.lang.Object.class,
                java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class,
                java.lang.Object.class, java.lang.Object.class, java.lang.Object.class };
        boolean[] canEdit = new boolean[] { 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];
        }
    });
    tblTorrentList.setColumnSelectionAllowed(true);
    tblTorrentList.setName("tblTorrentList"); // NOI18N
    tblTorrentList.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    tblTorrentList.getTableHeader().setReorderingAllowed(false);
    spTorrentList.setViewportView(tblTorrentList);
    tblTorrentList.getColumnModel().getSelectionModel()
            .setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    tblTorrentList.getColumnModel().getColumn(0)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title0")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(1)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title1")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(2)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title2")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(3)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title3")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(4)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title4")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(5)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title5")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(6)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title6")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(7)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title7")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(8)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title8")); // NOI18N
    tblTorrentList.getColumnModel().getColumn(9)
            .setHeaderValue(resourceMap.getString("tblTorrentList.columnModel.title9")); // NOI18N

    jPanel11.add(spTorrentList, java.awt.BorderLayout.CENTER);

    jPanel1.add(jPanel11, java.awt.BorderLayout.CENTER);

    jPanel3.setName("jPanel3"); // NOI18N
    jPanel3.setPreferredSize(new java.awt.Dimension(981, 26));
    jPanel3.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT, 4, 2));

    btFirst.setIcon(resourceMap.getIcon("btFirst.icon")); // NOI18N
    btFirst.setText(resourceMap.getString("btFirst.text")); // NOI18N
    btFirst.setName("btFirst"); // NOI18N
    btFirst.setPreferredSize(new java.awt.Dimension(22, 22));
    btFirst.addActionListener(new NavigatorButtonActionListener(NavigatorButtonActionListener.NAV_BUTTON_FIRS));
    jPanel3.add(btFirst);

    btPrev.setIcon(resourceMap.getIcon("btPrev.icon")); // NOI18N
    btPrev.setName("btPrev"); // NOI18N
    btPrev.setPreferredSize(new java.awt.Dimension(22, 22));
    btPrev.addActionListener(new NavigatorButtonActionListener(NavigatorButtonActionListener.NAV_BUTTON_PREV));
    jPanel3.add(btPrev);

    tfCurrentRow.setColumns(6);
    tfCurrentRow.setText(resourceMap.getString("tfCurrentRow.text")); // NOI18N
    tfCurrentRow.setName("tfCurrentRow"); // NOI18N
    jPanel3.add(tfCurrentRow);

    btNext.setIcon(resourceMap.getIcon("btNext.icon")); // NOI18N
    btNext.setName("btNext"); // NOI18N
    btNext.setPreferredSize(new java.awt.Dimension(22, 22));
    btNext.addActionListener(new NavigatorButtonActionListener(NavigatorButtonActionListener.NAV_BUTTON_NEXT));
    jPanel3.add(btNext);

    btLast.setIcon(resourceMap.getIcon("btLast.icon")); // NOI18N
    btLast.setName("btLast"); // NOI18N
    btLast.setPreferredSize(new java.awt.Dimension(22, 22));
    btLast.addActionListener(new NavigatorButtonActionListener(NavigatorButtonActionListener.NAV_BUTTON_LAST));
    jPanel3.add(btLast);

    jPanel1.add(jPanel3, java.awt.BorderLayout.SOUTH);

    spMain.setLeftComponent(jPanel1);

    jPanel2.setName("jPanel2"); // NOI18N
    jPanel2.setPreferredSize(new java.awt.Dimension(590, 80));
    jPanel2.setLayout(new java.awt.BorderLayout());

    jTabbedPane1.setTabPlacement(javax.swing.JTabbedPane.BOTTOM);
    jTabbedPane1.setName("jTabbedPane1"); // NOI18N

    plInfo.setName("plInfo"); // NOI18N
    plInfo.setLayout(new java.awt.BorderLayout());

    plInfoCommon.setBorder(javax.swing.BorderFactory.createTitledBorder("..."));
    plInfoCommon.setMinimumSize(new java.awt.Dimension(661, 162));
    plInfoCommon.setName("plInfoCommon"); // NOI18N
    plInfoCommon.setPreferredSize(new java.awt.Dimension(661, 162));
    plInfoCommon.setLayout(new java.awt.GridBagLayout());

    jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
    jLabel2.setName("jLabel2"); // NOI18N
    jLabel2.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel2, gridBagConstraints);

    jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
    jLabel3.setName("jLabel3"); // NOI18N
    jLabel3.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel3, gridBagConstraints);

    jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
    jLabel4.setName("jLabel4"); // NOI18N
    jLabel4.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel4, gridBagConstraints);

    jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
    jLabel5.setName("jLabel5"); // NOI18N
    jLabel5.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel5, gridBagConstraints);

    jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
    jLabel6.setName("jLabel6"); // NOI18N
    jLabel6.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel6, gridBagConstraints);

    tfTimeAll.setEditable(false);
    tfTimeAll.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfTimeAll.setMinimumSize(new java.awt.Dimension(68, 16));
    tfTimeAll.setName("tfTimeAll"); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfTimeAll, gridBagConstraints);

    tfDownloaded.setEditable(false);
    tfDownloaded.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfDownloaded.setMinimumSize(new java.awt.Dimension(68, 16));
    tfDownloaded.setName("tfDownloaded"); // NOI18N
    tfDownloaded.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfDownloaded, gridBagConstraints);

    tfSpeedDn.setEditable(false);
    tfSpeedDn.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfSpeedDn.setMinimumSize(new java.awt.Dimension(68, 16));
    tfSpeedDn.setName("tfSpeedDn"); // NOI18N
    tfSpeedDn.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfSpeedDn, gridBagConstraints);

    tfState.setEditable(false);
    tfState.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfState.setMinimumSize(new java.awt.Dimension(68, 16));
    tfState.setName("tfState"); // NOI18N
    tfState.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfState, gridBagConstraints);

    tfComment.setEditable(false);
    tfComment.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfComment.setName("tfComment"); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 3.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfComment, gridBagConstraints);

    jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
    jLabel10.setName("jLabel10"); // NOI18N
    jLabel10.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel10, gridBagConstraints);

    jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
    jLabel8.setName("jLabel8"); // NOI18N
    jLabel8.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel8, gridBagConstraints);

    jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
    jLabel7.setName("jLabel7"); // NOI18N
    jLabel7.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel7, gridBagConstraints);

    jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
    jLabel9.setName("jLabel9"); // NOI18N
    jLabel9.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel9, gridBagConstraints);

    tfTimeAll1.setEditable(false);
    tfTimeAll1.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfTimeAll1.setMaximumSize(new java.awt.Dimension(68, 16));
    tfTimeAll1.setMinimumSize(new java.awt.Dimension(68, 16));
    tfTimeAll1.setName("tfTimeAll1"); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfTimeAll1, gridBagConstraints);

    tfUploaded.setEditable(false);
    tfUploaded.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfUploaded.setMinimumSize(new java.awt.Dimension(68, 16));
    tfUploaded.setName("tfUploaded"); // NOI18N
    tfUploaded.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfUploaded, gridBagConstraints);

    tfSpeedDn1.setEditable(false);
    tfSpeedDn1.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfSpeedDn1.setMinimumSize(new java.awt.Dimension(68, 16));
    tfSpeedDn1.setName("tfSpeedDn1"); // NOI18N
    tfSpeedDn1.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfSpeedDn1, gridBagConstraints);

    tfStartedAt.setEditable(false);
    tfStartedAt.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfStartedAt.setMinimumSize(new java.awt.Dimension(68, 16));
    tfStartedAt.setName("tfStartedAt"); // NOI18N
    tfStartedAt.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfStartedAt, gridBagConstraints);

    jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
    jLabel14.setName("jLabel14"); // NOI18N
    jLabel14.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 4;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel14, gridBagConstraints);

    jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N
    jLabel12.setName("jLabel12"); // NOI18N
    jLabel12.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 4;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel12, gridBagConstraints);

    jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
    jLabel11.setName("jLabel11"); // NOI18N
    jLabel11.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 4;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel11, gridBagConstraints);

    lbErrorInfo.setForeground(resourceMap.getColor("tfErrorInfo.foreground")); // NOI18N
    lbErrorInfo.setText(resourceMap.getString("lbErrorInfo.text")); // NOI18N
    lbErrorInfo.setName("lbErrorInfo"); // NOI18N
    lbErrorInfo.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 4;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(lbErrorInfo, gridBagConstraints);

    tfSeeds.setEditable(false);
    tfSeeds.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfSeeds.setMinimumSize(new java.awt.Dimension(68, 16));
    tfSeeds.setName("tfSeeds"); // NOI18N
    tfSeeds.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 5;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfSeeds, gridBagConstraints);

    tfLeechers.setEditable(false);
    tfLeechers.setText(resourceMap.getString("tfLeechers.text")); // NOI18N
    tfLeechers.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfLeechers.setMinimumSize(new java.awt.Dimension(68, 16));
    tfLeechers.setName("tfLeechers"); // NOI18N
    tfLeechers.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 5;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfLeechers, gridBagConstraints);

    tfRate.setEditable(false);
    tfRate.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfRate.setMinimumSize(new java.awt.Dimension(68, 16));
    tfRate.setName("tfRate"); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 5;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfRate, gridBagConstraints);

    tfCreatedAt.setEditable(false);
    tfCreatedAt.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfTimeAll.border.lineColor"))); // NOI18N
    tfCreatedAt.setMinimumSize(new java.awt.Dimension(68, 16));
    tfCreatedAt.setName("tfCreatedAt"); // NOI18N
    tfCreatedAt.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 5;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfCreatedAt, gridBagConstraints);

    jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
    jLabel16.setName("jLabel16"); // NOI18N
    jLabel16.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel16, gridBagConstraints);

    tfStorePath.setEditable(false);
    tfStorePath.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfStorePath.border.lineColor"))); // NOI18N
    tfStorePath.setName("tfStorePath"); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 3.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfStorePath, gridBagConstraints);

    jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
    jLabel17.setName("jLabel17"); // NOI18N
    jLabel17.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel17, gridBagConstraints);

    tfSpeedDn3.setEditable(false);
    tfSpeedDn3.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfSpeedDn3.border.lineColor"))); // NOI18N
    tfSpeedDn3.setMinimumSize(new java.awt.Dimension(68, 16));
    tfSpeedDn3.setName("tfSpeedDn3"); // NOI18N
    tfSpeedDn3.setPreferredSize(new java.awt.Dimension(68, 16));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfSpeedDn3, gridBagConstraints);

    jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
    jLabel18.setName("jLabel18"); // NOI18N
    jLabel18.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel18, gridBagConstraints);

    tfSpeedUp.setEditable(false);
    tfSpeedUp.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfSpeedUp.border.lineColor"))); // NOI18N
    tfSpeedUp.setMaximumSize(new java.awt.Dimension(68, 16));
    tfSpeedUp.setMinimumSize(new java.awt.Dimension(68, 16));
    tfSpeedUp.setName("tfSpeedUp"); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfSpeedUp, gridBagConstraints);

    jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
    jLabel19.setName("jLabel19"); // NOI18N
    jLabel19.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 4;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel19, gridBagConstraints);

    tfCreator.setEditable(false);
    tfCreator.setBorder(
            javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tfCreator.border.lineColor"))); // NOI18N
    tfCreator.setMinimumSize(new java.awt.Dimension(68, 16));
    tfCreator.setName("tfCreator"); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 5;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 30;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfCreator, gridBagConstraints);

    tfErrorInfo.setEditable(false);
    tfErrorInfo.setForeground(resourceMap.getColor("tfErrorInfo.foreground")); // NOI18N
    tfErrorInfo.setText(null);
    tfErrorInfo.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
    tfErrorInfo.setName("tfErrorInfo"); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 5;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    plInfoCommon.add(tfErrorInfo, gridBagConstraints);

    jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
    jLabel15.setName("jLabel15"); // NOI18N
    jLabel15.setPreferredSize(new java.awt.Dimension(72, 15));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 4;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.ipadx = 20;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 2);
    plInfoCommon.add(jLabel15, gridBagConstraints);

    plInfo.add(plInfoCommon, java.awt.BorderLayout.CENTER);

    jPanel9.setName("jPanel9"); // NOI18N
    jPanel9.setPreferredSize(new java.awt.Dimension(644, 56));

    jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
    jLabel1.setName("jLabel1"); // NOI18N

    plPieces.setBackground(resourceMap.getColor("plPieces.background")); // NOI18N
    plPieces.setName("plPieces"); // NOI18N
    plPieces.setLayout(new java.awt.BorderLayout());

    lbProgress.setText(resourceMap.getString("lbProgress.text")); // NOI18N
    lbProgress.setName("lbProgress"); // NOI18N

    javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
    jPanel9.setLayout(jPanel9Layout);
    jPanel9Layout
            .setHorizontalGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel9Layout.createSequentialGroup().addContainerGap().addComponent(jLabel1)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(plPieces, javax.swing.GroupLayout.DEFAULT_SIZE, 667, Short.MAX_VALUE)
                            .addGap(18, 18, 18).addComponent(lbProgress).addContainerGap()));
    jPanel9Layout.setVerticalGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup().addGroup(jPanel9Layout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel9Layout.createSequentialGroup().addGap(24, 24, 24).addComponent(jLabel1))
                    .addGroup(jPanel9Layout.createSequentialGroup().addGap(25, 25, 25).addComponent(lbProgress))
                    .addGroup(jPanel9Layout.createSequentialGroup().addContainerGap().addComponent(plPieces,
                            javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE)))
                    .addContainerGap()));

    lbProgress.getAccessibleContext()
            .setAccessibleName(resourceMap.getString("lbProgress.AccessibleContext.accessibleName")); // NOI18N

    plInfo.add(jPanel9, java.awt.BorderLayout.NORTH);

    jTabbedPane1.addTab(resourceMap.getString("plInfo.TabConstraints.tabTitle"), plInfo); // NOI18N

    plFiles.setName("plFiles"); // NOI18N
    plFiles.setLayout(new java.awt.BorderLayout());

    jScrollPane3.setName("jScrollPane3"); // NOI18N

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

    }, new String[] { "Path", "Type", "Complete", "Done", "Size" }) {
        boolean[] canEdit = new boolean[] { false, false, false, false, false };

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    tblTorrentFiles.setName("tblTorrentFiles"); // NOI18N
    tblTorrentFiles.getTableHeader().setReorderingAllowed(false);
    jScrollPane3.setViewportView(tblTorrentFiles);
    tblTorrentFiles.getColumnModel().getColumn(0)
            .setHeaderValue(resourceMap.getString("tblTorrentFiles.columnModel.title0")); // NOI18N
    tblTorrentFiles.getColumnModel().getColumn(1)
            .setHeaderValue(resourceMap.getString("tblTorrentFiles.columnModel.title1")); // NOI18N
    tblTorrentFiles.getColumnModel().getColumn(2)
            .setHeaderValue(resourceMap.getString("tblTorrentFiles.columnModel.title2")); // NOI18N
    tblTorrentFiles.getColumnModel().getColumn(3)
            .setHeaderValue(resourceMap.getString("tblTorrentFiles.columnModel.title3")); // NOI18N
    tblTorrentFiles.getColumnModel().getColumn(4)
            .setHeaderValue(resourceMap.getString("tblTorrentFiles.columnModel.title4")); // NOI18N

    plFiles.add(jScrollPane3, java.awt.BorderLayout.CENTER);

    jTabbedPane1.addTab(resourceMap.getString("plFiles.TabConstraints.tabTitle"), plFiles); // NOI18N

    plPeers.setName("plPeers"); // NOI18N
    plPeers.setLayout(new java.awt.BorderLayout());

    jScrollPane2.setName("jScrollPane2"); // NOI18N

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

    }, new String[] { "IP", "Country", "Flags", "Client", "Port", "Progress", "Dn rate", "Up rate" }) {
        boolean[] canEdit = new boolean[] { false, false, false, false, false, false, false, false };

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    tblTorrentPeers.setName("tblTorrentPeers"); // NOI18N
    tblTorrentPeers.getTableHeader().setReorderingAllowed(false);
    jScrollPane2.setViewportView(tblTorrentPeers);
    tblTorrentPeers.getColumnModel().getColumn(0)
            .setHeaderValue(resourceMap.getString("tblTorrentPeers.columnModel.title0")); // NOI18N
    tblTorrentPeers.getColumnModel().getColumn(1)
            .setHeaderValue(resourceMap.getString("tblTorrentPeers.columnModel.title1")); // NOI18N
    tblTorrentPeers.getColumnModel().getColumn(2)
            .setHeaderValue(resourceMap.getString("tblTorrentPeers.columnModel.title2")); // NOI18N
    tblTorrentPeers.getColumnModel().getColumn(3)
            .setHeaderValue(resourceMap.getString("tblTorrentPeers.columnModel.title3")); // NOI18N
    tblTorrentPeers.getColumnModel().getColumn(4)
            .setHeaderValue(resourceMap.getString("tblTorrentPeers.columnModel.title4")); // NOI18N
    tblTorrentPeers.getColumnModel().getColumn(5)
            .setHeaderValue(resourceMap.getString("tblTorrentPeers.columnModel.title5")); // NOI18N
    tblTorrentPeers.getColumnModel().getColumn(6)
            .setHeaderValue(resourceMap.getString("tblTorrentPeers.columnModel.title6")); // NOI18N
    tblTorrentPeers.getColumnModel().getColumn(7)
            .setHeaderValue(resourceMap.getString("tblTorrentPeers.columnModel.title7")); // NOI18N

    plPeers.add(jScrollPane2, java.awt.BorderLayout.CENTER);

    jTabbedPane1.addTab(resourceMap.getString("plPeers.TabConstraints.tabTitle"), plPeers); // NOI18N

    plTrackers.setName("plTrackers"); // NOI18N

    javax.swing.GroupLayout plTrackersLayout = new javax.swing.GroupLayout(plTrackers);
    plTrackers.setLayout(plTrackersLayout);
    plTrackersLayout.setHorizontalGroup(plTrackersLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 822, Short.MAX_VALUE));
    plTrackersLayout.setVerticalGroup(plTrackersLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 233, Short.MAX_VALUE));

    jTabbedPane1.addTab(resourceMap.getString("plTrackers.TabConstraints.tabTitle"), plTrackers); // NOI18N

    plSpeed.setName("plSpeed"); // NOI18N

    javax.swing.GroupLayout plSpeedLayout = new javax.swing.GroupLayout(plSpeed);
    plSpeed.setLayout(plSpeedLayout);
    plSpeedLayout.setHorizontalGroup(plSpeedLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 822, Short.MAX_VALUE));
    plSpeedLayout.setVerticalGroup(plSpeedLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 233, Short.MAX_VALUE));

    jTabbedPane1.addTab(resourceMap.getString("plSpeed.TabConstraints.tabTitle"), plSpeed); // NOI18N

    jPanel2.add(jTabbedPane1, java.awt.BorderLayout.CENTER);

    spMain.setRightComponent(jPanel2);

    mainPanel.add(spMain, java.awt.BorderLayout.CENTER);

    menuBar.setName("menuBar"); // NOI18N

    fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N
    fileMenu.setName("fileMenu"); // NOI18N

    javax.swing.ActionMap actionMap = org.jdesktop.application.Application
            .getInstance(net.sf.dvstar.transmission.TransmissionApp.class).getContext()
            .getActionMap(TransmissionView.class, this);
    miFileConnect.setAction(actionMap.get("doConnect")); // NOI18N
    miFileConnect.setIcon(resourceMap.getIcon("miFileConnect.icon")); // NOI18N
    miFileConnect.setText(resourceMap.getString("miFileConnect.text")); // NOI18N
    miFileConnect.setName("miFileConnect"); // NOI18N
    fileMenu.add(miFileConnect);

    jSeparator3.setName("jSeparator3"); // NOI18N
    fileMenu.add(jSeparator3);

    miFileQuickAddFile.setAction(actionMap.get("doAddTorrentQuick")); // NOI18N
    miFileQuickAddFile.setIcon(resourceMap.getIcon("miFileQuickAddFile.icon")); // NOI18N
    miFileQuickAddFile.setText(resourceMap.getString("miFileQuickAddFile.text")); // NOI18N
    miFileQuickAddFile.setName("miFileQuickAddFile"); // NOI18N
    fileMenu.add(miFileQuickAddFile);

    miFileExtAddFile.setAction(actionMap.get("doAddTorrentExt")); // NOI18N
    miFileExtAddFile.setIcon(resourceMap.getIcon("miFileExtAddFile.icon")); // NOI18N
    miFileExtAddFile.setText(resourceMap.getString("miFileExtAddFile.text")); // NOI18N
    miFileExtAddFile.setName("miFileExtAddFile"); // NOI18N
    fileMenu.add(miFileExtAddFile);

    miFileInfo.setAction(actionMap.get("doTorrentInfo")); // NOI18N
    miFileInfo.setIcon(resourceMap.getIcon("miFileInfo.icon")); // NOI18N
    miFileInfo.setText(resourceMap.getString("miFileInfo.text")); // NOI18N
    miFileInfo.setName("miFileInfo"); // NOI18N
    fileMenu.add(miFileInfo);

    miFileAddURL.setIcon(resourceMap.getIcon("miFileAddURL.icon")); // NOI18N
    miFileAddURL.setText(resourceMap.getString("miFileAddURL.text")); // NOI18N
    miFileAddURL.setName("miFileAddURL"); // NOI18N
    fileMenu.add(miFileAddURL);

    jSeparator2.setName("jSeparator2"); // NOI18N
    fileMenu.add(jSeparator2);

    miFileExit.setAction(actionMap.get("doQuit")); // NOI18N
    miFileExit.setIcon(resourceMap.getIcon("miFileExit.icon")); // NOI18N
    miFileExit.setName("miFileExit"); // NOI18N
    fileMenu.add(miFileExit);

    menuBar.add(fileMenu);

    configMenu.setText(resourceMap.getString("configMenu.text")); // NOI18N
    configMenu.setName("configMenu"); // NOI18N

    miConfigClient.setAction(actionMap.get("doConfigClient")); // NOI18N
    miConfigClient.setIcon(resourceMap.getIcon("miConfigClient.icon")); // NOI18N
    miConfigClient.setText(resourceMap.getString("miConfigClient.text")); // NOI18N
    miConfigClient.setName("miConfigClient"); // NOI18N
    configMenu.add(miConfigClient);

    miConfigServer.setAction(actionMap.get("doConfigServer")); // NOI18N
    miConfigServer.setIcon(resourceMap.getIcon("miConfigServer.icon")); // NOI18N
    miConfigServer.setText(resourceMap.getString("miConfigServer.text")); // NOI18N
    miConfigServer.setName("miConfigServer"); // NOI18N
    configMenu.add(miConfigServer);

    jSeparator1.setName("jSeparator1"); // NOI18N
    configMenu.add(jSeparator1);

    mnConfigLocale.setIcon(resourceMap.getIcon("mnConfigLocale.icon")); // NOI18N
    mnConfigLocale.setText(resourceMap.getString("mnConfigLocale.text")); // NOI18N
    mnConfigLocale.setName("mnConfigLocale"); // NOI18N
    configMenu.add(mnConfigLocale);

    menuBar.add(configMenu);

    torrentMenu.setAction(actionMap.get("doMoveTorrent")); // NOI18N
    torrentMenu.setText(resourceMap.getString("torrentMenu.text")); // NOI18N
    torrentMenu.setName("torrentMenu"); // NOI18N

    miTorrentStart.setAction(actionMap.get("doStartTorrent")); // NOI18N
    miTorrentStart.setIcon(resourceMap.getIcon("miTorrentStart.icon")); // NOI18N
    miTorrentStart.setText(resourceMap.getString("miTorrentStart.text")); // NOI18N
    miTorrentStart.setName("miTorrentStart"); // NOI18N
    torrentMenu.add(miTorrentStart);

    miTorrentStop.setAction(actionMap.get("doPauseTorrent")); // NOI18N
    miTorrentStop.setIcon(resourceMap.getIcon("miTorrentStop.icon")); // NOI18N
    miTorrentStop.setText(resourceMap.getString("miTorrentStop.text")); // NOI18N
    miTorrentStop.setName("miTorrentStop"); // NOI18N
    torrentMenu.add(miTorrentStop);

    miTorrentRefresh.setAction(actionMap.get("doRefresh")); // NOI18N
    miTorrentRefresh.setIcon(resourceMap.getIcon("miTorrentRefresh.icon")); // NOI18N
    miTorrentRefresh.setText(resourceMap.getString("miTorrentRefresh.text")); // NOI18N
    miTorrentRefresh.setName("miTorrentRefresh"); // NOI18N
    torrentMenu.add(miTorrentRefresh);

    miTorrentCheck.setIcon(resourceMap.getIcon("miTorrentCheck.icon")); // NOI18N
    miTorrentCheck.setText(resourceMap.getString("miTorrentCheck.text")); // NOI18N
    miTorrentCheck.setName("miTorrentCheck"); // NOI18N
    torrentMenu.add(miTorrentCheck);

    miTorrentProperties.setIcon(resourceMap.getIcon("miTorrentProperties.icon")); // NOI18N
    miTorrentProperties.setText(resourceMap.getString("miTorrentProperties.text")); // NOI18N
    miTorrentProperties.setName("miTorrentProperties"); // NOI18N
    torrentMenu.add(miTorrentProperties);

    miTorrentDelete.setIcon(resourceMap.getIcon("miTorrentDelete.icon")); // NOI18N
    miTorrentDelete.setText(resourceMap.getString("miTorrentDelete.text")); // NOI18N
    miTorrentDelete.setName("miTorrentDelete"); // NOI18N
    torrentMenu.add(miTorrentDelete);

    miTorrentDeleteAll.setIcon(resourceMap.getIcon("miTorrentDeleteAll.icon")); // NOI18N
    miTorrentDeleteAll.setText(resourceMap.getString("miTorrentDeleteAll.text")); // NOI18N
    miTorrentDeleteAll.setName("miTorrentDeleteAll"); // NOI18N
    torrentMenu.add(miTorrentDeleteAll);

    miTorrentAnnounce.setIcon(resourceMap.getIcon("miTorrentAnnounce.icon")); // NOI18N
    miTorrentAnnounce.setText(resourceMap.getString("miTorrentAnnounce.text")); // NOI18N
    miTorrentAnnounce.setName("miTorrentAnnounce"); // NOI18N
    torrentMenu.add(miTorrentAnnounce);

    miTorrentMove.setAction(actionMap.get("doMoveTorrent")); // NOI18N
    miTorrentMove.setIcon(resourceMap.getIcon("miTorrentMove.icon")); // NOI18N
    miTorrentMove.setText(resourceMap.getString("miTorrentMove.text")); // NOI18N
    miTorrentMove.setName("miTorrentMove"); // NOI18N
    torrentMenu.add(miTorrentMove);

    miTorrentLocation.setIcon(resourceMap.getIcon("miTorrentLocation.icon")); // NOI18N
    miTorrentLocation.setText(resourceMap.getString("miTorrentLocation.text")); // NOI18N
    miTorrentLocation.setName("miTorrentLocation"); // NOI18N
    torrentMenu.add(miTorrentLocation);

    jSeparator4.setName("jSeparator4"); // NOI18N
    torrentMenu.add(jSeparator4);

    miTorrentStartAll.setIcon(resourceMap.getIcon("miTorrentStartAll.icon")); // NOI18N
    miTorrentStartAll.setText(resourceMap.getString("miTorrentStartAll.text")); // NOI18N
    miTorrentStartAll.setName("miTorrentStartAll"); // NOI18N
    torrentMenu.add(miTorrentStartAll);

    miTorrentStopAll.setIcon(resourceMap.getIcon("miTorrentStopAll.icon")); // NOI18N
    miTorrentStopAll.setText(resourceMap.getString("miTorrentStopAll.text")); // NOI18N
    miTorrentStopAll.setName("miTorrentStopAll"); // NOI18N
    torrentMenu.add(miTorrentStopAll);

    menuBar.add(torrentMenu);

    helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N
    helpMenu.setName("helpMenu"); // NOI18N

    miHelpAbout.setAction(actionMap.get("showAboutBox")); // NOI18N
    miHelpAbout.setIcon(resourceMap.getIcon("miHelpAbout.icon")); // NOI18N
    miHelpAbout.setName("miHelpAbout"); // NOI18N
    helpMenu.add(miHelpAbout);

    menuBar.add(helpMenu);

    statusPanel.setName("statusPanel"); // NOI18N

    statusPanelSeparator.setName("statusPanelSeparator"); // NOI18N

    statusMessageLabel.setName("statusMessageLabel"); // NOI18N

    statusAnimationLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    statusAnimationLabel.setName("statusAnimationLabel"); // NOI18N

    progressBar.setName("progressBar"); // NOI18N

    javax.swing.GroupLayout statusPanelLayout = new javax.swing.GroupLayout(statusPanel);
    statusPanel.setLayout(statusPanelLayout);
    statusPanelLayout.setHorizontalGroup(statusPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(statusPanelSeparator, javax.swing.GroupLayout.DEFAULT_SIZE, 829, Short.MAX_VALUE)
            .addGroup(statusPanelLayout.createSequentialGroup().addContainerGap()
                    .addComponent(statusMessageLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 645, Short.MAX_VALUE)
                    .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(statusAnimationLabel).addContainerGap()));
    statusPanelLayout.setVerticalGroup(statusPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(statusPanelLayout.createSequentialGroup()
                    .addComponent(statusPanelSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 2,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(statusMessageLabel).addComponent(statusAnimationLabel)
                            .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(3, 3, 3)));

    maiToolBar.setRollover(true);
    maiToolBar.setName("maiToolBar"); // NOI18N

    btConnect.setAction(actionMap.get("doConnect")); // NOI18N
    btConnect.setIcon(resourceMap.getIcon("btConnect.icon")); // NOI18N
    btConnect.setFocusable(false);
    btConnect.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btConnect.setMinimumSize(new java.awt.Dimension(0, 0));
    btConnect.setName("btConnect"); // NOI18N
    btConnect.setPreferredSize(new java.awt.Dimension(45, 43));
    btConnect.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btConnect);

    jSeparator5.setName("jSeparator5"); // NOI18N
    jSeparator5.setSeparatorSize(new java.awt.Dimension(5, 40));
    maiToolBar.add(jSeparator5);

    btAdd.setAction(actionMap.get("doAddTorrentExt")); // NOI18N
    btAdd.setIcon(resourceMap.getIcon("btAdd.icon")); // NOI18N
    btAdd.setFocusable(false);
    btAdd.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btAdd.setName("btAdd"); // NOI18N
    btAdd.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btAdd);

    btAddUrl.setAction(actionMap.get("addTorentURL")); // NOI18N
    btAddUrl.setIcon(resourceMap.getIcon("btAddUrl.icon")); // NOI18N
    btAddUrl.setFocusable(false);
    btAddUrl.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btAddUrl.setName("btAddUrl"); // NOI18N
    btAddUrl.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btAddUrl);

    jSeparator8.setName("jSeparator8"); // NOI18N
    jSeparator8.setSeparatorSize(new java.awt.Dimension(5, 40));
    maiToolBar.add(jSeparator8);

    btStart.setAction(actionMap.get("doStartTorrent")); // NOI18N
    btStart.setIcon(resourceMap.getIcon("btStart.icon")); // NOI18N
    btStart.setFocusable(false);
    btStart.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btStart.setName("btStart"); // NOI18N
    btStart.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btStart);

    btStop.setAction(actionMap.get("doPauseTorrent")); // NOI18N
    btStop.setIcon(resourceMap.getIcon("btStop.icon")); // NOI18N
    btStop.setFocusable(false);
    btStop.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btStop.setName("btStop"); // NOI18N
    btStop.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btStop);

    btRefresh.setAction(actionMap.get("doRefresh")); // NOI18N
    btRefresh.setIcon(resourceMap.getIcon("btRefresh.icon")); // NOI18N
    btRefresh.setFocusable(false);
    btRefresh.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btRefresh.setName("btRefresh"); // NOI18N
    btRefresh.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btRefresh);

    jSeparator9.setName("jSeparator9"); // NOI18N
    jSeparator9.setSeparatorSize(new java.awt.Dimension(5, 40));
    maiToolBar.add(jSeparator9);

    btStatistic.setAction(actionMap.get("doStatisticDialog")); // NOI18N
    btStatistic.setIcon(resourceMap.getIcon("btStatistic.icon")); // NOI18N
    btStatistic.setFocusable(false);
    btStatistic.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btStatistic.setName("btStatistic"); // NOI18N
    btStatistic.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btStatistic);

    jSeparator6.setName("jSeparator6"); // NOI18N
    jSeparator6.setSeparatorSize(new java.awt.Dimension(5, 40));
    maiToolBar.add(jSeparator6);

    btConfigCli.setAction(actionMap.get("doConfigClient")); // NOI18N
    btConfigCli.setIcon(resourceMap.getIcon("btConfigCli.icon")); // NOI18N
    btConfigCli.setFocusable(false);
    btConfigCli.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btConfigCli.setName("btConfigCli"); // NOI18N
    btConfigCli.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btConfigCli);

    jSeparator7.setName("jSeparator7"); // NOI18N
    jSeparator7.setSeparatorSize(new java.awt.Dimension(5, 40));
    maiToolBar.add(jSeparator7);

    btExit.setAction(actionMap.get("doQuit")); // NOI18N
    btExit.setIcon(resourceMap.getIcon("btExit.icon")); // NOI18N
    btExit.setText(resourceMap.getString("btExit.text")); // NOI18N
    btExit.setFocusable(false);
    btExit.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    btExit.setName("btExit"); // NOI18N
    btExit.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    maiToolBar.add(btExit);

    setComponent(mainPanel);
    setMenuBar(menuBar);
    setStatusBar(statusPanel);
    setToolBar(maiToolBar);
}

From source file:au.org.ala.delta.intkey.Intkey.java

/**
 * Build the file menu//from w  w w  . j  a v  a2s  . c o m
 * 
 * @param advancedMode
 *            true if the application is in advanced mode
 * @param actionMap
 *            The action map for the main GUI window
 * @return a JMenu for the file menu
 */
private JMenu buildFileMenu(boolean advancedMode, ActionMap actionMap) {
    MenuBuilder mnuFileBuilder = new MenuBuilder("mnuFile", _context);

    // Some menus/menu items should be disabled if no dataset is loaded.
    boolean isDatasetLoaded = _context.getDataset() != null;

    mnuFileBuilder.addDirectiveMenuItem("mnuItNewDataSet", new NewDatasetDirective(), true);
    mnuFileBuilder.addPreconfiguredJMenu(buildRecentFilesMenu());

    if (_advancedMode) {
        mnuFileBuilder.addDirectiveMenuItem("mnuItPreferences", new PreferencesDirective(), true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItContents", new ContentsDirective(), isDatasetLoaded);

        mnuFileBuilder.addSeparator();

        mnuFileBuilder.startSubMenu("mnuFileCmds", true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItFileInput", new FileInputDirective(), true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItFileOutput", new FileOutputDirective(), true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItFileDisplay", new FileDisplayDirective(), true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItFileLog", new FileLogDirective(), true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItFileJournal", new FileJournalDirective(), true);
        // mnuFileBuilder.addDirectiveMenuItem("mnuItFileClose", new
        // FileCloseDirective()); ** File Close is now a NO-OP
        mnuFileBuilder.addDirectiveMenuItem("mnuItFileCharacters", new FileCharactersDirective(), true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItFileTaxa", new FileTaxaDirective(), true);
        mnuFileBuilder.endSubMenu();

        mnuFileBuilder.startSubMenu("mnuOutputCmds", true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItOutputCharacters", new OutputCharactersDirective(),
                isDatasetLoaded);
        mnuFileBuilder.addDirectiveMenuItem("mnuItOutputTaxa", new OutputTaxaDirective(), isDatasetLoaded);
        mnuFileBuilder.addDirectiveMenuItem("mnuItOutputDescribe", new OutputDescribeDirective(),
                isDatasetLoaded);
        mnuFileBuilder.addDirectiveMenuItem("mnuItOutputSummary", new OutputSummaryDirective(),
                isDatasetLoaded);
        mnuFileBuilder.addDirectiveMenuItem("mnuItOutputDiagnose", new OutputDiagnoseDirective(),
                isDatasetLoaded);
        mnuFileBuilder.addDirectiveMenuItem("mnuItOutputDifferences", new OutputDifferencesDirective(),
                isDatasetLoaded);
        mnuFileBuilder.addDirectiveMenuItem("mnuItOutputSimilarities", new OutputSimilaritiesDirective(),
                isDatasetLoaded);
        mnuFileBuilder.addDirectiveMenuItem("mnuItOutputComment", new OutputCommentDirective(),
                isDatasetLoaded);
        mnuFileBuilder.endSubMenu();
        mnuFileBuilder.addSeparator();

        mnuFileBuilder.addDirectiveMenuItem("mnuItComment", new CommentDirective(), true);
        mnuFileBuilder.addDirectiveMenuItem("mnuItShow", new ShowDirective(), true);

        mnuFileBuilder.addSeparator();

        mnuFileBuilder.addActionMenuItem(actionMap.get("mnuItNormalMode"), true);
    } else {
        mnuFileBuilder.addSeparator();
        mnuFileBuilder.addActionMenuItem(actionMap.get("mnuItAdvancedMode"), true);
    }

    if (_advancedMode) {
        mnuFileBuilder.addSeparator();
        mnuFileBuilder.addActionMenuItem(actionMap.get("mnuItEditDataSetIndex"), true);
    }

    mnuFileBuilder.addSeparator();

    mnuFileBuilder.addActionMenuItem(actionMap.get("mnuItExitApplication"), true);

    return mnuFileBuilder.getMenu();
}

From source file:nz.dataview.websyncclientgui.WebSYNCClientGUIView.java

/** This method is called from within the constructor to
 * initialize the form./*from   www. j  a v a 2s.  c  om*/
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    mainPanel = new javax.swing.JPanel();
    mainTabbedPane = new javax.swing.JTabbedPane();
    connectPanel = new javax.swing.JPanel();
    mainConnectLabel = new javax.swing.JLabel();
    connectPanelCurrentStatusLabel = new javax.swing.JLabel();
    connectPanelCurrentStatusOverviewLabel = new javax.swing.JLabel();
    connectSeparator0 = new javax.swing.JSeparator();
    connectPanelTestLabel = new javax.swing.JLabel();
    testConnectionButton = new javax.swing.JButton();
    testConnectionResult = new javax.swing.JLabel();
    progressBar = new javax.swing.JProgressBar();
    jPanel1 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    connectPanelCurrentStatusDetailsLabel = new javax.swing.JLabel();
    configurePanel = new javax.swing.JPanel();
    mainConfigureLabel = new javax.swing.JLabel();
    schoolMOENumberLabel = new javax.swing.JLabel();
    uploadDirLabel = new javax.swing.JLabel();
    knURLLabel = new javax.swing.JLabel();
    authenticationKeyLabel = new javax.swing.JLabel();
    confAuthKeyLabel = new javax.swing.JLabel();
    schoolMOENumberField = new javax.swing.JTextField();
    knURLField = new javax.swing.JTextField();
    configSeparator1 = new javax.swing.JSeparator();
    configSeparator2 = new javax.swing.JSeparator();
    uploadDirField = new javax.swing.JTextField();
    configSeparator3 = new javax.swing.JSeparator();
    configureSaveButton = new javax.swing.JButton();
    configureInfoLabel = new javax.swing.JLabel();
    authenticationKeyField = new javax.swing.JPasswordField();
    confAuthKeyField = new javax.swing.JPasswordField();
    browseUploadDirButton = new javax.swing.JButton();
    useProxyField = new javax.swing.JCheckBox();
    proxyPortLabel = new javax.swing.JLabel();
    proxyPortField = new javax.swing.JTextField();
    proxyHostLabel = new javax.swing.JLabel();
    proxyHostField = new javax.swing.JTextField();
    proxyUserLabel = new javax.swing.JLabel();
    proxyUserField = new javax.swing.JTextField();
    proxyPwLabel = new javax.swing.JLabel();
    proxyPwField = new javax.swing.JPasswordField();
    detectProxyButton = new javax.swing.JButton();
    proxyDetectedLabel = new javax.swing.JLabel();
    advancedPanel = new javax.swing.JPanel();
    mainAdvancedlabel = new javax.swing.JLabel();
    configureSeparator1 = new javax.swing.JSeparator();
    advancedSaveButton = new javax.swing.JButton();
    processUploadNonSchoolHoursButton = new javax.swing.JRadioButton();
    processUploadSchoolHoursButton = new javax.swing.JRadioButton();
    processUploadAlwaysButton = new javax.swing.JRadioButton();
    processUploadLabel = new javax.swing.JLabel();
    failedUploadLabel = new javax.swing.JLabel();
    failedUploadSpinner = new javax.swing.JSpinner();
    failedUploadLabel2 = new javax.swing.JLabel();
    emailTextField = new javax.swing.JTextField();
    emailLabel = new javax.swing.JLabel();
    smtpHostLabel = new javax.swing.JLabel();
    smtpHostTextField = new javax.swing.JTextField();
    smtpUserLabel = new javax.swing.JLabel();
    smtpPasswordLabel = new javax.swing.JLabel();
    smtpUserTextField = new javax.swing.JTextField();
    jSeparator1 = new javax.swing.JSeparator();
    jSeparator2 = new javax.swing.JSeparator();
    smtpPasswordField = new javax.swing.JPasswordField();
    viewLogPanel = new javax.swing.JPanel();
    mainViewLogLabel = new javax.swing.JLabel();
    viewLogScrollPane = new javax.swing.JScrollPane();
    viewLogTextPane = new javax.swing.JTextPane();
    viewLogInfoLabel = new javax.swing.JLabel();
    emailLogsButton = new javax.swing.JButton();
    aboutPanel = new javax.swing.JPanel();
    mainAboutLabel = new javax.swing.JLabel();
    aboutScrollPane = new javax.swing.JScrollPane();
    aboutTextPane = new javax.swing.JTextPane();
    dirFileChooser = new javax.swing.JFileChooser();
    configProcessUploadGroup = new javax.swing.ButtonGroup();

    mainPanel.setName("mainPanel"); // NOI18N

    mainTabbedPane.setName("mainTabbedPane"); // NOI18N
    mainTabbedPane.setPreferredSize(new java.awt.Dimension(492, 643));
    mainTabbedPane.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent evt) {
            mainTabbedPanePropertyChange(evt);
        }
    });

    connectPanel.setName("connectPanel"); // NOI18N

    org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application
            .getInstance(nz.dataview.websyncclientgui.WebSYNCClientGUIApp.class).getContext()
            .getResourceMap(WebSYNCClientGUIView.class);
    mainConnectLabel.setIcon(resourceMap.getIcon("mainConnectLabel.icon")); // NOI18N
    mainConnectLabel.setText(resourceMap.getString("mainConnectLabel.text")); // NOI18N
    mainConnectLabel.setName("mainConnectLabel"); // NOI18N

    connectPanelCurrentStatusLabel.setText(resourceMap.getString("connectPanelCurrentStatusLabel.text")); // NOI18N
    connectPanelCurrentStatusLabel.setName("connectPanelCurrentStatusLabel"); // NOI18N

    connectPanelCurrentStatusOverviewLabel
            .setText(resourceMap.getString("connectPanelCurrentStatusOverviewLabel.text")); // NOI18N
    connectPanelCurrentStatusOverviewLabel.setName("connectPanelCurrentStatusOverviewLabel"); // NOI18N

    connectSeparator0.setName("connectSeparator0"); // NOI18N

    connectPanelTestLabel.setText(resourceMap.getString("connectPanelTestLabel.text")); // NOI18N
    connectPanelTestLabel.setName("connectPanelTestLabel"); // NOI18N

    javax.swing.ActionMap actionMap = org.jdesktop.application.Application
            .getInstance(nz.dataview.websyncclientgui.WebSYNCClientGUIApp.class).getContext()
            .getActionMap(WebSYNCClientGUIView.class, this);
    testConnectionButton.setAction(actionMap.get("testService")); // NOI18N
    testConnectionButton.setText(resourceMap.getString("testConnectionButton.text")); // NOI18N
    testConnectionButton.setToolTipText(resourceMap.getString("testConnectionButton.toolTipText")); // NOI18N
    testConnectionButton.setName("testConnectionButton"); // NOI18N
    testConnectionButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            testConnectionButtonMouseClicked(evt);
        }
    });

    testConnectionResult.setText(resourceMap.getString("testConnectionResult.text")); // NOI18N
    testConnectionResult.setName("testConnectionResult"); // NOI18N

    progressBar.setName("progressBar"); // NOI18N

    jPanel1.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
    jPanel1.setName("jPanel1"); // NOI18N

    jScrollPane1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 10, 0, 0));
    jScrollPane1.setName("jScrollPane1"); // NOI18N

    connectPanelCurrentStatusDetailsLabel
            .setText(resourceMap.getString("connectPanelCurrentStatusDetailsLabel.text")); // NOI18N
    connectPanelCurrentStatusDetailsLabel.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    connectPanelCurrentStatusDetailsLabel.setAutoscrolls(true);
    connectPanelCurrentStatusDetailsLabel.setName("connectPanelCurrentStatusDetailsLabel"); // NOI18N
    jScrollPane1.setViewportView(connectPanelCurrentStatusDetailsLabel);

    org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 562, Short.MAX_VALUE));
    jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 316, Short.MAX_VALUE));

    org.jdesktop.layout.GroupLayout connectPanelLayout = new org.jdesktop.layout.GroupLayout(connectPanel);
    connectPanel.setLayout(connectPanelLayout);
    connectPanelLayout.setHorizontalGroup(connectPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, connectPanelLayout.createSequentialGroup()
                    .add(connectPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel1,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(connectPanelLayout.createSequentialGroup().addContainerGap()
                                    .add(connectPanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(org.jdesktop.layout.GroupLayout.LEADING, mainConnectLabel,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556,
                                                    Short.MAX_VALUE)
                                            .add(org.jdesktop.layout.GroupLayout.LEADING, connectSeparator0,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556,
                                                    Short.MAX_VALUE)
                                            .add(connectPanelLayout.createSequentialGroup()
                                                    .add(connectPanelCurrentStatusLabel,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 406,
                                                            Short.MAX_VALUE)
                                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                    .add(progressBar,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                    connectPanelCurrentStatusOverviewLabel,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 324,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(org.jdesktop.layout.GroupLayout.LEADING,
                                                    connectPanelLayout.createSequentialGroup()
                                                            .add(connectPanelTestLabel)
                                                            .addPreferredGap(
                                                                    org.jdesktop.layout.LayoutStyle.UNRELATED)
                                                            .add(testConnectionButton))
                                            .add(connectPanelLayout.createSequentialGroup()
                                                    .add(testConnectionResult,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 430,
                                                            Short.MAX_VALUE)
                                                    .add(126, 126, 126)))))
                    .addContainerGap()));
    connectPanelLayout.setVerticalGroup(connectPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(connectPanelLayout.createSequentialGroup().addContainerGap().add(mainConnectLabel)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(connectSeparator0, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(connectPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(connectPanelCurrentStatusLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    26, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(progressBar, 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(connectPanelCurrentStatusOverviewLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(connectPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(connectPanelTestLabel).add(testConnectionButton,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(testConnectionResult, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    mainTabbedPane.addTab(resourceMap.getString("connectPanel.TabConstraints.tabTitle"),
            resourceMap.getIcon("connectPanel.TabConstraints.tabIcon"), connectPanel,
            resourceMap.getString("connectPanel.TabConstraints.tabToolTip")); // NOI18N

    configurePanel.setName("configurePanel"); // NOI18N

    mainConfigureLabel.setIcon(resourceMap.getIcon("mainConfigureLabel.icon")); // NOI18N
    mainConfigureLabel.setText(resourceMap.getString("mainConfigureLabel.text")); // NOI18N
    mainConfigureLabel.setName("mainConfigureLabel"); // NOI18N

    schoolMOENumberLabel.setText(resourceMap.getString("schoolMOENumberLabel.text")); // NOI18N
    schoolMOENumberLabel.setToolTipText(resourceMap.getString("schoolMOENumberLabel.toolTipText")); // NOI18N
    schoolMOENumberLabel.setName("schoolMOENumberLabel"); // NOI18N
    schoolMOENumberLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            schoolMOENumberLabelMouseClicked(evt);
        }
    });

    uploadDirLabel.setText(resourceMap.getString("uploadDirLabel.text")); // NOI18N
    uploadDirLabel.setToolTipText(resourceMap.getString("uploadDirLabel.toolTipText")); // NOI18N
    uploadDirLabel.setName("uploadDirLabel"); // NOI18N
    uploadDirLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            uploadDirLabelMouseClicked(evt);
        }
    });

    knURLLabel.setText(resourceMap.getString("knURLLabel.text")); // NOI18N
    knURLLabel.setToolTipText(resourceMap.getString("knURLLabel.toolTipText")); // NOI18N
    knURLLabel.setName("knURLLabel"); // NOI18N
    knURLLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            knURLLabelMouseClicked(evt);
        }
    });

    authenticationKeyLabel.setText(resourceMap.getString("authenticationKeyLabel.text")); // NOI18N
    authenticationKeyLabel.setToolTipText(resourceMap.getString("authenticationKeyLabel.toolTipText")); // NOI18N
    authenticationKeyLabel.setName("authenticationKeyLabel"); // NOI18N
    authenticationKeyLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            authenticationKeyLabelMouseClicked(evt);
        }
    });

    confAuthKeyLabel.setText(resourceMap.getString("confAuthKeyLabel.text")); // NOI18N
    confAuthKeyLabel.setToolTipText(resourceMap.getString("confAuthKeyLabel.toolTipText")); // NOI18N
    confAuthKeyLabel.setName("confAuthKeyLabel"); // NOI18N
    confAuthKeyLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            confAuthKeyLabelMouseClicked(evt);
        }
    });

    schoolMOENumberField.setText(resourceMap.getString("schoolMOENumberField.text")); // NOI18N
    schoolMOENumberField.setToolTipText(resourceMap.getString("schoolMOENumberField.toolTipText")); // NOI18N
    schoolMOENumberField.setName("schoolMOENumberField"); // NOI18N
    schoolMOENumberField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onConfigFieldChanged(evt);
        }
    });

    knURLField.setText(resourceMap.getString("knURLField.text")); // NOI18N
    knURLField.setToolTipText(resourceMap.getString("knURLField.toolTipText")); // NOI18N
    knURLField.setName("knURLField"); // NOI18N
    knURLField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onConfigFieldChanged(evt);
        }
    });

    configSeparator1.setName("configSeparator1"); // NOI18N

    configSeparator2.setName("configSeparator2"); // NOI18N

    uploadDirField.setText(resourceMap.getString("uploadDirField.text")); // NOI18N
    uploadDirField.setToolTipText(resourceMap.getString("uploadDirField.toolTipText")); // NOI18N
    uploadDirField.setName("uploadDirField"); // NOI18N
    uploadDirField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onConfigFieldChanged(evt);
        }
    });

    configSeparator3.setName("configSeparator3"); // NOI18N

    configureSaveButton.setText(resourceMap.getString("configureSaveButton.text")); // NOI18N
    configureSaveButton.setEnabled(false);
    configureSaveButton.setName("configureSaveButton"); // NOI18N
    configureSaveButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            configureSaveButtonActionPerformed(evt);
        }
    });

    configureInfoLabel.setText(resourceMap.getString("configureInfoLabel.text")); // NOI18N
    configureInfoLabel.setName("configureInfoLabel"); // NOI18N

    authenticationKeyField.setText(resourceMap.getString("authenticationKeyField.text")); // NOI18N
    authenticationKeyField.setToolTipText(resourceMap.getString("authenticationKeyField.toolTipText")); // NOI18N
    authenticationKeyField.setName("authenticationKeyField"); // NOI18N
    authenticationKeyField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onConfigFieldChanged(evt);
        }
    });

    confAuthKeyField.setText(resourceMap.getString("confAuthKeyField.text")); // NOI18N
    confAuthKeyField.setToolTipText(resourceMap.getString("confAuthKeyField.toolTipText")); // NOI18N
    confAuthKeyField.setName("confAuthKeyField"); // NOI18N
    confAuthKeyField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onConfigFieldChanged(evt);
        }
    });

    browseUploadDirButton.setText(resourceMap.getString("browseUploadDirButton.text")); // NOI18N
    browseUploadDirButton.setName("browseUploadDirButton"); // NOI18N

    useProxyField.setText(resourceMap.getString("useProxyField.text")); // NOI18N
    useProxyField.setToolTipText(resourceMap.getString("useProxyField.toolTipText")); // NOI18N
    useProxyField.setName("useProxyField"); // NOI18N
    useProxyField.setSelected(proxyEnabled);
    useProxyField.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            useProxyFieldItemStateChanged(evt);
        }
    });
    useProxyField.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            useProxyFieldActionPerformed(evt);
        }
    });

    proxyPortLabel.setForeground(resourceMap.getColor("proxyPortLabel.foreground")); // NOI18N
    proxyPortLabel.setText(resourceMap.getString("proxyPortLabel.text")); // NOI18N
    proxyPortLabel.setToolTipText(resourceMap.getString("proxyPortLabel.toolTipText")); // NOI18N
    proxyPortLabel.setName("proxyPortLabel"); // NOI18N
    proxyPortLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            proxyPortLabelMouseClicked(evt);
        }
    });

    proxyPortField.setText(resourceMap.getString("proxyPortField.text")); // NOI18N
    proxyPortField.setToolTipText(resourceMap.getString("proxyPortField.toolTipText")); // NOI18N
    proxyPortField.setEnabled(false);
    proxyPortField.setName("proxyPortField"); // NOI18N
    proxyPortField.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            proxyPortFieldMouseClicked(evt);
        }
    });
    proxyPortField.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent evt) {
            proxyPortFieldPropertyChange(evt);
        }
    });
    proxyPortField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onAdvancedConfigFieldChanged(evt);
        }
    });

    proxyHostLabel.setForeground(resourceMap.getColor("proxyHostLabel.foreground")); // NOI18N
    proxyHostLabel.setText(resourceMap.getString("proxyHostLabel.text")); // NOI18N
    proxyHostLabel.setToolTipText(resourceMap.getString("proxyHostLabel.toolTipText")); // NOI18N
    proxyHostLabel.setName("proxyHostLabel"); // NOI18N
    proxyHostLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            proxyHostLabelMouseClicked(evt);
        }
    });

    proxyHostField.setText(resourceMap.getString("proxyHostField.text")); // NOI18N
    proxyHostField.setToolTipText(resourceMap.getString("proxyHostField.toolTipText")); // NOI18N
    proxyHostField.setEnabled(false);
    proxyHostField.setName("proxyHostField"); // NOI18N
    proxyHostField.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            proxyHostFieldMouseClicked(evt);
        }
    });
    proxyHostField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onAdvancedConfigFieldChanged(evt);
        }
    });

    proxyUserLabel.setForeground(resourceMap.getColor("proxyUserLabel.foreground")); // NOI18N
    proxyUserLabel.setText(resourceMap.getString("proxyUserLabel.text")); // NOI18N
    proxyUserLabel.setToolTipText(resourceMap.getString("proxyUserLabel.toolTipText")); // NOI18N
    proxyUserLabel.setName("proxyUserLabel"); // NOI18N

    proxyUserField.setToolTipText(resourceMap.getString("proxyUserField.toolTipText")); // NOI18N
    proxyUserField.setEnabled(false);
    proxyUserField.setName("proxyUserField"); // NOI18N
    proxyUserField.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            proxyUserFieldMouseClicked(evt);
        }
    });
    proxyUserField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onAdvancedConfigFieldChanged(evt);
        }
    });

    proxyPwLabel.setForeground(resourceMap.getColor("proxyPwLabel.foreground")); // NOI18N
    proxyPwLabel.setText(resourceMap.getString("proxyPwLabel.text")); // NOI18N
    proxyPwLabel.setToolTipText(resourceMap.getString("proxyPwLabel.toolTipText")); // NOI18N
    proxyPwLabel.setName("proxyPwLabel"); // NOI18N

    proxyPwField.setToolTipText(resourceMap.getString("proxyPwField.toolTipText")); // NOI18N
    proxyPwField.setEnabled(false);
    proxyPwField.setName("proxyPwField"); // NOI18N
    proxyPwField.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            proxyPwFieldMouseClicked(evt);
        }
    });
    proxyPwField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            onAdvancedConfigFieldChanged(evt);
        }
    });

    detectProxyButton.setText(resourceMap.getString("detectProxyButton.text")); // NOI18N
    detectProxyButton.setActionCommand(resourceMap.getString("detectProxyButton.actionCommand")); // NOI18N
    detectProxyButton.setName("detectProxyButton"); // NOI18N
    detectProxyButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            detectProxyButtonMouseClicked(evt);
        }
    });

    proxyDetectedLabel.setText(resourceMap.getString("proxyDetectedLabel.text")); // NOI18N
    proxyDetectedLabel.setName("proxyDetectedLabel"); // NOI18N

    org.jdesktop.layout.GroupLayout configurePanelLayout = new org.jdesktop.layout.GroupLayout(configurePanel);
    configurePanel.setLayout(configurePanelLayout);
    configurePanelLayout.setHorizontalGroup(configurePanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(configurePanelLayout.createSequentialGroup().add(10, 10, 10).add(mainConfigureLabel,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 566, Short.MAX_VALUE))
            .add(configurePanelLayout.createSequentialGroup().addContainerGap()
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(knURLLabel).add(schoolMOENumberLabel))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(knURLField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 230,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(schoolMOENumberField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 50,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(169, Short.MAX_VALUE))
            .add(configurePanelLayout.createSequentialGroup().addContainerGap().add(configurePanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(configurePanelLayout.createSequentialGroup().add(22, 22, 22).add(confAuthKeyLabel)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(confAuthKeyField,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 145,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(configurePanelLayout.createSequentialGroup().add(62, 62, 62)
                            .add(authenticationKeyLabel)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(authenticationKeyField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 145,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(configSeparator2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 465,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(101, Short.MAX_VALUE))
            .add(configurePanelLayout.createSequentialGroup().addContainerGap().add(configurePanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(configurePanelLayout.createSequentialGroup().add(73, 73, 73).add(uploadDirLabel)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(uploadDirField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 305,
                                    Short.MAX_VALUE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(browseUploadDirButton))
                    .add(configurePanelLayout.createSequentialGroup()
                            .add(configSeparator3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 465,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 80,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .add(21, 21, 21))
            .add(configurePanelLayout.createSequentialGroup().addContainerGap().add(configureInfoLabel)
                    .addContainerGap(290, Short.MAX_VALUE))
            .add(org.jdesktop.layout.GroupLayout.TRAILING,
                    configurePanelLayout.createSequentialGroup().addContainerGap(402, Short.MAX_VALUE)
                            .add(configureSaveButton).add(117, 117, 117))
            .add(configurePanelLayout.createSequentialGroup().addContainerGap()
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(configurePanelLayout.createSequentialGroup().add(useProxyField).add(10, 10, 10)
                                    .add(configurePanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(proxyPwLabel).add(proxyUserLabel).add(proxyHostLabel)
                                            .add(proxyPortLabel))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(configurePanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                            .add(proxyPortField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    50, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(proxyPwField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    146, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(proxyHostField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    230, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(proxyUserField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    146, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(configurePanelLayout.createSequentialGroup()
                                                    .add(detectProxyButton).add(10, 10, 10)
                                                    .add(proxyDetectedLabel,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 239,
                                                            Short.MAX_VALUE))))
                            .add(configSeparator1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556,
                                    Short.MAX_VALUE))
                    .addContainerGap()));
    configurePanelLayout.setVerticalGroup(configurePanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(configurePanelLayout.createSequentialGroup().addContainerGap().add(mainConfigureLabel)
                    .add(18, 18, 18)
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(schoolMOENumberField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(schoolMOENumberLabel))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(knURLLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(knURLField, 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(configSeparator2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(12, 12, 12)
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(authenticationKeyField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(authenticationKeyLabel))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(confAuthKeyField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(confAuthKeyLabel))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                    .add(configSeparator3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 3,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(browseUploadDirButton)
                            .add(uploadDirField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(uploadDirLabel))
                    .add(18, 18, 18)
                    .add(configSeparator1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(8, 8, 8)
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(useProxyField)
                            .add(configurePanelLayout.createSequentialGroup().add(configurePanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(proxyPortField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(proxyPortLabel))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(configurePanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                            .add(proxyHostField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(proxyHostLabel))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                    .add(configurePanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                            .add(proxyUserLabel).add(proxyUserField,
                                                    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(configurePanelLayout
                                            .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                            .add(proxyPwLabel).add(proxyPwField,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                    .add(18, 18, 18)
                    .add(configurePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(detectProxyButton).add(proxyDetectedLabel,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(20, 20, 20).add(configureInfoLabel)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(configureSaveButton)
                    .add(136, 136, 136)));

    detectProxyButton.getAccessibleContext()
            .setAccessibleName(resourceMap.getString("jButton1.AccessibleContext.accessibleName")); // NOI18N
    proxyDetectedLabel.getAccessibleContext()
            .setAccessibleName(resourceMap.getString("proxyDetectedLabel.AccessibleContext.accessibleName")); // NOI18N

    mainTabbedPane.addTab(resourceMap.getString("configurePanel.TabConstraints.tabTitle"),
            resourceMap.getIcon("configurePanel.TabConstraints.tabIcon"), configurePanel,
            resourceMap.getString("configurePanel.TabConstraints.tabToolTip")); // NOI18N

    advancedPanel.setName("advancedPanel"); // NOI18N
    advancedPanel.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            smtpPasswordTextFieldKeyTyped(evt);
        }
    });

    mainAdvancedlabel.setIcon(resourceMap.getIcon("mainAdvancedlabel.icon")); // NOI18N
    mainAdvancedlabel.setText(resourceMap.getString("mainAdvancedlabel.text")); // NOI18N
    mainAdvancedlabel.setName("mainAdvancedlabel"); // NOI18N

    configureSeparator1.setName("configureSeparator1"); // NOI18N

    advancedSaveButton.setText(resourceMap.getString("advancedSaveButton.text")); // NOI18N
    advancedSaveButton.setEnabled(false);
    advancedSaveButton.setName("advancedSaveButton"); // NOI18N
    advancedSaveButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            advancedSaveButtonActionPerformed(evt);
        }
    });

    configProcessUploadGroup.add(processUploadNonSchoolHoursButton);
    processUploadNonSchoolHoursButton.setText(resourceMap.getString("processUploadNonSchoolHoursButton.text")); // NOI18N
    processUploadNonSchoolHoursButton
            .setToolTipText(resourceMap.getString("processUploadNonSchoolHoursButton.toolTipText")); // NOI18N
    processUploadNonSchoolHoursButton.setName("processUploadNonSchoolHoursButton"); // NOI18N
    processUploadNonSchoolHoursButton.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            processUploadButtonChanged(evt);
        }
    });

    configProcessUploadGroup.add(processUploadSchoolHoursButton);
    processUploadSchoolHoursButton.setText(resourceMap.getString("processUploadSchoolHoursButton.text")); // NOI18N
    processUploadSchoolHoursButton
            .setToolTipText(resourceMap.getString("processUploadSchoolHoursButton.toolTipText")); // NOI18N
    processUploadSchoolHoursButton.setName("processUploadSchoolHoursButton"); // NOI18N
    processUploadSchoolHoursButton.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            processUploadButtonChanged(evt);
        }
    });

    configProcessUploadGroup.add(processUploadAlwaysButton);
    processUploadAlwaysButton.setSelected(true);
    processUploadAlwaysButton.setText(resourceMap.getString("processUploadAlwaysButton.text")); // NOI18N
    processUploadAlwaysButton.setToolTipText(resourceMap.getString("processUploadAlwaysButton.toolTipText")); // NOI18N
    processUploadAlwaysButton.setName("processUploadAlwaysButton"); // NOI18N
    processUploadAlwaysButton.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            processUploadButtonChanged(evt);
        }
    });

    processUploadLabel.setText(resourceMap.getString("processUploadLabel.text")); // NOI18N
    processUploadLabel.setToolTipText(resourceMap.getString("processUploadLabel.toolTipText")); // NOI18N
    processUploadLabel.setName("processUploadLabel"); // NOI18N

    failedUploadLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    failedUploadLabel.setText(resourceMap.getString("failedUploadLabel.text")); // NOI18N
    failedUploadLabel.setToolTipText(resourceMap.getString("failedUploadLabel.toolTipText")); // NOI18N
    failedUploadLabel.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
    failedUploadLabel.setName("failedUploadLabel"); // NOI18N
    failedUploadLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            failedUploadLabelMouseClicked(evt);
        }
    });

    failedUploadSpinner.setFont(resourceMap.getFont("failedUploadSpinner.font")); // NOI18N
    failedUploadSpinner.setModel(new javax.swing.SpinnerNumberModel(0, 0, 1440, 1));
    failedUploadSpinner.setToolTipText(resourceMap.getString("failedUploadSpinner.toolTipText")); // NOI18N
    failedUploadSpinner.setName("failedUploadSpinner"); // NOI18N
    failedUploadSpinner.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            failedUploadSpinnerStateChanged(evt);
        }
    });

    failedUploadLabel2.setText(resourceMap.getString("failedUploadLabel2.text")); // NOI18N
    failedUploadLabel2.setName("failedUploadLabel2"); // NOI18N

    emailTextField.setText(resourceMap.getString("emailTextField.text")); // NOI18N
    emailTextField.setToolTipText(resourceMap.getString("emailTextField.toolTipText")); // NOI18N
    emailTextField.setName("emailTextField"); // NOI18N
    emailTextField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            emailTextFieldKeyTyped(evt);
        }
    });

    emailLabel.setText(resourceMap.getString("emailLabel.text")); // NOI18N
    emailLabel.setToolTipText(resourceMap.getString("emailLabel.toolTipText")); // NOI18N
    emailLabel.setName("emailLabel"); // NOI18N
    emailLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            emailLabelMouseClicked(evt);
        }
    });

    smtpHostLabel.setText(resourceMap.getString("smtpHostLabel.text")); // NOI18N
    smtpHostLabel.setToolTipText(resourceMap.getString("smtpHostLabel.toolTipText")); // NOI18N
    smtpHostLabel.setName("smtpHostLabel"); // NOI18N
    smtpHostLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            smtpHostLabelMouseClicked(evt);
        }
    });

    smtpHostTextField.setText(resourceMap.getString("smtpHostTextField.text")); // NOI18N
    smtpHostTextField.setToolTipText(resourceMap.getString("smtpHostTextField.toolTipText")); // NOI18N
    smtpHostTextField.setName("smtpHostTextField"); // NOI18N
    smtpHostTextField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            smtpHostTextFieldKeyTyped(evt);
        }
    });

    smtpUserLabel.setText(resourceMap.getString("smtpUserLabel.text")); // NOI18N
    smtpUserLabel.setToolTipText(resourceMap.getString("smtpUserLabel.toolTipText")); // NOI18N
    smtpUserLabel.setName("smtpUserLabel"); // NOI18N
    smtpUserLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            smtpUserLabelMouseClicked(evt);
        }
    });

    smtpPasswordLabel.setText(resourceMap.getString("smtpPasswordLabel.text")); // NOI18N
    smtpPasswordLabel.setToolTipText(resourceMap.getString("smtpPasswordLabel.toolTipText")); // NOI18N
    smtpPasswordLabel.setName("smtpPasswordLabel"); // NOI18N
    smtpPasswordLabel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            smtpPasswordLabelMouseClicked(evt);
        }
    });

    smtpUserTextField.setText(resourceMap.getString("smtpUserTextField.text")); // NOI18N
    smtpUserTextField.setName("smtpUserTextField"); // NOI18N
    smtpUserTextField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            smtpUserTextFieldKeyTyped(evt);
        }
    });

    jSeparator1.setName("jSeparator1"); // NOI18N

    jSeparator2.setName("jSeparator2"); // NOI18N

    smtpPasswordField.setText(resourceMap.getString("smtpPasswordField.text")); // NOI18N
    smtpPasswordField.setToolTipText(resourceMap.getString("smtpPasswordField.toolTipText")); // NOI18N
    smtpPasswordField.setName("smtpPasswordField"); // NOI18N
    smtpPasswordField.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            smtpPasswordTextFieldKeyTyped(evt);
        }
    });

    org.jdesktop.layout.GroupLayout advancedPanelLayout = new org.jdesktop.layout.GroupLayout(advancedPanel);
    advancedPanel.setLayout(advancedPanelLayout);
    advancedPanelLayout.setHorizontalGroup(advancedPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(advancedPanelLayout.createSequentialGroup().addContainerGap().add(advancedPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(mainAdvancedlabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 566, Short.MAX_VALUE)
                    .add(advancedPanelLayout.createSequentialGroup()
                            .add(configureSeparator1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 465,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(101, Short.MAX_VALUE))
                    .add(advancedPanelLayout.createSequentialGroup().add(processUploadLabel).add(29, 29, 29)
                            .add(advancedPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(processUploadNonSchoolHoursButton,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 450, Short.MAX_VALUE)
                                    .add(processUploadSchoolHoursButton).add(processUploadAlwaysButton))
                            .addContainerGap())
                    .add(advancedPanelLayout.createSequentialGroup().add(advancedPanelLayout
                            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(advancedPanelLayout.createSequentialGroup()
                                    .add(jSeparator1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 368,
                                            Short.MAX_VALUE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(advancedSaveButton).add(102, 102, 102))
                            .add(advancedPanelLayout.createSequentialGroup().add(advancedPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jSeparator2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 498,
                                            Short.MAX_VALUE)
                                    .add(advancedPanelLayout.createSequentialGroup().add(243, 243, 243)
                                            .add(failedUploadLabel2).add(41, 41, 41).add(failedUploadSpinner,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .add(advancedPanelLayout.createSequentialGroup().add(85, 85, 85)
                                            .add(advancedPanelLayout
                                                    .createParallelGroup(
                                                            org.jdesktop.layout.GroupLayout.TRAILING)
                                                    .add(failedUploadLabel,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                    .add(advancedPanelLayout.createSequentialGroup()
                                                            .add(advancedPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.TRAILING)
                                                                    .add(smtpUserLabel).add(smtpPasswordLabel))
                                                            .addPreferredGap(
                                                                    org.jdesktop.layout.LayoutStyle.RELATED))
                                                    .add(advancedPanelLayout.createSequentialGroup()
                                                            .add(advancedPanelLayout.createParallelGroup(
                                                                    org.jdesktop.layout.GroupLayout.TRAILING)
                                                                    .add(smtpHostLabel).add(emailLabel))
                                                            .addPreferredGap(
                                                                    org.jdesktop.layout.LayoutStyle.RELATED)))
                                            .add(advancedPanelLayout
                                                    .createParallelGroup(
                                                            org.jdesktop.layout.GroupLayout.LEADING)
                                                    .add(advancedPanelLayout.createSequentialGroup()
                                                            .addPreferredGap(
                                                                    org.jdesktop.layout.LayoutStyle.RELATED)
                                                            .add(emailTextField,
                                                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                                                    269, Short.MAX_VALUE))
                                                    .add(smtpUserTextField,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 269,
                                                            Short.MAX_VALUE)
                                                    .add(org.jdesktop.layout.GroupLayout.TRAILING,
                                                            smtpHostTextField,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 269,
                                                            Short.MAX_VALUE)
                                                    .add(org.jdesktop.layout.GroupLayout.TRAILING,
                                                            smtpPasswordField,
                                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 269,
                                                            Short.MAX_VALUE))))
                                    .add(35, 35, 35)))
                            .add(33, 33, 33)))));
    advancedPanelLayout.setVerticalGroup(advancedPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(advancedPanelLayout.createSequentialGroup().addContainerGap()
                    .add(mainAdvancedlabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 41,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(configureSeparator1, 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(advancedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(processUploadLabel).add(processUploadAlwaysButton))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(processUploadSchoolHoursButton)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(processUploadNonSchoolHoursButton)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jSeparator2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 4,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(advancedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(advancedPanelLayout
                                    .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(failedUploadLabel2).add(failedUploadSpinner,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(failedUploadLabel, 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(advancedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(emailTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(emailLabel))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(advancedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(smtpHostTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(smtpHostLabel))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(advancedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(smtpUserLabel).add(smtpUserTextField,
                                    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(advancedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(smtpPasswordLabel).add(smtpPasswordField,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(129, 129, 129)
                    .add(advancedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jSeparator1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 2,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(advancedSaveButton))
                    .add(64, 64, 64)));

    mainTabbedPane.addTab(resourceMap.getString("advancedPanel.TabConstraints.tabTitle"),
            resourceMap.getIcon("advancedPanel.TabConstraints.tabIcon"), advancedPanel); // NOI18N

    viewLogPanel.setName("viewLogPanel"); // NOI18N

    mainViewLogLabel.setIcon(resourceMap.getIcon("mainViewLogLabel.icon")); // NOI18N
    mainViewLogLabel.setText(resourceMap.getString("mainViewLogLabel.text")); // NOI18N
    mainViewLogLabel.setName("mainViewLogLabel"); // NOI18N

    viewLogScrollPane.setName("viewLogScrollPane"); // NOI18N

    viewLogTextPane.setName("viewLogTextPane"); // NOI18N
    viewLogScrollPane.setViewportView(viewLogTextPane);
    viewLogTextPane.setText(VIEW_LOG_INITIAL);

    viewLogInfoLabel.setText(resourceMap.getString("viewLogInfoLabel.text")); // NOI18N
    viewLogInfoLabel.setName("viewLogInfoLabel"); // NOI18N

    emailLogsButton.setText(resourceMap.getString("emailLogsButton.text")); // NOI18N
    emailLogsButton.setName("emailLogsButton"); // NOI18N
    emailLogsButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            emailLogsMouseClicked(evt);
        }
    });

    org.jdesktop.layout.GroupLayout viewLogPanelLayout = new org.jdesktop.layout.GroupLayout(viewLogPanel);
    viewLogPanel.setLayout(viewLogPanelLayout);
    viewLogPanelLayout.setHorizontalGroup(viewLogPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(viewLogPanelLayout.createSequentialGroup().addContainerGap().add(viewLogPanelLayout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(viewLogInfoLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556, Short.MAX_VALUE)
                    .add(mainViewLogLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556, Short.MAX_VALUE)
                    .add(emailLogsButton).add(viewLogScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            547, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap()));
    viewLogPanelLayout
            .setVerticalGroup(viewLogPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(viewLogPanelLayout.createSequentialGroup().addContainerGap().add(mainViewLogLabel)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(viewLogInfoLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(viewLogScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 375,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(26, 26, 26).add(emailLogsButton).addContainerGap(90, Short.MAX_VALUE)));

    mainTabbedPane.addTab(resourceMap.getString("viewLogPanel.TabConstraints.tabTitle"),
            resourceMap.getIcon("viewLogPanel.TabConstraints.tabIcon"), viewLogPanel,
            resourceMap.getString("viewLogPanel.TabConstraints.tabToolTip")); // NOI18N

    aboutPanel.setName("aboutPanel"); // NOI18N

    mainAboutLabel.setIcon(resourceMap.getIcon("mainAboutLabel.icon")); // NOI18N
    mainAboutLabel.setText(resourceMap.getString("mainAboutLabel.text")); // NOI18N
    mainAboutLabel.setName("mainAboutLabel"); // NOI18N

    aboutScrollPane.setName("aboutScrollPane"); // NOI18N

    aboutTextPane.setContentType(resourceMap.getString("aboutTextPane.contentType")); // NOI18N
    aboutTextPane.setEditable(false);
    aboutTextPane.setText(resourceMap.getString("aboutTextPane.text")); // NOI18N
    aboutTextPane.setMinimumSize(new java.awt.Dimension(532, 9882));
    aboutTextPane.setName("aboutTextPane"); // NOI18N
    aboutScrollPane.setViewportView(aboutTextPane);
    aboutTextPane.getAccessibleContext().setAccessibleDescription(
            resourceMap.getString("aboutTextPane.AccessibleContext.accessibleDescription")); // NOI18N

    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, aboutScrollPane,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556, Short.MAX_VALUE)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, mainAboutLabel,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556, Short.MAX_VALUE))
                            .addContainerGap()));
    aboutPanelLayout
            .setVerticalGroup(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(aboutPanelLayout.createSequentialGroup().addContainerGap().add(mainAboutLabel)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(aboutScrollPane,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 540, Short.MAX_VALUE)));

    aboutScrollPane.getViewport().setViewPosition(new java.awt.Point(0, 0));

    mainTabbedPane.addTab(resourceMap.getString("aboutPanel.TabConstraints.tabTitle"),
            resourceMap.getIcon("aboutPanel.TabConstraints.tabIcon"), aboutPanel,
            resourceMap.getString("aboutPanel.TabConstraints.tabToolTip")); // NOI18N

    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().addContainerGap()
                    .add(mainTabbedPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 581, Short.MAX_VALUE)
                    .addContainerGap()));
    mainPanelLayout.setVerticalGroup(mainPanelLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(mainPanelLayout.createSequentialGroup().addContainerGap()
                    .add(mainTabbedPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 632, Short.MAX_VALUE)
                    .addContainerGap(52, Short.MAX_VALUE)));

    dirFileChooser.setFileSelectionMode(javax.swing.JFileChooser.DIRECTORIES_ONLY);
    dirFileChooser.setName("dirFileChooser"); // NOI18N

    setComponent(mainPanel);
}

From source file:org.datavyu.views.DataControllerV.java

/**
 * Helper method for Building a button for the data controller - sets the
 * icon, selected icon, action map and name.
 *
 * @param rMap The resource map that holds the icons for this button.
 * @param aMap The action map holding the action that this button invokes.
 * @param name The prefix to use when looking for actions and buttons.
 * @param modifier The modifier (if any) to apply to the prefix. Maybe null.
 *
 * @return A configured button.//from   w  w w  .  j av a 2s. c  o m
 */
private JButton buildButton(final ResourceMap rMap, final ActionMap aMap, final String name,
        final String modifier) {

    JButton result = new JButton();
    result.setAction(aMap.get(name + "Action"));
    if (modifier == null) {
        result.setIcon(rMap.getIcon(name + "Button.icon"));
        result.setPressedIcon(rMap.getIcon(name + "SelectedButton.icon"));
    } else {
        result.setIcon(rMap.getIcon(modifier + name + "Button.icon"));
        result.setPressedIcon(rMap.getIcon(modifier + name + "SelectedButton.icon"));
    }
    result.setFocusPainted(false);
    result.setName(name + "Button");

    return result;
}

From source file:org.datavyu.views.DatavyuView.java

/**
 * This method is called from within the constructor to initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is always
 * regenerated by the Form Editor./*  w  w  w. ja  va 2 s  . c  o m*/
 */
// <editor-fold defaultstate="collapsed"
// <editor-fold defaultstate="collapsed"
// <editor-fold defaultstate="collapsed"
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    mainPanel = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    menuBar = new javax.swing.JMenuBar();
    javax.swing.JMenu fileMenu = new javax.swing.JMenu();
    newMenuItem = new javax.swing.JMenuItem();
    openMenuItem = new javax.swing.JMenuItem();
    openRecentFileMenu = new javax.swing.JMenu();
    jMenuItem2 = new javax.swing.JMenuItem();
    jSeparator7 = new javax.swing.JSeparator();
    saveMenuItem = new javax.swing.JMenuItem();
    saveAsMenuItem = new javax.swing.JMenuItem();
    exportMenuItem = new javax.swing.JMenuItem();
    javax.swing.JSeparator fileMenuSeparator = new javax.swing.JSeparator();
    javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem();
    spreadsheetMenu = new javax.swing.JMenu();
    showSpreadsheetMenuItem = new javax.swing.JMenuItem();
    jSeparator1 = new javax.swing.JSeparator();
    jMenuItem1 = new javax.swing.JMenuItem();
    newVariableMenuItem = new javax.swing.JMenuItem();
    vocabEditorMenuItem = new javax.swing.JMenuItem();
    jSeparator2 = new javax.swing.JSeparator();
    newCellMenuItem = new javax.swing.JMenuItem();
    newCellLeftMenuItem = new javax.swing.JMenuItem();
    newCellRightMenuItem = new javax.swing.JMenuItem();
    jSeparator8 = new javax.swing.JPopupMenu.Separator();
    changeVarNameMenuItem = new javax.swing.JMenuItem();
    hideSelectedColumnsMenuItem = new javax.swing.JMenuItem();
    ShowAllVariablesMenuItem = new javax.swing.JMenuItem();
    jSeparator3 = new javax.swing.JSeparator();
    deleteColumnMenuItem = new javax.swing.JMenuItem();
    deleteCellMenuItem = new javax.swing.JMenuItem();
    jSeparator6 = new javax.swing.JSeparator();
    historySpreadSheetMenuItem = new javax.swing.JMenuItem();
    undoSpreadSheetMenuItem = new javax.swing.JMenuItem();
    redoSpreadSheetMenuItem = new javax.swing.JMenuItem();
    jSeparator9 = new javax.swing.JPopupMenu.Separator();
    weakTemporalOrderMenuItem = new javax.swing.JCheckBoxMenuItem();
    strongTemporalOrderMenuItem = new javax.swing.JCheckBoxMenuItem();
    zoomMenu = new javax.swing.JMenu();
    zoomInMenuItem = new javax.swing.JMenuItem();
    zoomOutMenuItem = new javax.swing.JMenuItem();
    jSeparator5 = new javax.swing.JSeparator();
    resetZoomMenuItem = new javax.swing.JMenuItem();
    jSeparator10 = new javax.swing.JPopupMenu.Separator();
    pushMenuItem = new javax.swing.JMenuItem();
    pullMenuItem = new javax.swing.JMenuItem();
    controllerMenu = new javax.swing.JMenu();
    qtControllerItem = new javax.swing.JMenuItem();
    videoConverterMenuItem = new javax.swing.JMenuItem();
    scriptMenu = new javax.swing.JMenu();
    runScriptMenuItem = new javax.swing.JMenuItem();
    runRecentScriptMenu = new javax.swing.JMenu();
    recentScriptsHeader = new javax.swing.JMenuItem();
    jSeparator4 = new javax.swing.JSeparator();
    favScripts = new javax.swing.JMenuItem();
    windowMenu = new javax.swing.JMenu();
    helpMenu = new javax.swing.JMenu();
    aboutMenuItem = new javax.swing.JMenuItem();
    updateMenuItem = new javax.swing.JMenuItem();
    supportMenuItem = new javax.swing.JMenuItem();
    guideMenuItem = new javax.swing.JMenuItem();

    mainPanel.setName("mainPanel"); // NOI18N

    jLabel1.setName("jLabel1"); // NOI18N

    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(119, 119, 119).add(jLabel1)
                            .addContainerGap(149, Short.MAX_VALUE)));
    mainPanelLayout
            .setVerticalGroup(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(mainPanelLayout.createSequentialGroup().add(55, 55, 55).add(jLabel1)
                            .addContainerGap(184, Short.MAX_VALUE)));
    org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application
            .getInstance(org.datavyu.Datavyu.class).getContext().getResourceMap(DatavyuView.class);
    resourceMap.injectComponents(mainPanel);

    menuBar.setName("menuBar"); // NOI18N

    javax.swing.ActionMap actionMap = org.jdesktop.application.Application
            .getInstance(org.datavyu.Datavyu.class).getContext().getActionMap(DatavyuView.class, this);
    fileMenu.setAction(actionMap.get("saveAs")); // NOI18N
    fileMenu.setName("fileMenu"); // NOI18N

    newMenuItem.setAction(actionMap.get("showNewProjectForm")); // NOI18N
    java.util.ResourceBundle bundle = java.util.ResourceBundle
            .getBundle("org/datavyu/views/resources/DatavyuView"); // NOI18N
    newMenuItem.setText(bundle.getString("file_new.text")); // NOI18N
    newMenuItem.setName("newMenuItem"); // NOI18N
    fileMenu.add(newMenuItem);

    openMenuItem.setAction(actionMap.get("open")); // NOI18N
    openMenuItem.setText(bundle.getString("file_open.text")); // NOI18N
    openMenuItem.setName(bundle.getString("file_open.text")); // NOI18N
    fileMenu.add(openMenuItem);

    openRecentFileMenu.setName("openRecentFileMenu"); // NOI18N
    openRecentFileMenu.addMenuListener(new javax.swing.event.MenuListener() {
        public void menuSelected(javax.swing.event.MenuEvent evt) {
            openRecentFileMenuMenuSelected(evt);
        }

        public void menuDeselected(javax.swing.event.MenuEvent evt) {
        }

        public void menuCanceled(javax.swing.event.MenuEvent evt) {
        }
    });

    jMenuItem2.setEnabled(false);
    jMenuItem2.setName("jMenuItem2"); // NOI18N
    openRecentFileMenu.add(jMenuItem2);

    fileMenu.add(openRecentFileMenu);

    jSeparator7.setName("jSeparator7"); // NOI18N
    fileMenu.add(jSeparator7);

    saveMenuItem.setAction(actionMap.get("save")); // NOI18N
    saveMenuItem.setName("saveMenuItem"); // NOI18N
    fileMenu.add(saveMenuItem);

    saveAsMenuItem.setAction(actionMap.get("saveAs")); // NOI18N
    saveAsMenuItem.setName("saveAsMenuItem"); // NOI18N
    fileMenu.add(saveAsMenuItem);

    exportMenuItem.setAction(actionMap.get("exportFile")); // NOI18N
    exportMenuItem.setName("exportMenuItem"); // NOI18N
    fileMenu.add(exportMenuItem);

    fileMenuSeparator.setName("fileMenuSeparator"); // NOI18N
    if (Datavyu.getPlatform() != Platform.MAC) {
        fileMenu.add(fileMenuSeparator);
    }

    exitMenuItem.setAction(actionMap.get("safeQuit")); // NOI18N
    exitMenuItem.setName("exitMenuItem"); // NOI18N
    if (Datavyu.getPlatform() != Platform.MAC) {
        fileMenu.add(exitMenuItem);
    }

    menuBar.add(fileMenu);

    spreadsheetMenu.setAction(actionMap.get("showQTVideoController")); // NOI18N
    spreadsheetMenu.setName("spreadsheetMenu"); // NOI18N
    spreadsheetMenu.addMenuListener(new javax.swing.event.MenuListener() {
        public void menuSelected(javax.swing.event.MenuEvent evt) {
            //                spreadsheetMenuSelected(evt);
        }

        public void menuDeselected(javax.swing.event.MenuEvent evt) {
        }

        public void menuCanceled(javax.swing.event.MenuEvent evt) {
        }
    });

    showSpreadsheetMenuItem.setAction(actionMap.get("showSpreadsheet")); // NOI18N
    showSpreadsheetMenuItem.setName("showSpreadsheetMenuItem"); // NOI18N
    spreadsheetMenu.add(showSpreadsheetMenuItem);

    jSeparator1.setName("jSeparator1"); // NOI18N
    spreadsheetMenu.add(jSeparator1);

    jMenuItem1.setAction(actionMap.get("showNewVariableForm")); // NOI18N
    jMenuItem1.setName("jMenuItem1"); // NOI18N
    spreadsheetMenu.add(jMenuItem1);

    newVariableMenuItem.setAction(actionMap.get("showVariableList")); // NOI18N
    newVariableMenuItem.setName("newVariableMenuItem"); // NOI18N
    spreadsheetMenu.add(newVariableMenuItem);

    vocabEditorMenuItem.setAction(actionMap.get("showVocabEditor")); // NOI18N
    vocabEditorMenuItem.setName("vocabEditorMenuItem"); // NOI18N
    spreadsheetMenu.add(vocabEditorMenuItem);

    jSeparator2.setName("jSeparator2"); // NOI18N
    spreadsheetMenu.add(jSeparator2);

    newCellMenuItem.setName("newCellMenuItem"); // NOI18N
    newCellMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            newCellMenuItemActionPerformed(evt);
        }
    });
    spreadsheetMenu.add(newCellMenuItem);

    newCellLeftMenuItem.setName("newCellLeftMenuItem"); // NOI18N
    newCellLeftMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            newCellLeftMenuItemActionPerformed(evt);
        }
    });
    spreadsheetMenu.add(newCellLeftMenuItem);

    newCellRightMenuItem.setName("newCellRightMenuItem"); // NOI18N
    newCellRightMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            newCellRightMenuItemActionPerformed(evt);
        }
    });
    spreadsheetMenu.add(newCellRightMenuItem);

    jSeparator8.setName("jSeparator8"); // NOI18N
    spreadsheetMenu.add(jSeparator8);

    changeVarNameMenuItem.setName("changeVarNameMenuItem"); // NOI18N
    changeVarNameMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            changeVarNameMenuItemActionPerformed(evt);
        }
    });
    spreadsheetMenu.add(changeVarNameMenuItem);

    hideSelectedColumnsMenuItem.setName("hideSelectedColumnsMenuItem"); // NOI18N
    hideSelectedColumnsMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            hideSelectedColumnsMenuItemActionPerformed(evt);
        }
    });
    spreadsheetMenu.add(hideSelectedColumnsMenuItem);

    ShowAllVariablesMenuItem.setName("ShowAllVariablesMenuItem"); // NOI18N
    ShowAllVariablesMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            ShowAllVariablesMenuItemActionPerformed(evt);
        }
    });
    spreadsheetMenu.add(ShowAllVariablesMenuItem);

    jSeparator3.setName("jSeparator3"); // NOI18N
    spreadsheetMenu.add(jSeparator3);

    deleteColumnMenuItem.setAction(actionMap.get("deleteColumn")); // NOI18N
    deleteColumnMenuItem.setName("deleteColumnMenuItem"); // NOI18N
    spreadsheetMenu.add(deleteColumnMenuItem);

    deleteCellMenuItem.setAction(actionMap.get("deleteCells")); // NOI18N
    deleteCellMenuItem.setName("deleteCellMenuItem"); // NOI18N
    spreadsheetMenu.add(deleteCellMenuItem);

    jSeparator6.setName("jSeparator6"); // NOI18N
    spreadsheetMenu.add(jSeparator6);

    historySpreadSheetMenuItem.setAction(actionMap.get("history")); // NOI18N
    historySpreadSheetMenuItem.setName("historySpreadSheetMenuItem"); // NOI18N
    spreadsheetMenu.add(historySpreadSheetMenuItem);

    undoSpreadSheetMenuItem.setAction(actionMap.get("undo")); // NOI18N
    undoSpreadSheetMenuItem.setName("undoSpreadSheetMenuItem"); // NOI18N
    spreadsheetMenu.add(undoSpreadSheetMenuItem);

    redoSpreadSheetMenuItem.setAction(actionMap.get("redo")); // NOI18N
    redoSpreadSheetMenuItem.setName("redoSpreadSheetMenuItem"); // NOI18N
    spreadsheetMenu.add(redoSpreadSheetMenuItem);

    jSeparator9.setName("jSeparator9"); // NOI18N
    spreadsheetMenu.add(jSeparator9);

    weakTemporalOrderMenuItem.setName("weakTemporalOrderMenuItem"); // NOI18N
    weakTemporalOrderMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            weakTemporalMenuItemActionPerformed(evt);
        }
    });
    spreadsheetMenu.add(weakTemporalOrderMenuItem);

    strongTemporalOrderMenuItem.setName("strongTemporalOrderMenuItem"); // NOI18N
    strongTemporalOrderMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            strongTemporalMenuItemActionPerformed(evt);
        }
    });
    spreadsheetMenu.add(strongTemporalOrderMenuItem);

    zoomMenu.setName("zoomMenu"); // NOI18N

    zoomInMenuItem.setName("zoomInMenuItem"); // NOI18N
    zoomInMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            zoomInMenuItemActionPerformed(evt);
        }
    });
    zoomMenu.add(zoomInMenuItem);

    zoomOutMenuItem.setName("zoomOutMenuItem"); // NOI18N
    zoomOutMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            zoomOutMenuItemActionPerformed(evt);
        }
    });
    zoomMenu.add(zoomOutMenuItem);

    jSeparator5.setName("jSeparator5"); // NOI18N
    zoomMenu.add(jSeparator5);

    resetZoomMenuItem.setName("resetZoomMenuItem"); // NOI18N
    resetZoomMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            resetZoomMenuItemActionPerformed(evt);
        }
    });
    zoomMenu.add(resetZoomMenuItem);

    spreadsheetMenu.add(zoomMenu);

    jSeparator10.setName("jSeparator10"); // NOI18N
    spreadsheetMenu.add(jSeparator10);

    pushMenuItem.setAction(actionMap.get("push")); // NOI18N
    pushMenuItem.setName("pushMenuItem"); // NOI18N
    spreadsheetMenu.add(pushMenuItem);

    pullMenuItem.setAction(actionMap.get("pull")); // NOI18N
    pullMenuItem.setName("pullMenuItem"); // NOI18N
    spreadsheetMenu.add(pullMenuItem);

    menuBar.add(spreadsheetMenu);

    controllerMenu.setName("controllerMenu"); // NOI18N

    qtControllerItem.setAction(actionMap.get("showQTVideoController")); // NOI18N
    qtControllerItem.setName("qtControllerItem"); // NOI18N
    controllerMenu.add(qtControllerItem);

    videoConverterMenuItem.setAction(actionMap.get("showVideoConverter")); // NOI18N
    videoConverterMenuItem.setName("videoConverterMenuItem"); // NOI18N
    controllerMenu.add(videoConverterMenuItem);

    menuBar.add(controllerMenu);

    scriptMenu.setName("scriptMenu"); // NOI18N
    scriptMenu.addMenuListener(new javax.swing.event.MenuListener() {
        public void menuSelected(javax.swing.event.MenuEvent evt) {
            populateFavourites(evt);
        }

        public void menuDeselected(javax.swing.event.MenuEvent evt) {
        }

        public void menuCanceled(javax.swing.event.MenuEvent evt) {
        }
    });

    runScriptMenuItem.setAction(actionMap.get("runScript")); // NOI18N
    runScriptMenuItem.setName("runScriptMenuItem"); // NOI18N
    scriptMenu.add(runScriptMenuItem);

    runRecentScriptMenu.setName("runRecentScriptMenu"); // NOI18N
    runRecentScriptMenu.addMenuListener(new javax.swing.event.MenuListener() {
        public void menuSelected(javax.swing.event.MenuEvent evt) {
            populateRecentScripts(evt);
        }

        public void menuDeselected(javax.swing.event.MenuEvent evt) {
        }

        public void menuCanceled(javax.swing.event.MenuEvent evt) {
        }
    });

    recentScriptsHeader.setEnabled(false);
    recentScriptsHeader.setName("recentScriptsHeader"); // NOI18N
    runRecentScriptMenu.add(recentScriptsHeader);

    scriptMenu.add(runRecentScriptMenu);

    jSeparator4.setName("jSeparator4"); // NOI18N
    scriptMenu.add(jSeparator4);

    favScripts.setEnabled(false);
    favScripts.setName("favScripts"); // NOI18N
    scriptMenu.add(favScripts);

    menuBar.add(scriptMenu);

    windowMenu.setName("windowMenu"); // NOI18N

    menuBar.add(windowMenu);

    helpMenu.setAction(actionMap.get("showVariableList")); // NOI18N
    helpMenu.setName("helpMenu"); // NOI18N

    aboutMenuItem.setAction(actionMap.get("showAboutWindow")); // NOI18N
    aboutMenuItem.setName("aboutMenuItem"); // NOI18N
    if (Datavyu.getPlatform() != Platform.MAC) {
        helpMenu.add(aboutMenuItem);
    }

    supportMenuItem.setAction(actionMap.get("openSupportSite"));
    supportMenuItem.setName("supportMenuItem");
    //TODO - don't add this on Macs.  Instead it will be in the "Application Menu"
    //if (Datavyu.getPlatform() != Platform.MAC) {
    helpMenu.add(supportMenuItem);
    //}

    guideMenuItem.setAction(actionMap.get("openGuideSite"));
    guideMenuItem.setName("guideMenuItem");
    //TODO - don't add this on Macs.  Instead it will be in the "Application Menu"
    //if (Datavyu.getPlatform() != Platform.MAC) {
    helpMenu.add(guideMenuItem);
    //}

    updateMenuItem.setAction(actionMap.get("showUpdateWindow")); // NOI18N
    updateMenuItem.setName("updateMenuItem"); // NOI18N
    //TODO - don't add this on Macs.  Instead it will be in the "Application Menu"
    //if (Datavyu.getPlatform() != Platform.MAC) {
    helpMenu.add(updateMenuItem);
    //}

    menuBar.add(helpMenu);
    resourceMap.injectComponents(menuBar);

    setMenuBar(menuBar);
}