List of usage examples for javax.swing JMenuItem setName
public void setName(String name)
From source file:de.main.sessioncreator.DesktopApplication1View.java
/** This method is called from within the constructor to * initialize the form./* w w w . j ava 2 s. com*/ * 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:org.broad.igv.hic.MainWindow.java
private JMenuBar createMenuBar(final JPanel hiCPanel) { JMenuBar menuBar = new JMenuBar(); //======== fileMenu ======== JMenu fileMenu = new JMenu("File"); //---- loadMenuItem ---- JMenuItem loadMenuItem = new JMenuItem(); loadMenuItem.setText("Load..."); loadMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { loadMenuItemActionPerformed(e); }//from w w w.ja v a 2 s. com }); fileMenu.add(loadMenuItem); //---- loadFromURL ---- JMenuItem loadFromURL = new JMenuItem(); JMenuItem getEigenvector = new JMenuItem(); final JCheckBoxMenuItem viewDNAseI; loadFromURL.setText("Load from URL ..."); loadFromURL.setName("loadFromURL"); loadFromURL.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { loadFromURLActionPerformed(e); } }); fileMenu.add(loadFromURL); fileMenu.addSeparator(); // Pre-defined datasets. TODO -- generate from a file addPredefinedLoadItems(fileMenu); JMenuItem saveToImage = new JMenuItem(); saveToImage.setText("Save to image"); saveToImage.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { BufferedImage image = (BufferedImage) createImage(1000, 1000); Graphics g = image.createGraphics(); hiCPanel.paint(g); JFileChooser fc = new JFileChooser(); fc.setSelectedFile(new File("image.png")); int actionDialog = fc.showSaveDialog(null); if (actionDialog == JFileChooser.APPROVE_OPTION) { File file = fc.getSelectedFile(); if (file.exists()) { actionDialog = JOptionPane.showConfirmDialog(null, "Replace existing file?"); if (actionDialog == JOptionPane.NO_OPTION || actionDialog == JOptionPane.CANCEL_OPTION) return; } try { // default if they give no format or invalid format String fmt = "jpg"; int ind = file.getName().indexOf("."); if (ind != -1) { String ext = file.getName().substring(ind + 1); String[] strs = ImageIO.getWriterFormatNames(); for (String aStr : strs) if (ext.equals(aStr)) fmt = ext; } ImageIO.write(image.getSubimage(0, 0, 600, 600), fmt, file); } catch (IOException ie) { System.err.println("Unable to write " + file + ": " + ie); } } } }); fileMenu.add(saveToImage); getEigenvector = new JMenuItem("Get principal eigenvector"); getEigenvector.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { getEigenvectorActionPerformed(e); } }); fileMenu.add(getEigenvector); //---- exit ---- JMenuItem exit = new JMenuItem(); exit.setText("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { exitActionPerformed(e); } }); fileMenu.add(exit); menuBar.add(fileMenu); //======== Tracks menu ======== JMenu tracksMenu = new JMenu("Tracks"); viewEigenvector = new JCheckBoxMenuItem("View Eigenvector..."); viewEigenvector.addItemListener(new ItemListener() { public void itemStateChanged(ItemEvent e) { if (viewEigenvector.isSelected()) { if (eigenvectorTrack == null) { eigenvectorTrack = new EigenvectorTrack("eigen", "Eigenvectors"); } updateEigenvectorTrack(); } else { trackPanel.setEigenvectorTrack(null); if (HiCTrackManager.getLoadedTracks().isEmpty()) { trackPanel.setVisible(false); } } } }); viewEigenvector.setEnabled(false); tracksMenu.add(viewEigenvector); JMenuItem loadItem = new JMenuItem("Load..."); loadItem.addActionListener(new AbstractAction() { @Override public void actionPerformed(ActionEvent actionEvent) { HiCTrackManager.loadHostedTrack(MainWindow.this); } }); tracksMenu.add(loadItem); JMenuItem loadFromFileItem = new JMenuItem("Load from file..."); loadFromFileItem.addActionListener(new AbstractAction() { @Override public void actionPerformed(ActionEvent actionEvent) { HiCTrackManager.loadTrackFromFile(MainWindow.this); } }); tracksMenu.add(loadFromFileItem); menuBar.add(tracksMenu); //======== Extras menu ======== JMenu extrasMenu = new JMenu("Extras"); JMenuItem dumpPearsons = new JMenuItem("Dump pearsons matrix ..."); dumpPearsons.addActionListener(new AbstractAction() { @Override public void actionPerformed(ActionEvent actionEvent) { BasicMatrix pearsons = hic.zd.getPearsons(); try { String chr1 = hic.getChromosomes()[hic.zd.getChr1()].getName(); String chr2 = hic.getChromosomes()[hic.zd.getChr2()].getName(); int binSize = hic.zd.getBinSize(); File initFile = new File("pearsons_" + chr1 + "_" + "_" + chr2 + "_" + binSize + ".bin"); File f = FileDialogUtils.chooseFile("Save pearsons", null, initFile, FileDialogUtils.SAVE); if (f != null) { ScratchPad.dumpPearsonsBinary(pearsons, chr1, chr2, hic.zd.getBinSize(), f); } } catch (IOException e) { e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. } } }); JMenuItem dumpEigenvector = new JMenuItem("Dump eigenvector ..."); dumpEigenvector.addActionListener(new AbstractAction() { @Override public void actionPerformed(ActionEvent actionEvent) { try { ScratchPad.dumpEigenvector(hic); } catch (IOException e) { e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. } } }); extrasMenu.add(dumpEigenvector); JMenuItem readPearsons = new JMenuItem("Read pearsons..."); readPearsons.addActionListener(new AbstractAction() { @Override public void actionPerformed(ActionEvent actionEvent) { try { File f = FileDialogUtils.chooseFile("Pearsons file (Yunfan format)"); if (f != null) { BasicMatrix bm = ScratchPad.readPearsons(f.getAbsolutePath()); hic.zd.setPearsons(bm); } } catch (IOException e) { e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. } } }); extrasMenu.add(readPearsons); extrasMenu.add(dumpPearsons); menuBar.add(extrasMenu); return menuBar; }
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.//from w w w . j av a 2s .c om */ // <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); }
From source file:org.datavyu.views.DatavyuView.java
/** * Creates a new menu item for running a named script. * * @param f// w w w.java2s . co m * The file to run when menu item is selected. * @return The jmenuitem that can be added to a menu. */ public JMenuItem createScriptMenuItemFromFile(final File f) { JMenuItem menuItem = new JMenuItem(); menuItem.setText(f.toString()); menuItem.setName(f.toString()); menuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(final java.awt.event.ActionEvent evt) { runRecentScript(evt); } }); return menuItem; }
From source file:org.datavyu.views.DatavyuView.java
/** * Creates a new menu item for opening a file. * * @param file/*from www . j av a2 s . c o m*/ * The file to open. * @return The menu item associated with the file. */ private JMenuItem createRecentFileMenuItem(final File file) { JMenuItem menuItem = new JMenuItem(); menuItem.setText(file.toString()); menuItem.setName(file.toString()); menuItem.addActionListener(new ActionListener() { public void actionPerformed(final ActionEvent e) { open(file); } }); return menuItem; }
From source file:org.gcaldaemon.gui.ConfigEditor.java
private ConfigEditor(MainConfig config, ProgressMonitor monitor) throws Exception { this.config = config; try {// w w w. j a va 2 s. c o m // Init swing System.setProperty("sun.awt.noerasebackground", "false"); //$NON-NLS-1$ //$NON-NLS-2$ System.setProperty("swing.aatext", "true"); //$NON-NLS-1$ //$NON-NLS-2$ System.setProperty("swing.boldMetal", "false"); //$NON-NLS-1$ //$NON-NLS-2$ Locale locale = Locale.getDefault(); String code = null; try { code = config.getConfigProperty(Configurator.EDITOR_LANGUAGE, null); if (code != null) { locale = new Locale(code); } } catch (Exception invalidLocale) { log.warn(invalidLocale); } if (!Messages.setUserLocale(locale)) { locale = Locale.ENGLISH; Messages.setUserLocale(locale); code = null; } if (code == null) { config.setConfigProperty(Configurator.EDITOR_LANGUAGE, locale.getLanguage().toLowerCase()); } try { boolean lookAndFeelChanged = false; String oldLaf = UIManager.getLookAndFeel().getClass().getName(); String newLaf = config.getConfigProperty(Configurator.EDITOR_LOOK_AND_FEEL, UIManager.getCrossPlatformLookAndFeelClassName()); lookAndFeelChanged = !oldLaf.equals(newLaf); if (lookAndFeelChanged) { UIManager.setLookAndFeel(newLaf); } if (config.getConfigProperty(Configurator.EDITOR_LOOK_AND_FEEL, null) == null) { config.setConfigProperty(Configurator.EDITOR_LOOK_AND_FEEL, newLaf); } if (lookAndFeelChanged) { new ConfigEditor(config, monitor); dispose(); return; } } catch (Exception invalidLaf) { log.warn(invalidLaf); } // Window settings setTitle(Messages.getString("config.editor") + " - " + config.getConfigPath()); //$NON-NLS-1$ //$NON-NLS-2$ setIconImage(TOOLKIT.getImage(ConfigEditor.class.getResource("/org/gcaldaemon/gui/icons/icon.gif"))); //$NON-NLS-1$ setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); Container root = getContentPane(); root.setLayout(new BorderLayout()); root.add(folder, BorderLayout.CENTER); folder.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); folder.setTabPlacement(JTabbedPane.LEFT); folder.addChangeListener(this); status.setBorder(new BevelBorder(BevelBorder.LOWERED)); root.add(status, BorderLayout.SOUTH); // Create menu items fileMenu = new JMenu(Messages.getString("file")); //$NON-NLS-1$ saveMenu = new JMenuItem(Messages.getString("save"), getIcon("save")); //$NON-NLS-1$ //$NON-NLS-2$ exitMenu = new JMenuItem(Messages.getString("exit"), getIcon("exit")); //$NON-NLS-1$ //$NON-NLS-2$ viewMenu = new JMenu(Messages.getString("view")); //$NON-NLS-1$ langMenu = new JMenu(Messages.getString("language")); //$NON-NLS-1$ lafMenu = new JMenu(Messages.getString("look.and.feel")); //$NON-NLS-1$ transMenu = new JMenuItem(Messages.getString("translate")); //$NON-NLS-1$ logMenu = new JMenuItem(Messages.getString("log.viewer")); //$NON-NLS-1$ helpMenu = new JMenu(Messages.getString("help")); //$NON-NLS-1$ aboutMenu = new JMenuItem(Messages.getString("about")); //$NON-NLS-1$ // Build menu setJMenuBar(menuBar); menuBar.add(fileMenu); fileMenu.add(saveMenu); fileMenu.addSeparator(); fileMenu.add(exitMenu); menuBar.add(viewMenu); viewMenu.add(logMenu); viewMenu.addSeparator(); viewMenu.add(langMenu); viewMenu.add(lafMenu); langMenu.add(transMenu); menuBar.add(helpMenu); helpMenu.add(aboutMenu); // Build language menu Locale[] locales = Messages.getAvailableLocales(); String[] names = new String[locales.length]; String temp; int i; for (i = 0; i < locales.length; i++) { names[i] = locales[i].getDisplayLanguage(Locale.ENGLISH); if (names[i] == null || names[i].length() == 0) { names[i] = locales[i].getLanguage().toLowerCase(); } temp = locales[i].getDisplayLanguage(locale); if (temp != null && temp.length() > 0 && !temp.equals(names[i])) { names[i] = names[i] + " [" + temp + ']'; } } Arrays.sort(names, String.CASE_INSENSITIVE_ORDER); if (locales.length != 0) { langMenu.addSeparator(); } for (i = 0; i < locales.length; i++) { JMenuItem item = new JMenuItem(names[i]); item.setName('!' + names[i]); langMenu.add(item); item.addActionListener(this); } // Build look and feel menu LookAndFeelInfo[] infos = UIManager.getInstalledLookAndFeels(); LookAndFeelInfo info; for (i = 0; i < infos.length; i++) { info = infos[i]; JMenuItem item = new JMenuItem(info.getName()); item.addActionListener(this); item.setName('#' + info.getClassName()); lafMenu.add(item); } // Action listeners addWindowListener(this); folder.addChangeListener(this); exitMenu.addActionListener(this); saveMenu.addActionListener(this); transMenu.addActionListener(this); logMenu.addActionListener(this); aboutMenu.addActionListener(this); // Add pages addPage("common.settings", new CommonPage(config, this)); //$NON-NLS-1$ addPage("http.settings", new HttpPage(config, this)); //$NON-NLS-1$ addPage("file.settings", new FilePage(config, this)); //$NON-NLS-1$ addPage("feed.settings", new FeedPage(config, this)); //$NON-NLS-1$ addPage("ldap.settings", new LdapPage(config, this)); //$NON-NLS-1$ addPage("notifier.settings", new NotifierPage(config, this)); //$NON-NLS-1$ addPage("sendmail.settings", new SendmailPage(config, this)); //$NON-NLS-1$ addPage("mailterm.settings", new MailtermPage(config, this)); //$NON-NLS-1$ // Set tab colors Iterator editors = disabledServices.iterator(); while (editors.hasNext()) { setServiceEnabled((BooleanEditor) editors.next(), false); } disabledServices = null; // Show GUI setResizable(true); Dimension size = TOOLKIT.getScreenSize(); int w = size.width - 50; int h = size.height - 70; w = Math.min(w, 1000); h = Math.min(h, 700); setSize(w, h); setLocation((size.width - w) / 2, (size.height - h) / 2); validate(); if (monitor != null) { monitor.dispose(); } setVisible(true); toFront(); } catch (Exception error) { if (monitor != null) { monitor.dispose(); } error(Messages.getString("error"), "Unable to start configurator: " + error, error); } }
From source file:org.nuclos.client.common.NuclosCollectController.java
protected void setupSearchToolBar() { final Action actSaveFilter = new CommonAbstractAction( getSpringLocaleDelegate().getMessage("NuclosCollectController.9", "Filter speichern"), Icons.getInstance().getIconSave16(), getSpringLocaleDelegate().getMessage( "NuclosCollectController.5", "Eingestelltes Suchkriterium als Filter speichern")) { @Override// w w w . ja va 2 s. c om public void actionPerformed(ActionEvent ev) { cmdSaveFilter(); } }; final Action actRemoveFilter = new CommonAbstractAction( getSpringLocaleDelegate().getMessage("NuclosCollectController.8", "Filter l\u00f6schen"), Icons.getInstance().getIconDelete16(), getSpringLocaleDelegate() .getMessage("NuclosCollectController.2", "Ausgew\u00e4hlten Filter l\u00f6schen")) { @Override public void actionPerformed(ActionEvent ev) { cmdRemoveFilter(); } }; //result.add(Box.createHorizontalStrut(5)); CenteringPanel cpSearchFilter = new CenteringPanel(getSearchPanel().cmbbxSearchFilter) { @Override public Dimension getMinimumSize() { return this.getCenteredComponent().getMinimumSize(); } @Override public Dimension getMaximumSize() { return this.getCenteredComponent().getPreferredSize(); } }; cpSearchFilter.setOpaque(false); ColoredLabel bl = new ColoredLabel(cpSearchFilter, getSpringLocaleDelegate().getMessage("CollectController.Search.Filter", "Filter")); bl.setName("blChooseFilter"); this.getSearchPanel().addToolBarComponent(bl); //result.add(cpSearchFilter); //result.add(Box.createHorizontalStrut(2)); this.getSearchPanel().addPopupExtraSeparator(); JMenuItem btnSaveFilter = this.getSearchPanel().addPopupExtraMenuItem(new JMenuItem(actSaveFilter)); JMenuItem btnRemoveFilter = this.getSearchPanel().addPopupExtraMenuItem(new JMenuItem(actRemoveFilter)); //final JButton btnSaveFilter = result.add(actSaveFilter); //final JButton btnRemoveFilter = result.add(actRemoveFilter); // disable the remove filter action initially: actRemoveFilter.setEnabled(false); btnSaveFilter.setName("btnSaveFilter"); btnRemoveFilter.setName("btnRemoveFilter"); getSearchPanel().cmbbxSearchFilter.setName("cmbbxSearchFilter"); getSearchPanel().cmbbxSearchFilter.setToolTipText(getSpringLocaleDelegate() .getMessage("NuclosCollectController.15", "W\u00e4hlen Sie hier einen Suchfilter aus")); getSearchPanel().cmbbxSearchFilter.addActionListener(this.alSearchFilter); // set tool tips dynamically: getSearchPanel().cmbbxSearchFilter.setRenderer(new DefaultListCellRenderer() { @Override public Component getListCellRendererComponent(JList lst, Object oValue, int index, boolean bSelected, boolean bCellHasFocus) { final JComponent result = (JComponent) super.getListCellRendererComponent(lst, oValue, index, bSelected, bCellHasFocus); String sToolTip = null; if (oValue != null) { final SearchFilter filter = (SearchFilter) oValue; if (result instanceof JLabel && !StringUtils.isNullOrEmpty(filter.getLabelResourceId())) { ((JLabel) result).setText(getSpringLocaleDelegate() .getTextFallback(filter.getLabelResourceId(), filter.getName())); } if (!StringUtils.isNullOrEmpty(filter.getDescriptionResourceId())) { sToolTip = getSpringLocaleDelegate().getTextFallback(filter.getDescriptionResourceId(), filter.getDescriptionResourceId()); } else { sToolTip = filter.getDescription(); } if (filter.getOwner() != null && !(filter.getOwner().equals(Main.getInstance().getMainController().getUserName()))) { sToolTip = sToolTip + " (" + filter.getOwner() + ")"; } result.setToolTipText(sToolTip); } return result; } }); // set the tool tip for the combobox also, as the tool tip for the renderer seems to be // taken in dropped down items only: getSearchPanel().cmbbxSearchFilter.addItemListener(new ItemListener() { @Override public void itemStateChanged(ItemEvent ev) { final boolean bSelected = (ev.getStateChange() == ItemEvent.SELECTED); boolean bRegularFilterSelected = bSelected; String sToolTip = null; if (bSelected) { final SearchFilter filter = (SearchFilter) ev.getItem(); assert filter != null; sToolTip = filter.getDescription(); LOG.debug("Filter selected: " + filter.getName()); bRegularFilterSelected = !filter.isDefaultFilter(); } getSearchPanel().cmbbxSearchFilter.setToolTipText(sToolTip); // enable/disable remove filter action - the empty filter cannot be removed: actRemoveFilter.setEnabled(bRegularFilterSelected); } }); //return result; }
From source file:org.signserver.admin.gui.MainView.java
/** This method is called from within the constructor to * initialize the form./*from ww w.ja v a 2s.com*/ * 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() { menuBar = new javax.swing.JMenuBar(); javax.swing.JMenu fileMenu = new javax.swing.JMenu(); addWorkerItem = new javax.swing.JMenuItem(); exportMenuItem = new javax.swing.JMenuItem(); javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem(); editMenu = new javax.swing.JMenu(); activateMenu = new javax.swing.JMenuItem(); deactivateMenu = new javax.swing.JMenuItem(); jSeparator7 = new javax.swing.JPopupMenu.Separator(); renewKeyMenu = new javax.swing.JMenuItem(); testKeyMenu = new javax.swing.JMenuItem(); generateRequestMenu = new javax.swing.JMenuItem(); installCertificatesMenu = new javax.swing.JMenuItem(); jSeparator5 = new javax.swing.JPopupMenu.Separator(); renewSignerMenu = new javax.swing.JMenuItem(); removeKeyMenu = new javax.swing.JMenuItem(); jSeparator8 = new javax.swing.JPopupMenu.Separator(); removeWorkerMenu = new javax.swing.JMenuItem(); jSeparator9 = new javax.swing.JPopupMenu.Separator(); reloadMenu = new javax.swing.JMenuItem(); globalConfigurationMenu = new javax.swing.JMenuItem(); administratorsMenu = new javax.swing.JMenuItem(); viewMenu = new javax.swing.JMenu(); refreshMenu = new javax.swing.JMenuItem(); jSeparator4 = new javax.swing.JPopupMenu.Separator(); statusSummaryMenu = new javax.swing.JMenuItem(); statusPropertiesMenu = new javax.swing.JMenuItem(); configurationMenu = new javax.swing.JMenuItem(); authorizationsMenu = new javax.swing.JMenuItem(); jSeparator3 = new javax.swing.JPopupMenu.Separator(); javax.swing.JMenu helpMenu = new javax.swing.JMenu(); javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem(); jToolBar1 = new javax.swing.JToolBar(); refreshButton = new javax.swing.JButton(); jSeparator1 = new javax.swing.JToolBar.Separator(); activateButton = new javax.swing.JButton(); deactivateButton = new javax.swing.JButton(); jSeparator2 = new javax.swing.JToolBar.Separator(); renewKeyButton = new javax.swing.JButton(); testKeyButton = new javax.swing.JButton(); generateRequestsButton = new javax.swing.JButton(); installCertificatesButton = new javax.swing.JButton(); jSeparator6 = new javax.swing.JToolBar.Separator(); renewSignerButton = new javax.swing.JButton(); statusPanel = new javax.swing.JPanel(); statusMessageLabel = new javax.swing.JLabel(); statusAnimationLabel = new javax.swing.JLabel(); progressBar = new javax.swing.JProgressBar(); authEditPanel = new javax.swing.JPanel(); jLabel4 = new javax.swing.JLabel(); editSerialNumberTextfield = new javax.swing.JTextField(); jLabel5 = new javax.swing.JLabel(); editIssuerDNTextfield = new javax.swing.JTextField(); editUpdateAllCheckbox = new javax.swing.JCheckBox(); loadCertButton = new javax.swing.JButton(); passwordPanel = new javax.swing.JPanel(); passwordPanelLabel = new javax.swing.JLabel(); passwordPanelField = new javax.swing.JPasswordField(); jTabbedPane1 = new javax.swing.JTabbedPane(); mainPanel = new javax.swing.JPanel(); jSplitPane1 = new javax.swing.JSplitPane(); jScrollPane2 = new javax.swing.JScrollPane(); workersList = new javax.swing.JList(); jPanel1 = new javax.swing.JPanel(); workerComboBox = new javax.swing.JComboBox(); workerTabbedPane = new javax.swing.JTabbedPane(); statusSummaryTab = new javax.swing.JScrollPane(); statusSummaryTextPane = new javax.swing.JTextPane(); statusPropertiesTab = new javax.swing.JPanel(); statusPropertiesScrollPane = new javax.swing.JScrollPane(); propertiesTable = new javax.swing.JTable(); statusPropertiesDetailsButton = new javax.swing.JButton(); configurationTab = new javax.swing.JPanel(); jScrollPane6 = new javax.swing.JScrollPane(); configurationTable = new javax.swing.JTable(); addButton = new javax.swing.JButton(); editButton = new javax.swing.JButton(); removeButton = new javax.swing.JButton(); authorizationTab = new javax.swing.JPanel(); jScrollPane7 = new javax.swing.JScrollPane(); authTable = new javax.swing.JTable(); authAddButton = new javax.swing.JButton(); authEditButton = new javax.swing.JButton(); authRemoveButton = new javax.swing.JButton(); cryptoTokenTab = new javax.swing.JPanel(); tokenEntriesReloadButton = new javax.swing.JButton(); tokenEntriesGenerateKeyButton = new javax.swing.JButton(); tokenEntriesTestButton = new javax.swing.JButton(); tokenEntriesGenerateCSRButton = new javax.swing.JButton(); tokenEntriesImportButton = new javax.swing.JButton(); tokenEntriesRemoveButton = new javax.swing.JButton(); tokenEntriesDetailsButton = new javax.swing.JButton(); tokenEntriesStartIndexTextfield = new javax.swing.JTextField(); tokenEntriesDisplayingToIndex = new javax.swing.JLabel(); tokenEntriesNextButton = new javax.swing.JButton(); jLabel15 = new javax.swing.JLabel(); tokenEntriesMaxEntriesTextfield = new javax.swing.JTextField(); tokenEntriesFirstButton = new javax.swing.JButton(); tokenEntriesPreviousButton = new javax.swing.JButton(); jLabel1 = new javax.swing.JLabel(); tokenEntriesPanel = new javax.swing.JPanel(); tokenEntriesScrollpane = new javax.swing.JScrollPane(); tokenEntriesTable = new javax.swing.JTable(); tokenEntriesErrorPanel = new javax.swing.JPanel(); jScrollPane9 = new javax.swing.JScrollPane(); tokenEntriesErrorEditor = new javax.swing.JEditorPane(); auditPanel = new javax.swing.JPanel(); jSplitPane2 = new javax.swing.JSplitPane(); jPanel2 = new javax.swing.JPanel(); jLabel3 = new javax.swing.JLabel(); jScrollPane3 = new javax.swing.JScrollPane(); conditionsTable = new javax.swing.JTable(); jButtonAuditConditionAdd = new javax.swing.JButton(); jButtonAuditConditionRemove = new javax.swing.JButton(); jPanel3 = new javax.swing.JPanel(); auditlogFirstButton = new javax.swing.JButton(); auditlogPreviousButton = new javax.swing.JButton(); auditlogReloadButton = new javax.swing.JButton(); auditlogNextButton = new javax.swing.JButton(); jLabel6 = new javax.swing.JLabel(); auditlogStartIndexTextfield = new javax.swing.JTextField(); auditlogDisplayingToIndex = new javax.swing.JLabel(); jLabel8 = new javax.swing.JLabel(); auditlogMaxEntriesTextfield = new javax.swing.JTextField(); auditlogPanel = new javax.swing.JPanel(); auditlogTablePanel = new javax.swing.JPanel(); auditlogTableScrollPane = new javax.swing.JScrollPane(); auditLogTable = new javax.swing.JTable(); auditlogErrorPanel = new javax.swing.JPanel(); jScrollPane5 = new javax.swing.JScrollPane(); auditlogErrorEditor = new javax.swing.JEditorPane(); archivePanel = new javax.swing.JPanel(); jSplitPane3 = new javax.swing.JSplitPane(); jPanel4 = new javax.swing.JPanel(); jLabel11 = new javax.swing.JLabel(); jScrollPane4 = new javax.swing.JScrollPane(); archiveConditionsTable = new javax.swing.JTable(); jButtonArchiveAuditConditionAdd = new javax.swing.JButton(); jButtonArchiveConditionRemove = new javax.swing.JButton(); jPanel5 = new javax.swing.JPanel(); archiveFirstButton = new javax.swing.JButton(); archivePreviousButton = new javax.swing.JButton(); archiveReloadButton = new javax.swing.JButton(); archiveNextButton = new javax.swing.JButton(); jLabel12 = new javax.swing.JLabel(); archiveStartIndexTextfield = new javax.swing.JTextField(); archiveDisplayingToIndex = new javax.swing.JLabel(); jLabel13 = new javax.swing.JLabel(); archiveMaxEntriesTextfield = new javax.swing.JTextField(); archiveContentPanel = new javax.swing.JPanel(); archiveTablePanel = new javax.swing.JPanel(); archiveTableScrollPane = new javax.swing.JScrollPane(); archiveTable = new javax.swing.JTable(); archiveErrorPanel = new javax.swing.JPanel(); jScrollPane8 = new javax.swing.JScrollPane(); archiveErrorEditor = new javax.swing.JEditorPane(); downloadArchiveEntriesButton = new javax.swing.JButton(); removeKeyPanel = new javax.swing.JPanel(); jLabel7 = new javax.swing.JLabel(); aliasTextField = new javax.swing.JTextField(); reloadPanel = new javax.swing.JPanel(); jEditorPane1 = new javax.swing.JEditorPane(); reloadAllWorkersRadioButton = new javax.swing.JRadioButton(); reloadSelectedWorkersRadioButton = new javax.swing.JRadioButton(); jLabel9 = new javax.swing.JLabel(); reloadPanelButtonGroup = new javax.swing.ButtonGroup(); exportPanel = new javax.swing.JPanel(); jLabel10 = new javax.swing.JLabel(); exportAllRadioButton = new javax.swing.JRadioButton(); exportSelectedRadioButton = new javax.swing.JRadioButton(); exportNoRadioButton = new javax.swing.JRadioButton(); exportAllUnrelatedGlobalCheckbox = new javax.swing.JCheckBox(); exportPanelButtonGroup = new javax.swing.ButtonGroup(); menuBar.setName("menuBar"); // NOI18N fileMenu.setMnemonic('F'); org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application .getInstance(org.signserver.admin.gui.SignServerAdminGUIApplication.class).getContext() .getResourceMap(MainView.class); fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N fileMenu.setName("fileMenu"); // NOI18N addWorkerItem.setText(resourceMap.getString("addWorkerItem.text")); // NOI18N addWorkerItem.setName("addWorkerItem"); // NOI18N addWorkerItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { addWorkerItemActionPerformed(evt); } }); fileMenu.add(addWorkerItem); javax.swing.ActionMap actionMap = org.jdesktop.application.Application .getInstance(org.signserver.admin.gui.SignServerAdminGUIApplication.class).getContext() .getActionMap(MainView.class, this); exportMenuItem.setAction(actionMap.get("exportConfig")); // NOI18N exportMenuItem.setText(resourceMap.getString("exportMenuItem.text")); // NOI18N exportMenuItem.setName("exportMenuItem"); // NOI18N fileMenu.add(exportMenuItem); exitMenuItem.setAction(actionMap.get("quit")); // NOI18N exitMenuItem.setName("exitMenuItem"); // NOI18N fileMenu.add(exitMenuItem); menuBar.add(fileMenu); editMenu.setAction(actionMap.get("testKeys")); // NOI18N editMenu.setText(resourceMap.getString("editMenu.text")); // NOI18N editMenu.setName("editMenu"); // NOI18N activateMenu.setAction(actionMap.get("activateWorkers")); // NOI18N activateMenu.setText(resourceMap.getString("activateMenu.text")); // NOI18N activateMenu.setName("activateMenu"); // NOI18N editMenu.add(activateMenu); deactivateMenu.setAction(actionMap.get("deactivateWorkers")); // NOI18N deactivateMenu.setText(resourceMap.getString("deactivateMenu.text")); // NOI18N deactivateMenu.setName("deactivateMenu"); // NOI18N editMenu.add(deactivateMenu); jSeparator7.setName("jSeparator7"); // NOI18N editMenu.add(jSeparator7); renewKeyMenu.setAction(actionMap.get("renewKeys")); // NOI18N renewKeyMenu.setText(resourceMap.getString("renewKeyMenu.text")); // NOI18N renewKeyMenu.setName("renewKeyMenu"); // NOI18N editMenu.add(renewKeyMenu); testKeyMenu.setAction(actionMap.get("testKeys")); // NOI18N testKeyMenu.setText(resourceMap.getString("testKeyMenu.text")); // NOI18N testKeyMenu.setName("testKeyMenu"); // NOI18N editMenu.add(testKeyMenu); generateRequestMenu.setAction(actionMap.get("generateRequests")); // NOI18N generateRequestMenu.setText(resourceMap.getString("generateRequestMenu.text")); // NOI18N generateRequestMenu.setName("generateRequestMenu"); // NOI18N editMenu.add(generateRequestMenu); installCertificatesMenu.setAction(actionMap.get("installCertificates")); // NOI18N installCertificatesMenu.setText(resourceMap.getString("installCertificatesMenu.text")); // NOI18N installCertificatesMenu.setName("installCertificatesMenu"); // NOI18N editMenu.add(installCertificatesMenu); jSeparator5.setName("jSeparator5"); // NOI18N editMenu.add(jSeparator5); renewSignerMenu.setAction(actionMap.get("renewSigner")); // NOI18N renewSignerMenu.setText(resourceMap.getString("renewSignerMenu.text")); // NOI18N renewSignerMenu.setName("renewSignerMenu"); // NOI18N editMenu.add(renewSignerMenu); removeKeyMenu.setAction(actionMap.get("removeKey")); // NOI18N removeKeyMenu.setText(resourceMap.getString("removeKeyMenu.text")); // NOI18N removeKeyMenu.setName("removeKeyMenu"); // NOI18N editMenu.add(removeKeyMenu); jSeparator8.setName("jSeparator8"); // NOI18N editMenu.add(jSeparator8); removeWorkerMenu.setAction(actionMap.get("removeWorkers")); // NOI18N removeWorkerMenu.setText(resourceMap.getString("removeWorkerMenu.text")); // NOI18N removeWorkerMenu.setName("removeWorkerMenu"); // NOI18N editMenu.add(removeWorkerMenu); jSeparator9.setName("jSeparator9"); // NOI18N editMenu.add(jSeparator9); reloadMenu.setAction(actionMap.get("reloadFromDatabase")); // NOI18N reloadMenu.setText(resourceMap.getString("reloadMenu.text")); // NOI18N reloadMenu.setName("reloadMenu"); // NOI18N editMenu.add(reloadMenu); globalConfigurationMenu.setMnemonic('G'); globalConfigurationMenu.setText(resourceMap.getString("globalConfigurationMenu.text")); // NOI18N globalConfigurationMenu.setName("globalConfigurationMenu"); // NOI18N globalConfigurationMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { globalConfigurationMenuActionPerformed(evt); } }); editMenu.add(globalConfigurationMenu); administratorsMenu.setMnemonic('m'); administratorsMenu.setText(resourceMap.getString("administratorsMenu.text")); // NOI18N administratorsMenu.setName("administratorsMenu"); // NOI18N administratorsMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { administratorsMenuActionPerformed(evt); } }); editMenu.add(administratorsMenu); menuBar.add(editMenu); viewMenu.setMnemonic('V'); viewMenu.setText(resourceMap.getString("viewMenu.text")); // NOI18N viewMenu.setName("viewMenu"); // NOI18N refreshMenu.setAction(actionMap.get("refreshWorkers")); // NOI18N refreshMenu.setText(resourceMap.getString("refreshMenu.text")); // NOI18N refreshMenu.setName("refreshMenu"); // NOI18N viewMenu.add(refreshMenu); jSeparator4.setName("jSeparator4"); // NOI18N viewMenu.add(jSeparator4); statusSummaryMenu.setText(resourceMap.getString("statusSummaryMenu.text")); // NOI18N statusSummaryMenu.setName("statusSummaryMenu"); // NOI18N statusSummaryMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { statusSummaryMenuActionPerformed(evt); } }); viewMenu.add(statusSummaryMenu); statusPropertiesMenu.setText(resourceMap.getString("statusPropertiesMenu.text")); // NOI18N statusPropertiesMenu.setName("statusPropertiesMenu"); // NOI18N statusPropertiesMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { statusPropertiesMenuActionPerformed(evt); } }); viewMenu.add(statusPropertiesMenu); configurationMenu.setText(resourceMap.getString("configurationMenu.text")); // NOI18N configurationMenu.setName("configurationMenu"); // NOI18N configurationMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { configurationMenuActionPerformed(evt); } }); viewMenu.add(configurationMenu); authorizationsMenu.setText(resourceMap.getString("authorizationsMenu.text")); // NOI18N authorizationsMenu.setName("authorizationsMenu"); // NOI18N authorizationsMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { authorizationsMenuActionPerformed(evt); } }); viewMenu.add(authorizationsMenu); jSeparator3.setName("jSeparator3"); // NOI18N viewMenu.add(jSeparator3); menuBar.add(viewMenu); helpMenu.setMnemonic('H'); helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N helpMenu.setName("helpMenu"); // NOI18N aboutMenuItem.setAction(actionMap.get("showAboutBox")); // NOI18N aboutMenuItem.setName("aboutMenuItem"); // NOI18N helpMenu.add(aboutMenuItem); menuBar.add(helpMenu); jToolBar1.setRollover(true); jToolBar1.setName("jToolBar1"); // NOI18N refreshButton.setAction(actionMap.get("refreshWorkers")); // NOI18N refreshButton.setText(resourceMap.getString("refreshButton.text")); // NOI18N refreshButton.setFocusable(false); refreshButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); refreshButton.setName("refreshButton"); // NOI18N refreshButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(refreshButton); jSeparator1.setName("jSeparator1"); // NOI18N jToolBar1.add(jSeparator1); activateButton.setAction(actionMap.get("activateWorkers")); // NOI18N activateButton.setText(resourceMap.getString("activateButton.text")); // NOI18N activateButton.setFocusable(false); activateButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); activateButton.setName("activateButton"); // NOI18N activateButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(activateButton); deactivateButton.setAction(actionMap.get("deactivateWorkers")); // NOI18N deactivateButton.setText(resourceMap.getString("deactivateButton.text")); // NOI18N deactivateButton.setFocusable(false); deactivateButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); deactivateButton.setName("deactivateButton"); // NOI18N deactivateButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(deactivateButton); jSeparator2.setName("jSeparator2"); // NOI18N jToolBar1.add(jSeparator2); renewKeyButton.setAction(actionMap.get("renewKeys")); // NOI18N renewKeyButton.setText(resourceMap.getString("renewKeyButton.text")); // NOI18N renewKeyButton.setFocusable(false); renewKeyButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); renewKeyButton.setName("renewKeyButton"); // NOI18N renewKeyButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(renewKeyButton); testKeyButton.setAction(actionMap.get("testKeys")); // NOI18N testKeyButton.setText(resourceMap.getString("testKeyButton.text")); // NOI18N testKeyButton.setFocusable(false); testKeyButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); testKeyButton.setName("testKeyButton"); // NOI18N testKeyButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(testKeyButton); generateRequestsButton.setAction(actionMap.get("generateRequests")); // NOI18N generateRequestsButton.setText(resourceMap.getString("generateRequestsButton.text")); // NOI18N generateRequestsButton.setFocusable(false); generateRequestsButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); generateRequestsButton.setName("generateRequestsButton"); // NOI18N generateRequestsButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(generateRequestsButton); installCertificatesButton.setAction(actionMap.get("installCertificates")); // NOI18N installCertificatesButton.setText(resourceMap.getString("installCertificatesButton.text")); // NOI18N installCertificatesButton.setFocusable(false); installCertificatesButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); installCertificatesButton.setName("installCertificatesButton"); // NOI18N installCertificatesButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(installCertificatesButton); jSeparator6.setName("jSeparator6"); // NOI18N jToolBar1.add(jSeparator6); renewSignerButton.setAction(actionMap.get("renewSigner")); // NOI18N renewSignerButton.setText(resourceMap.getString("renewSignerButton.text")); // NOI18N renewSignerButton.setFocusable(false); renewSignerButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); renewSignerButton.setName("renewSignerButton"); // NOI18N renewSignerButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(renewSignerButton); statusPanel.setName("statusPanel"); // 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) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, statusPanelLayout.createSequentialGroup() .addContainerGap(1209, 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, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(statusPanelLayout.createSequentialGroup().addGap(135, 135, 135) .addComponent(statusMessageLabel).addContainerGap(1273, Short.MAX_VALUE)))); statusPanelLayout.setVerticalGroup(statusPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(statusAnimationLabel, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(progressBar, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(statusPanelLayout.createSequentialGroup().addContainerGap() .addComponent(statusMessageLabel) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))); authEditPanel.setName("authEditPanel"); // NOI18N jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N jLabel4.setName("jLabel4"); // NOI18N editSerialNumberTextfield.setName("editSerialNumberTextfield"); // NOI18N jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N jLabel5.setName("jLabel5"); // NOI18N editIssuerDNTextfield.setName("editIssuerDNTextfield"); // NOI18N editUpdateAllCheckbox.setText(resourceMap.getString("editUpdateAllCheckbox.text")); // NOI18N editUpdateAllCheckbox.setName("editUpdateAllCheckbox"); // NOI18N loadCertButton.setText(resourceMap.getString("loadCertButton.text")); // NOI18N loadCertButton.setName("loadCertButton"); // NOI18N loadCertButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { loadFromCertificateButtonPerformed(evt); } }); javax.swing.GroupLayout authEditPanelLayout = new javax.swing.GroupLayout(authEditPanel); authEditPanel.setLayout(authEditPanelLayout); authEditPanelLayout.setHorizontalGroup(authEditPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(authEditPanelLayout.createSequentialGroup().addContainerGap() .addGroup(authEditPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(editSerialNumberTextfield, javax.swing.GroupLayout.DEFAULT_SIZE, 331, Short.MAX_VALUE) .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, 331, Short.MAX_VALUE) .addComponent(editIssuerDNTextfield, javax.swing.GroupLayout.DEFAULT_SIZE, 331, Short.MAX_VALUE) .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, 331, Short.MAX_VALUE) .addComponent(editUpdateAllCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE, 331, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(loadCertButton, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE))); authEditPanelLayout.setVerticalGroup(authEditPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(authEditPanelLayout.createSequentialGroup().addGap(51, 51, 51).addComponent(jLabel4) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(authEditPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(editSerialNumberTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(loadCertButton)) .addGap(18, 18, 18).addComponent(jLabel5) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(editIssuerDNTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(45, 45, 45).addComponent(editUpdateAllCheckbox) .addContainerGap(60, Short.MAX_VALUE))); passwordPanel.setName("passwordPanel"); // NOI18N passwordPanelLabel.setText(resourceMap.getString("passwordPanelLabel.text")); // NOI18N passwordPanelLabel.setName("passwordPanelLabel"); // NOI18N passwordPanelField.setText(resourceMap.getString("passwordPanelField.text")); // NOI18N passwordPanelField.setName("passwordPanelField"); // NOI18N javax.swing.GroupLayout passwordPanelLayout = new javax.swing.GroupLayout(passwordPanel); passwordPanel.setLayout(passwordPanelLayout); passwordPanelLayout.setHorizontalGroup( passwordPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup( javax.swing.GroupLayout.Alignment.TRAILING, passwordPanelLayout.createSequentialGroup().addContainerGap() .addGroup(passwordPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(passwordPanelField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 391, Short.MAX_VALUE) .addComponent(passwordPanelLabel, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 391, Short.MAX_VALUE)) .addContainerGap())); passwordPanelLayout.setVerticalGroup(passwordPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(passwordPanelLayout.createSequentialGroup().addContainerGap() .addComponent(passwordPanelLabel) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(passwordPanelField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jTabbedPane1.setName("jTabbedPane1"); // NOI18N mainPanel.setName("mainPanel"); // NOI18N jSplitPane1.setName("jSplitPane1"); // NOI18N jScrollPane2.setMinimumSize(new java.awt.Dimension(250, 26)); jScrollPane2.setName("jScrollPane2"); // NOI18N jScrollPane2.setPreferredSize(new java.awt.Dimension(550, 202)); workersList.setName("workersList"); // NOI18N jScrollPane2.setViewportView(workersList); jSplitPane1.setLeftComponent(jScrollPane2); jPanel1.setName("jPanel1"); // NOI18N workerComboBox.setMinimumSize(new java.awt.Dimension(39, 60)); workerComboBox.setName("workerComboBox"); // NOI18N workerTabbedPane.setName("workerTabbedPane"); // NOI18N statusSummaryTab.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)); statusSummaryTab.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS); statusSummaryTab.setName("statusSummaryTab"); // NOI18N statusSummaryTextPane.setEditable(false); statusSummaryTextPane.setText(resourceMap.getString("statusSummaryTextPane.text")); // NOI18N statusSummaryTextPane.setName("statusSummaryTextPane"); // NOI18N statusSummaryTab.setViewportView(statusSummaryTextPane); workerTabbedPane.addTab(resourceMap.getString("statusSummaryTab.TabConstraints.tabTitle"), statusSummaryTab); // NOI18N statusPropertiesTab.setName("statusPropertiesTab"); // NOI18N statusPropertiesScrollPane .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS); statusPropertiesScrollPane.setName("statusPropertiesScrollPane"); // NOI18N propertiesTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { { "ID", "71", null }, { "Name", "Sod1", null }, { "Token status", "ACTIVE", null }, { "Signatures:", "0", null }, { "Signature limit:", "100000", null }, { "Validity not before:", "2010-05-20", null }, { "Validity not after:", "2020-05-20", null }, { "Certificate chain:", "CN=Sod1, O=Document Signer Pecuela 11, C=PE issued by CN=CSCA Pecuela,O=Pecuela MOI,C=PE", "..." } }, new String[] { "Property", "Value", "" }) { Class[] types = new Class[] { java.lang.Object.class, java.lang.Object.class, java.lang.String.class }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } }); propertiesTable.setName("propertiesTable"); // NOI18N statusPropertiesScrollPane.setViewportView(propertiesTable); statusPropertiesDetailsButton.setText(resourceMap.getString("statusPropertiesDetailsButton.text")); // NOI18N statusPropertiesDetailsButton.setEnabled(false); statusPropertiesDetailsButton.setName("statusPropertiesDetailsButton"); // NOI18N statusPropertiesDetailsButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { statusPropertiesDetailsButtonActionPerformed(evt); } }); javax.swing.GroupLayout statusPropertiesTabLayout = new javax.swing.GroupLayout(statusPropertiesTab); statusPropertiesTab.setLayout(statusPropertiesTabLayout); statusPropertiesTabLayout.setHorizontalGroup(statusPropertiesTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, statusPropertiesTabLayout.createSequentialGroup().addContainerGap(969, Short.MAX_VALUE) .addComponent(statusPropertiesDetailsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) .addGroup(statusPropertiesTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(statusPropertiesTabLayout .createSequentialGroup().addContainerGap().addComponent(statusPropertiesScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 941, Short.MAX_VALUE) .addGap(112, 112, 112)))); statusPropertiesTabLayout.setVerticalGroup(statusPropertiesTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(statusPropertiesTabLayout.createSequentialGroup().addContainerGap() .addComponent(statusPropertiesDetailsButton).addContainerGap(678, Short.MAX_VALUE)) .addGroup(statusPropertiesTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(statusPropertiesTabLayout .createSequentialGroup().addContainerGap().addComponent(statusPropertiesScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 709, Short.MAX_VALUE) .addContainerGap()))); workerTabbedPane.addTab(resourceMap.getString("statusPropertiesTab.TabConstraints.tabTitle"), statusPropertiesTab); // NOI18N configurationTab.setName("configurationTab"); // NOI18N jScrollPane6.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS); jScrollPane6.setName("jScrollPane6"); // NOI18N configurationTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { { "ID", "71", null }, { "Name", "Sod1", null }, { "Token status", "ACTIVE", null }, { "Signatures:", "0", null }, { "Signature limit:", "100000", null }, { "Validity not before:", "2010-05-20", null }, { "Validity not after:", "2020-05-20", null }, { "Certificate chain:", "CN=Sod1, O=Document Signer Pecuela 11, C=PE issued by CN=CSCA Pecuela,O=Pecuela MOI,C=PE", "..." } }, new String[] { "Property", "Value", "" }) { Class[] types = new Class[] { java.lang.Object.class, java.lang.Object.class, java.lang.String.class }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } }); configurationTable.setName("configurationTable"); // NOI18N jScrollPane6.setViewportView(configurationTable); addButton.setText(resourceMap.getString("addButton.text")); // NOI18N addButton.setName("addButton"); // NOI18N addButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { addButtonActionPerformed(evt); } }); editButton.setText(resourceMap.getString("editButton.text")); // NOI18N editButton.setEnabled(false); editButton.setName("editButton"); // NOI18N editButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { editButtonActionPerformed(evt); } }); removeButton.setText(resourceMap.getString("removeButton.text")); // NOI18N removeButton.setEnabled(false); removeButton.setName("removeButton"); // NOI18N removeButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { removeButtonActionPerformed(evt); } }); javax.swing.GroupLayout configurationTabLayout = new javax.swing.GroupLayout(configurationTab); configurationTab.setLayout(configurationTabLayout); configurationTabLayout.setHorizontalGroup(configurationTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, configurationTabLayout.createSequentialGroup() .addContainerGap() .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 931, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(configurationTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(addButton).addComponent(editButton).addComponent(removeButton, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap())); configurationTabLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] { addButton, editButton, removeButton }); configurationTabLayout.setVerticalGroup(configurationTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(configurationTabLayout.createSequentialGroup().addContainerGap() .addGroup(configurationTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 709, Short.MAX_VALUE) .addGroup(configurationTabLayout.createSequentialGroup().addComponent(addButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(editButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(removeButton))) .addContainerGap())); workerTabbedPane.addTab("Configuration", configurationTab); authorizationTab.setName("authorizationTab"); // NOI18N jScrollPane7.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS); jScrollPane7.setName("jScrollPane7"); // NOI18N authTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { null, null }, { null, null }, { null, null }, { null, null }, { null, null }, { null, null }, { null, null }, { null, null } }, new String[] { "Certificate serial number", "Issuer DN" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.String.class }; boolean[] canEdit = new boolean[] { false, false }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); authTable.setName("authTable"); // NOI18N authTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPane7.setViewportView(authTable); authAddButton.setText(resourceMap.getString("authAddButton.text")); // NOI18N authAddButton.setName("authAddButton"); // NOI18N authAddButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { authAddButtonActionPerformed(evt); } }); authEditButton.setText(resourceMap.getString("authEditButton.text")); // NOI18N authEditButton.setEnabled(false); authEditButton.setName("authEditButton"); // NOI18N authEditButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { authEditButtonActionPerformed(evt); } }); authRemoveButton.setText(resourceMap.getString("authRemoveButton.text")); // NOI18N authRemoveButton.setEnabled(false); authRemoveButton.setName("authRemoveButton"); // NOI18N authRemoveButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { authRemoveButtonActionPerformed(evt); } }); javax.swing.GroupLayout authorizationTabLayout = new javax.swing.GroupLayout(authorizationTab); authorizationTab.setLayout(authorizationTabLayout); authorizationTabLayout.setHorizontalGroup(authorizationTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(authorizationTabLayout.createSequentialGroup().addContainerGap(954, Short.MAX_VALUE) .addGroup(authorizationTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(authAddButton, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(authEditButton, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(authRemoveButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap()) .addGroup(authorizationTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(authorizationTabLayout .createSequentialGroup().addGap(6, 6, 6).addComponent(jScrollPane7, javax.swing.GroupLayout.DEFAULT_SIZE, 935, Short.MAX_VALUE) .addGap(124, 124, 124)))); authorizationTabLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] { authAddButton, authEditButton, authRemoveButton }); authorizationTabLayout.setVerticalGroup( authorizationTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(authorizationTabLayout.createSequentialGroup().addContainerGap() .addComponent(authAddButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(authEditButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(authRemoveButton).addContainerGap(574, Short.MAX_VALUE)) .addGroup(authorizationTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(authorizationTabLayout .createSequentialGroup().addContainerGap().addComponent(jScrollPane7, javax.swing.GroupLayout.DEFAULT_SIZE, 709, Short.MAX_VALUE) .addContainerGap()))); workerTabbedPane.addTab(resourceMap.getString("authorizationTab.TabConstraints.tabTitle"), authorizationTab); // NOI18N cryptoTokenTab.setName("cryptoTokenTab"); // NOI18N tokenEntriesReloadButton.setAction(actionMap.get("reloadTokenEntries")); // NOI18N tokenEntriesReloadButton.setText(resourceMap.getString("tokenEntriesReloadButton.text")); // NOI18N tokenEntriesReloadButton.setName("tokenEntriesReloadButton"); // NOI18N tokenEntriesGenerateKeyButton.setText(resourceMap.getString("tokenEntriesGenerateKeyButton.text")); // NOI18N tokenEntriesGenerateKeyButton.setName("tokenEntriesGenerateKeyButton"); // NOI18N tokenEntriesGenerateKeyButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesGenerateKeyButtonActionPerformed(evt); } }); tokenEntriesTestButton.setText(resourceMap.getString("tokenEntriesTestButton.text")); // NOI18N tokenEntriesTestButton.setEnabled(false); tokenEntriesTestButton.setName("tokenEntriesTestButton"); // NOI18N tokenEntriesTestButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesTestButtonActionPerformed(evt); } }); tokenEntriesGenerateCSRButton.setText(resourceMap.getString("tokenEntriesGenerateCSRButton.text")); // NOI18N tokenEntriesGenerateCSRButton.setEnabled(false); tokenEntriesGenerateCSRButton.setName("tokenEntriesGenerateCSRButton"); // NOI18N tokenEntriesGenerateCSRButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesGenerateCSRButtonActionPerformed(evt); } }); tokenEntriesImportButton.setText(resourceMap.getString("tokenEntriesImportButton.text")); // NOI18N tokenEntriesImportButton.setEnabled(false); tokenEntriesImportButton.setName("tokenEntriesImportButton"); // NOI18N tokenEntriesImportButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesImportButtonActionPerformed(evt); } }); tokenEntriesRemoveButton.setText(resourceMap.getString("tokenEntriesRemoveButton.text")); // NOI18N tokenEntriesRemoveButton.setEnabled(false); tokenEntriesRemoveButton.setName("tokenEntriesRemoveButton"); // NOI18N tokenEntriesRemoveButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesRemoveButtonActionPerformed(evt); } }); tokenEntriesDetailsButton.setText(resourceMap.getString("tokenEntriesDetailsButton.text")); // NOI18N tokenEntriesDetailsButton.setEnabled(false); tokenEntriesDetailsButton.setName("tokenEntriesDetailsButton"); // NOI18N tokenEntriesDetailsButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesDetailsButtonActionPerformed(evt); } }); tokenEntriesStartIndexTextfield.setText(resourceMap.getString("tokenEntriesStartIndexTextfield.text")); // NOI18N tokenEntriesStartIndexTextfield.setName("tokenEntriesStartIndexTextfield"); // NOI18N tokenEntriesDisplayingToIndex.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); tokenEntriesDisplayingToIndex.setText(resourceMap.getString("tokenEntriesDisplayingToIndex.text")); // NOI18N tokenEntriesDisplayingToIndex.setName("tokenEntriesDisplayingToIndex"); // NOI18N tokenEntriesNextButton.setText(resourceMap.getString("tokenEntriesNextButton.text")); // NOI18N tokenEntriesNextButton.setEnabled(false); tokenEntriesNextButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); tokenEntriesNextButton.setName("tokenEntriesNextButton"); // NOI18N tokenEntriesNextButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); tokenEntriesNextButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesNextButtonActionPerformed(evt); } }); jLabel15.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N jLabel15.setName("jLabel15"); // NOI18N tokenEntriesMaxEntriesTextfield.setText(resourceMap.getString("tokenEntriesMaxEntriesTextfield.text")); // NOI18N tokenEntriesMaxEntriesTextfield.setName("tokenEntriesMaxEntriesTextfield"); // NOI18N tokenEntriesFirstButton.setText(resourceMap.getString("tokenEntriesFirstButton.text")); // NOI18N tokenEntriesFirstButton.setEnabled(false); tokenEntriesFirstButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); tokenEntriesFirstButton.setName("tokenEntriesFirstButton"); // NOI18N tokenEntriesFirstButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); tokenEntriesFirstButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesFirstButtonActionPerformed(evt); } }); tokenEntriesPreviousButton.setText(resourceMap.getString("tokenEntriesPreviousButton.text")); // NOI18N tokenEntriesPreviousButton.setEnabled(false); tokenEntriesPreviousButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); tokenEntriesPreviousButton.setName("tokenEntriesPreviousButton"); // NOI18N tokenEntriesPreviousButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); tokenEntriesPreviousButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tokenEntriesPreviousButtonActionPerformed(evt); } }); jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N jLabel1.setName("jLabel1"); // NOI18N tokenEntriesPanel.setName("tokenEntriesPanel"); // NOI18N tokenEntriesPanel.setLayout(new java.awt.CardLayout()); tokenEntriesScrollpane.setName("tokenEntriesScrollpane"); // NOI18N tokenEntriesTable .setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); tokenEntriesTable.setName("tokenEntriesTable"); // NOI18N tokenEntriesTable.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { tokenEntriesTableMouseClicked(evt); } }); tokenEntriesTable.addKeyListener(new java.awt.event.KeyAdapter() { public void keyReleased(java.awt.event.KeyEvent evt) { tokenEntriesTableKeyReleased(evt); } }); tokenEntriesScrollpane.setViewportView(tokenEntriesTable); tokenEntriesPanel.add(tokenEntriesScrollpane, "tokenEntriesTableCard"); tokenEntriesErrorPanel.setName("tokenEntriesErrorPanel"); // NOI18N jScrollPane9.setName("jScrollPane9"); // NOI18N tokenEntriesErrorEditor.setEditable(false); tokenEntriesErrorEditor.setName("tokenEntriesErrorEditor"); // NOI18N jScrollPane9.setViewportView(tokenEntriesErrorEditor); javax.swing.GroupLayout tokenEntriesErrorPanelLayout = new javax.swing.GroupLayout(tokenEntriesErrorPanel); tokenEntriesErrorPanel.setLayout(tokenEntriesErrorPanelLayout); tokenEntriesErrorPanelLayout.setHorizontalGroup( tokenEntriesErrorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane9, javax.swing.GroupLayout.Alignment.TRAILING)); tokenEntriesErrorPanelLayout.setVerticalGroup( tokenEntriesErrorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane9, javax.swing.GroupLayout.DEFAULT_SIZE, 617, Short.MAX_VALUE)); tokenEntriesPanel.add(tokenEntriesErrorPanel, "tokenEntriesErrorCard"); javax.swing.GroupLayout cryptoTokenTabLayout = new javax.swing.GroupLayout(cryptoTokenTab); cryptoTokenTab.setLayout(cryptoTokenTabLayout); cryptoTokenTabLayout.setHorizontalGroup(cryptoTokenTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(cryptoTokenTabLayout.createSequentialGroup().addContainerGap() .addGroup(cryptoTokenTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 1041, Short.MAX_VALUE) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, cryptoTokenTabLayout .createSequentialGroup() .addComponent(tokenEntriesPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 816, Short.MAX_VALUE) .addGap(18, 18, 18) .addGroup(cryptoTokenTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(cryptoTokenTabLayout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(tokenEntriesImportButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(tokenEntriesRemoveButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(tokenEntriesDetailsButton)) .addComponent(tokenEntriesGenerateCSRButton) .addComponent(tokenEntriesTestButton) .addComponent(tokenEntriesGenerateKeyButton))) .addGroup(cryptoTokenTabLayout.createSequentialGroup() .addComponent(tokenEntriesFirstButton, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(tokenEntriesPreviousButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(tokenEntriesReloadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(tokenEntriesNextButton, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(tokenEntriesStartIndexTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(tokenEntriesDisplayingToIndex, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel15) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(tokenEntriesMaxEntriesTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap())); cryptoTokenTabLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] { tokenEntriesDetailsButton, tokenEntriesGenerateCSRButton, tokenEntriesGenerateKeyButton, tokenEntriesImportButton, tokenEntriesRemoveButton, tokenEntriesTestButton }); cryptoTokenTabLayout.setVerticalGroup(cryptoTokenTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, cryptoTokenTabLayout.createSequentialGroup() .addContainerGap().addComponent(jLabel1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(cryptoTokenTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(cryptoTokenTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(tokenEntriesNextButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(tokenEntriesFirstButton, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(tokenEntriesPreviousButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(tokenEntriesReloadButton)) .addGroup(cryptoTokenTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(tokenEntriesStartIndexTextfield) .addComponent(tokenEntriesDisplayingToIndex) .addComponent(jLabel15, javax.swing.GroupLayout.DEFAULT_SIZE, 43, Short.MAX_VALUE) .addComponent(tokenEntriesMaxEntriesTextfield))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(cryptoTokenTabLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(cryptoTokenTabLayout.createSequentialGroup() .addComponent(tokenEntriesGenerateKeyButton).addGap(18, 18, 18) .addComponent(tokenEntriesTestButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(tokenEntriesGenerateCSRButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(tokenEntriesImportButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(tokenEntriesRemoveButton).addGap(18, 18, 18) .addComponent(tokenEntriesDetailsButton)) .addComponent(tokenEntriesPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 617, Short.MAX_VALUE)) .addContainerGap())); workerTabbedPane.addTab(resourceMap.getString("cryptoTokenTab.TabConstraints.tabTitle"), cryptoTokenTab); // NOI18N javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup(jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(workerTabbedPane, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(workerComboBox, javax.swing.GroupLayout.Alignment.LEADING, 0, 1085, Short.MAX_VALUE)) .addContainerGap())); jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup().addContainerGap() .addComponent(workerComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18).addComponent(workerTabbedPane, javax.swing.GroupLayout.DEFAULT_SIZE, 784, Short.MAX_VALUE))); jSplitPane1.setRightComponent(jPanel1); javax.swing.GroupLayout mainPanelLayout = new javax.swing.GroupLayout(mainPanel); mainPanel.setLayout(mainPanelLayout); mainPanelLayout.setHorizontalGroup(mainPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(mainPanelLayout.createSequentialGroup().addContainerGap() .addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 1364, Short.MAX_VALUE) .addContainerGap())); mainPanelLayout.setVerticalGroup(mainPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(mainPanelLayout.createSequentialGroup().addContainerGap() .addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 857, Short.MAX_VALUE) .addContainerGap())); jTabbedPane1.addTab(resourceMap.getString("mainPanel.TabConstraints.tabTitle"), mainPanel); // NOI18N auditPanel.setName("auditPanel"); // NOI18N jSplitPane2.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); jSplitPane2.setName("jSplitPane2"); // NOI18N jPanel2.setMinimumSize(new java.awt.Dimension(0, 123)); jPanel2.setName("jPanel2"); // NOI18N jPanel2.setPreferredSize(new java.awt.Dimension(1086, 423)); jLabel3.setFont(resourceMap.getFont("jLabel3.font")); // NOI18N jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N jLabel3.setName("jLabel3"); // NOI18N jScrollPane3.setName("jScrollPane3"); // NOI18N conditionsTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { "Event", "Not equals", "Access Control" } }, new String[] { "Column", "Condition", "Value" }) { boolean[] canEdit = new boolean[] { false, true, true }; public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); conditionsTable.setName("conditionsTable"); // NOI18N conditionsTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPane3.setViewportView(conditionsTable); conditionsTable.getColumnModel().getColumn(0) .setHeaderValue(resourceMap.getString("conditionsTable.columnModel.title0")); // NOI18N conditionsTable.getColumnModel().getColumn(1) .setHeaderValue(resourceMap.getString("conditionsTable.columnModel.title1")); // NOI18N conditionsTable.getColumnModel().getColumn(2) .setHeaderValue(resourceMap.getString("conditionsTable.columnModel.title2")); // NOI18N jButtonAuditConditionAdd.setText(resourceMap.getString("jButtonAuditConditionAdd.text")); // NOI18N jButtonAuditConditionAdd.setName("jButtonAuditConditionAdd"); // NOI18N jButtonAuditConditionAdd.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonAuditConditionAddActionPerformed(evt); } }); jButtonAuditConditionRemove.setText(resourceMap.getString("jButtonAuditConditionRemove.text")); // NOI18N jButtonAuditConditionRemove.setEnabled(false); jButtonAuditConditionRemove.setName("jButtonAuditConditionRemove"); // NOI18N jButtonAuditConditionRemove.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonAuditConditionRemoveActionPerformed(evt); } }); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 775, Short.MAX_VALUE) .addComponent(jScrollPane3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 775, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jButtonAuditConditionRemove, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButtonAuditConditionAdd, javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)) .addGap(463, 463, 463))); jPanel2Layout .setVerticalGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup().addComponent(jLabel3) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addComponent(jButtonAuditConditionAdd) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jButtonAuditConditionRemove)) .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE)) .addContainerGap())); jSplitPane2.setLeftComponent(jPanel2); jPanel3.setName("jPanel3"); // NOI18N auditlogFirstButton.setText(resourceMap.getString("auditlogFirstButton.text")); // NOI18N auditlogFirstButton.setEnabled(false); auditlogFirstButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); auditlogFirstButton.setName("auditlogFirstButton"); // NOI18N auditlogFirstButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); auditlogFirstButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { auditlogFirstButtonActionPerformed(evt); } }); auditlogPreviousButton.setText(resourceMap.getString("auditlogPreviousButton.text")); // NOI18N auditlogPreviousButton.setEnabled(false); auditlogPreviousButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); auditlogPreviousButton.setName("auditlogPreviousButton"); // NOI18N auditlogPreviousButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); auditlogPreviousButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { auditlogPreviousButtonActionPerformed(evt); } }); auditlogReloadButton.setAction(actionMap.get("auditlogReload")); // NOI18N auditlogReloadButton.setText(resourceMap.getString("auditlogReloadButton.text")); // NOI18N auditlogReloadButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); auditlogReloadButton.setName("auditlogReloadButton"); // NOI18N auditlogReloadButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); auditlogNextButton.setText(resourceMap.getString("auditlogNextButton.text")); // NOI18N auditlogNextButton.setEnabled(false); auditlogNextButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); auditlogNextButton.setName("auditlogNextButton"); // NOI18N auditlogNextButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); auditlogNextButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { auditlogNextButtonActionPerformed(evt); } }); jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N jLabel6.setName("jLabel6"); // NOI18N auditlogStartIndexTextfield.setText(resourceMap.getString("auditlogStartIndexTextfield.text")); // NOI18N auditlogStartIndexTextfield.setName("auditlogStartIndexTextfield"); // NOI18N auditlogDisplayingToIndex.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); auditlogDisplayingToIndex.setText(resourceMap.getString("auditlogDisplayingToIndex.text")); // NOI18N auditlogDisplayingToIndex.setName("auditlogDisplayingToIndex"); // NOI18N jLabel8.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N jLabel8.setName("jLabel8"); // NOI18N auditlogMaxEntriesTextfield.setText(resourceMap.getString("auditlogMaxEntriesTextfield.text")); // NOI18N auditlogMaxEntriesTextfield.setName("auditlogMaxEntriesTextfield"); // NOI18N auditlogPanel.setName("auditlogPanel"); // NOI18N auditlogPanel.setLayout(new java.awt.CardLayout()); auditlogTablePanel.setName("auditlogTablePanel"); // NOI18N auditlogTableScrollPane.setEnabled(false); auditlogTableScrollPane.setName("auditlogTableScrollPane"); // NOI18N auditLogTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { "2013-01-19 11:47:52+0100", "EJBCA Node Start", "Success", "StartServicesServlet.init", "Service", null, null, null, "atitudem", "Init, EJBCA 5.0.5 (r14787) startup." } }, new String[] { "Time", "Event", "Outcome", "Administrator", "Module", "Certificate Authority", "Certificate", "Username", "Node", "Details" })); auditLogTable.setEnabled(false); auditLogTable.setName("auditLogTable"); // NOI18N auditLogTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); auditLogTable.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { auditLogTableMouseClicked(evt); } }); auditLogTable.addKeyListener(new java.awt.event.KeyAdapter() { public void keyReleased(java.awt.event.KeyEvent evt) { auditLogTableKeyReleased(evt); } }); auditlogTableScrollPane.setViewportView(auditLogTable); javax.swing.GroupLayout auditlogTablePanelLayout = new javax.swing.GroupLayout(auditlogTablePanel); auditlogTablePanel.setLayout(auditlogTablePanelLayout); auditlogTablePanelLayout.setHorizontalGroup(auditlogTablePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 1340, Short.MAX_VALUE) .addGroup(auditlogTablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(auditlogTableScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 1340, Short.MAX_VALUE))); auditlogTablePanelLayout.setVerticalGroup(auditlogTablePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 658, Short.MAX_VALUE) .addGroup(auditlogTablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(auditlogTableScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 658, Short.MAX_VALUE))); auditlogPanel.add(auditlogTablePanel, "auditlogTableCard"); auditlogErrorPanel.setName("auditlogErrorPanel"); // NOI18N jScrollPane5.setName("jScrollPane5"); // NOI18N auditlogErrorEditor.setEditable(false); auditlogErrorEditor.setName("auditlogErrorEditor"); // NOI18N jScrollPane5.setViewportView(auditlogErrorEditor); javax.swing.GroupLayout auditlogErrorPanelLayout = new javax.swing.GroupLayout(auditlogErrorPanel); auditlogErrorPanel.setLayout(auditlogErrorPanelLayout); auditlogErrorPanelLayout.setHorizontalGroup( auditlogErrorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane5, javax.swing.GroupLayout.Alignment.TRAILING)); auditlogErrorPanelLayout.setVerticalGroup( auditlogErrorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 658, Short.MAX_VALUE)); auditlogPanel.add(auditlogErrorPanel, "auditlogErrorCard"); javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup(jPanel3Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup().addContainerGap() .addComponent(auditlogFirstButton, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(auditlogPreviousButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(auditlogReloadButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(auditlogNextButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(auditlogStartIndexTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(auditlogDisplayingToIndex, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(auditlogMaxEntriesTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(402, Short.MAX_VALUE)) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout .createSequentialGroup().addContainerGap().addComponent(auditlogPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 1340, Short.MAX_VALUE) .addContainerGap()))); jPanel3Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] { auditlogFirstButton, auditlogNextButton, auditlogPreviousButton, auditlogReloadButton }); jPanel3Layout.setVerticalGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup().addContainerGap().addGroup(jPanel3Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(auditlogFirstButton) .addComponent(auditlogPreviousButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(auditlogReloadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(auditlogNextButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel6) .addComponent(auditlogStartIndexTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(auditlogDisplayingToIndex).addComponent(jLabel8) .addComponent(auditlogMaxEntriesTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap(674, Short.MAX_VALUE)) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup().addGap(59, 59, 59) .addComponent(auditlogPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()))); jPanel3Layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] { auditlogFirstButton, auditlogNextButton, auditlogPreviousButton, auditlogReloadButton, jLabel6 }); jSplitPane2.setRightComponent(jPanel3); javax.swing.GroupLayout auditPanelLayout = new javax.swing.GroupLayout(auditPanel); auditPanel.setLayout(auditPanelLayout); auditPanelLayout.setHorizontalGroup(auditPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(auditPanelLayout.createSequentialGroup().addContainerGap() .addComponent(jSplitPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 1364, Short.MAX_VALUE) .addContainerGap())); auditPanelLayout.setVerticalGroup(auditPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(auditPanelLayout.createSequentialGroup().addContainerGap() .addComponent(jSplitPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 857, Short.MAX_VALUE) .addContainerGap())); jTabbedPane1.addTab(resourceMap.getString("auditPanel.TabConstraints.tabTitle"), auditPanel); // NOI18N archivePanel.setName("archivePanel"); // NOI18N jSplitPane3.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); jSplitPane3.setName("jSplitPane3"); // NOI18N jPanel4.setMinimumSize(new java.awt.Dimension(0, 123)); jPanel4.setName("jPanel4"); // NOI18N jPanel4.setPreferredSize(new java.awt.Dimension(1086, 423)); jLabel11.setFont(resourceMap.getFont("jLabel11.font")); // NOI18N jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N jLabel11.setName("jLabel11"); // NOI18N jScrollPane4.setName("jScrollPane4"); // NOI18N archiveConditionsTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { }, new String[] { "Column", "Condition", "Value" }) { boolean[] canEdit = new boolean[] { false, true, true }; public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); archiveConditionsTable.setName("archiveConditionsTable"); // NOI18N archiveConditionsTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPane4.setViewportView(archiveConditionsTable); archiveConditionsTable.getColumnModel().getSelectionModel() .setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); archiveConditionsTable.getColumnModel().getColumn(0) .setHeaderValue(resourceMap.getString("archiveConditionsTable.columnModel.title0")); // NOI18N archiveConditionsTable.getColumnModel().getColumn(1) .setHeaderValue(resourceMap.getString("archiveConditionsTable.columnModel.title1")); // NOI18N archiveConditionsTable.getColumnModel().getColumn(2) .setHeaderValue(resourceMap.getString("archiveConditionsTable.columnModel.title2")); // NOI18N jButtonArchiveAuditConditionAdd.setText(resourceMap.getString("jButtonArchiveAuditConditionAdd.text")); // NOI18N jButtonArchiveAuditConditionAdd.setName("jButtonArchiveAuditConditionAdd"); // NOI18N jButtonArchiveAuditConditionAdd.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonArchiveConditionAddActionPerformed(evt); } }); jButtonArchiveConditionRemove.setText(resourceMap.getString("jButtonArchiveConditionRemove.text")); // NOI18N jButtonArchiveConditionRemove.setEnabled(false); jButtonArchiveConditionRemove.setName("jButtonArchiveConditionRemove"); // NOI18N jButtonArchiveConditionRemove.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonArchiveConditionRemoveActionPerformed(evt); } }); javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup(jPanel4Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel11, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 775, Short.MAX_VALUE) .addComponent(jScrollPane4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 775, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel4Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jButtonArchiveConditionRemove, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButtonArchiveAuditConditionAdd, javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)) .addGap(463, 463, 463))); jPanel4Layout.setVerticalGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup().addComponent(jLabel11) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addComponent(jButtonArchiveAuditConditionAdd) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jButtonArchiveConditionRemove)) .addComponent(jScrollPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE)) .addContainerGap())); jSplitPane3.setLeftComponent(jPanel4); jPanel5.setName("jPanel5"); // NOI18N archiveFirstButton.setText(resourceMap.getString("archiveFirstButton.text")); // NOI18N archiveFirstButton.setEnabled(false); archiveFirstButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); archiveFirstButton.setName("archiveFirstButton"); // NOI18N archiveFirstButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); archiveFirstButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { archiveFirstButtonActionPerformed(evt); } }); archivePreviousButton.setText(resourceMap.getString("archivePreviousButton.text")); // NOI18N archivePreviousButton.setEnabled(false); archivePreviousButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); archivePreviousButton.setName("archivePreviousButton"); // NOI18N archivePreviousButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); archivePreviousButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { archivePreviousButtonActionPerformed(evt); } }); archiveReloadButton.setAction(actionMap.get("archiveReload")); // NOI18N archiveReloadButton.setText(resourceMap.getString("archiveReloadButton.text")); // NOI18N archiveReloadButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); archiveReloadButton.setName("archiveReloadButton"); // NOI18N archiveReloadButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); archiveNextButton.setText(resourceMap.getString("archiveNextButton.text")); // NOI18N archiveNextButton.setEnabled(false); archiveNextButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); archiveNextButton.setName("archiveNextButton"); // NOI18N archiveNextButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); archiveNextButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { archiveNextButtonActionPerformed(evt); } }); jLabel12.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N jLabel12.setName("jLabel12"); // NOI18N archiveStartIndexTextfield.setText(resourceMap.getString("archiveStartIndexTextfield.text")); // NOI18N archiveStartIndexTextfield.setName("archiveStartIndexTextfield"); // NOI18N archiveDisplayingToIndex.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); archiveDisplayingToIndex.setText(resourceMap.getString("archiveDisplayingToIndex.text")); // NOI18N archiveDisplayingToIndex.setName("archiveDisplayingToIndex"); // NOI18N jLabel13.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel13.setText(resourceMap.getString("jLabel13.text")); // NOI18N jLabel13.setName("jLabel13"); // NOI18N archiveMaxEntriesTextfield.setText(resourceMap.getString("archiveMaxEntriesTextfield.text")); // NOI18N archiveMaxEntriesTextfield.setName("archiveMaxEntriesTextfield"); // NOI18N archiveContentPanel.setName("archiveContentPanel"); // NOI18N archiveContentPanel.setLayout(new java.awt.CardLayout()); archiveTablePanel.setName("archiveTablePanel"); // NOI18N archiveTableScrollPane.setEnabled(false); archiveTableScrollPane.setName("archiveTableScrollPane"); // NOI18N archiveTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { }, new String[] { "Archive ID", "Time", "Type", "Signer ID", "Client Cert Serial Number", "Issuer DN", "IP Address" })); archiveTable.setEnabled(false); archiveTable.setName("archiveTable"); // NOI18N archiveTable.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); archiveTableScrollPane.setViewportView(archiveTable); archiveTable.getColumnModel().getColumn(0) .setHeaderValue(resourceMap.getString("archiveTable.columnModel.title0")); // NOI18N archiveTable.getColumnModel().getColumn(1) .setHeaderValue(resourceMap.getString("archiveTable.columnModel.title1")); // NOI18N archiveTable.getColumnModel().getColumn(2) .setHeaderValue(resourceMap.getString("archiveTable.columnModel.title2")); // NOI18N archiveTable.getColumnModel().getColumn(3) .setHeaderValue(resourceMap.getString("archiveTable.columnModel.title3")); // NOI18N archiveTable.getColumnModel().getColumn(4) .setHeaderValue(resourceMap.getString("archiveTable.columnModel.title4")); // NOI18N archiveTable.getColumnModel().getColumn(5) .setHeaderValue(resourceMap.getString("archiveTable.columnModel.title5")); // NOI18N archiveTable.getColumnModel().getColumn(6) .setHeaderValue(resourceMap.getString("archiveTable.columnModel.title6")); // NOI18N javax.swing.GroupLayout archiveTablePanelLayout = new javax.swing.GroupLayout(archiveTablePanel); archiveTablePanel.setLayout(archiveTablePanelLayout); archiveTablePanelLayout.setHorizontalGroup( archiveTablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent( archiveTableScrollPane, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 1340, Short.MAX_VALUE)); archiveTablePanelLayout.setVerticalGroup( archiveTablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent( archiveTableScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 609, Short.MAX_VALUE)); archiveContentPanel.add(archiveTablePanel, "archiveTableCard"); archiveErrorPanel.setName("archiveErrorPanel"); // NOI18N jScrollPane8.setName("jScrollPane8"); // NOI18N archiveErrorEditor.setEditable(false); archiveErrorEditor.setName("archiveErrorEditor"); // NOI18N jScrollPane8.setViewportView(archiveErrorEditor); javax.swing.GroupLayout archiveErrorPanelLayout = new javax.swing.GroupLayout(archiveErrorPanel); archiveErrorPanel.setLayout(archiveErrorPanelLayout); archiveErrorPanelLayout.setHorizontalGroup( archiveErrorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane8, javax.swing.GroupLayout.Alignment.TRAILING)); archiveErrorPanelLayout.setVerticalGroup( archiveErrorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane8, javax.swing.GroupLayout.DEFAULT_SIZE, 609, Short.MAX_VALUE)); archiveContentPanel.add(archiveErrorPanel, "archiveErrorCard"); javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5); jPanel5.setLayout(jPanel5Layout); jPanel5Layout.setHorizontalGroup(jPanel5Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel5Layout.createSequentialGroup().addContainerGap() .addComponent(archiveFirstButton, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(archivePreviousButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(archiveReloadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(archiveNextButton, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(archiveStartIndexTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(archiveDisplayingToIndex, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(archiveMaxEntriesTextfield, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(402, Short.MAX_VALUE)) .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel5Layout .createSequentialGroup().addContainerGap().addComponent(archiveContentPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 1340, Short.MAX_VALUE) .addContainerGap()))); jPanel5Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] { archiveFirstButton, archiveNextButton, archivePreviousButton, archiveReloadButton }); jPanel5Layout.setVerticalGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel5Layout.createSequentialGroup().addContainerGap().addGroup(jPanel5Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(archiveNextButton, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(archiveReloadButton, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(archiveFirstButton, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(archiveStartIndexTextfield, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(archiveMaxEntriesTextfield, javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel12).addComponent(archiveDisplayingToIndex) .addComponent(jLabel13)) .addComponent(archivePreviousButton, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap(625, Short.MAX_VALUE)) .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup().addGap(59, 59, 59) .addComponent(archiveContentPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()))); jSplitPane3.setRightComponent(jPanel5); downloadArchiveEntriesButton.setAction(actionMap.get("archiveFetch")); // NOI18N downloadArchiveEntriesButton.setText(resourceMap.getString("downloadArchiveEntriesButton.text")); // NOI18N downloadArchiveEntriesButton.setName("downloadArchiveEntriesButton"); // NOI18N javax.swing.GroupLayout archivePanelLayout = new javax.swing.GroupLayout(archivePanel); archivePanel.setLayout(archivePanelLayout); archivePanelLayout.setHorizontalGroup(archivePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(archivePanelLayout.createSequentialGroup().addContainerGap() .addGroup(archivePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(archivePanelLayout.createSequentialGroup().addGap(12, 12, 12) .addComponent(downloadArchiveEntriesButton)) .addComponent(jSplitPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 1364, Short.MAX_VALUE)) .addContainerGap())); archivePanelLayout.setVerticalGroup(archivePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(archivePanelLayout.createSequentialGroup().addContainerGap() .addComponent(jSplitPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 808, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(downloadArchiveEntriesButton).addContainerGap())); jTabbedPane1.addTab(resourceMap.getString("archivePanel.TabConstraints.tabTitle"), archivePanel); // NOI18N removeKeyPanel.setName("removeKeyPanel"); // NOI18N jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N jLabel7.setName("jLabel7"); // NOI18N aliasTextField.setName("aliasTextField"); // NOI18N javax.swing.GroupLayout removeKeyPanelLayout = new javax.swing.GroupLayout(removeKeyPanel); removeKeyPanel.setLayout(removeKeyPanelLayout); removeKeyPanelLayout.setHorizontalGroup( removeKeyPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, 394, Short.MAX_VALUE) .addComponent(aliasTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 394, Short.MAX_VALUE)); removeKeyPanelLayout.setVerticalGroup(removeKeyPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(removeKeyPanelLayout.createSequentialGroup().addComponent(jLabel7) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(aliasTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))); reloadPanel.setName("reloadPanel"); // NOI18N jEditorPane1.setBackground(resourceMap.getColor("jEditorPane1.background")); // NOI18N jEditorPane1.setContentType(resourceMap.getString("jEditorPane1.contentType")); // NOI18N jEditorPane1.setEditable(false); jEditorPane1.setText(resourceMap.getString("jEditorPane1.text")); // NOI18N jEditorPane1.setName("jEditorPane1"); // NOI18N reloadPanelButtonGroup.add(reloadAllWorkersRadioButton); reloadAllWorkersRadioButton.setText(resourceMap.getString("reloadAllWorkersRadioButton.text")); // NOI18N reloadAllWorkersRadioButton.setName("reloadAllWorkersRadioButton"); // NOI18N reloadPanelButtonGroup.add(reloadSelectedWorkersRadioButton); reloadSelectedWorkersRadioButton.setText(resourceMap.getString("reloadSelectedWorkersRadioButton.text")); // NOI18N reloadSelectedWorkersRadioButton.setName("reloadSelectedWorkersRadioButton"); // NOI18N jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N jLabel9.setName("jLabel9"); // NOI18N javax.swing.GroupLayout reloadPanelLayout = new javax.swing.GroupLayout(reloadPanel); reloadPanel.setLayout(reloadPanelLayout); reloadPanelLayout .setHorizontalGroup(reloadPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jEditorPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 396, Short.MAX_VALUE) .addGroup(reloadPanelLayout.createSequentialGroup().addContainerGap() .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, 372, Short.MAX_VALUE) .addContainerGap()) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, reloadPanelLayout.createSequentialGroup().addContainerGap() .addComponent(reloadAllWorkersRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 372, Short.MAX_VALUE) .addContainerGap()) .addGroup(reloadPanelLayout.createSequentialGroup().addContainerGap() .addComponent(reloadSelectedWorkersRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, 372, Short.MAX_VALUE) .addContainerGap())); reloadPanelLayout.setVerticalGroup(reloadPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reloadPanelLayout.createSequentialGroup() .addComponent(jEditorPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(jLabel9) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(reloadAllWorkersRadioButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reloadSelectedWorkersRadioButton) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); exportPanel.setName("exportPanel"); // NOI18N jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N jLabel10.setName("jLabel10"); // NOI18N exportPanelButtonGroup.add(exportAllRadioButton); exportAllRadioButton.setText(resourceMap.getString("exportAllRadioButton.text")); // NOI18N exportAllRadioButton.setName("exportAllRadioButton"); // NOI18N exportAllRadioButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { exportRadioButtonActionPerformed(evt); } }); exportPanelButtonGroup.add(exportSelectedRadioButton); exportSelectedRadioButton.setText(resourceMap.getString("exportSelectedRadioButton.text")); // NOI18N exportSelectedRadioButton.setName("exportSelectedRadioButton"); // NOI18N exportSelectedRadioButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { exportRadioButtonActionPerformed(evt); } }); exportPanelButtonGroup.add(exportNoRadioButton); exportNoRadioButton.setText(resourceMap.getString("exportNoRadioButton.text")); // NOI18N exportNoRadioButton.setName("exportNoRadioButton"); // NOI18N exportNoRadioButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { exportRadioButtonActionPerformed(evt); } }); exportAllUnrelatedGlobalCheckbox.setText(resourceMap.getString("exportAllUnrelatedGlobalCheckbox.text")); // NOI18N exportAllUnrelatedGlobalCheckbox.setName("exportAllUnrelatedGlobalCheckbox"); // NOI18N javax.swing.GroupLayout exportPanelLayout = new javax.swing.GroupLayout(exportPanel); exportPanel.setLayout(exportPanelLayout); exportPanelLayout.setHorizontalGroup( exportPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel10, javax.swing.GroupLayout.DEFAULT_SIZE, 475, Short.MAX_VALUE) .addGroup(exportPanelLayout.createSequentialGroup().addContainerGap() .addComponent(exportSelectedRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, 451, Short.MAX_VALUE) .addContainerGap()) .addGroup(exportPanelLayout.createSequentialGroup().addContainerGap() .addComponent(exportNoRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, 451, Short.MAX_VALUE) .addContainerGap()) .addGroup(exportPanelLayout.createSequentialGroup().addContainerGap() .addComponent(exportAllUnrelatedGlobalCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE, 451, Short.MAX_VALUE) .addContainerGap()) .addGroup(exportPanelLayout .createSequentialGroup().addContainerGap().addComponent(exportAllRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, 451, Short.MAX_VALUE) .addContainerGap())); exportPanelLayout .setVerticalGroup(exportPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(exportPanelLayout.createSequentialGroup().addComponent(jLabel10) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(exportAllRadioButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(exportSelectedRadioButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(exportNoRadioButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(exportAllUnrelatedGlobalCheckbox))); setComponent(jTabbedPane1); setMenuBar(menuBar); setStatusBar(statusPanel); setToolBar(jToolBar1); }
From source file:org.sikuli.ide.SikuliIDE.java
private void initFileMenu() throws NoSuchMethodException { JMenuItem jmi; int scMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); _fileMenu.setMnemonic(java.awt.event.KeyEvent.VK_F); if (showAbout) { _fileMenu.add(//w w w . j a v a 2 s.com createMenuItem("About SikuliX", KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, scMask), new FileAction(FileAction.ABOUT))); _fileMenu.addSeparator(); } _fileMenu.add(createMenuItem(_I("menuFileNew"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, scMask), new FileAction(FileAction.NEW))); jmi = _fileMenu.add(createMenuItem(_I("menuFileOpen"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, scMask), new FileAction(FileAction.OPEN))); jmi.setName("OPEN"); recentMenu = new JMenu(_I("menuRecent")); if (Settings.experimental) { _fileMenu.add(recentMenu); } if (Settings.isMac() && !Settings.handlesMacBundles) { _fileMenu.add(createMenuItem("Open folder.sikuli ...", null, // KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, scMask), new FileAction(FileAction.OPEN_FOLDER))); } jmi = _fileMenu.add(createMenuItem(_I("menuFileSave"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, scMask), new FileAction(FileAction.SAVE))); jmi.setName("SAVE"); jmi = _fileMenu.add(createMenuItem(_I("menuFileSaveAs"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, InputEvent.SHIFT_MASK | scMask), new FileAction(FileAction.SAVE_AS))); jmi.setName("SAVE_AS"); if (Settings.isMac() && !Settings.handlesMacBundles) { _fileMenu.add(createMenuItem(_I("Save as folder.sikuli ..."), // KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, // InputEvent.SHIFT_MASK | scMask), null, new FileAction(FileAction.SAVE_AS_FOLDER))); } //TODO _fileMenu.add(createMenuItem(_I("menuFileSaveAll"), _fileMenu.add(createMenuItem("Save all", KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, InputEvent.CTRL_MASK | scMask), new FileAction(FileAction.SAVE_ALL))); _fileMenu.add(createMenuItem(_I("menuFileExport"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_E, InputEvent.SHIFT_MASK | scMask), new FileAction(FileAction.EXPORT))); jmi = _fileMenu.add( createMenuItem(_I("menuFileCloseTab"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_W, scMask), new FileAction(FileAction.CLOSE_TAB))); jmi.setName("CLOSE_TAB"); if (showPrefs) { _fileMenu.addSeparator(); _fileMenu.add(createMenuItem(_I("menuFilePreferences"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, scMask), new FileAction(FileAction.PREFERENCES))); } if (showQuit) { _fileMenu.addSeparator(); _fileMenu.add(createMenuItem(_I("menuFileQuit"), null, new FileAction(FileAction.QUIT))); } }
From source file:org.sikuli.ide.SikuliIDE.java
private void initRunMenu() throws NoSuchMethodException { JMenuItem item; int scMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); _runMenu.setMnemonic(java.awt.event.KeyEvent.VK_R); item = _runMenu.add(createMenuItem(_I("menuRunRun"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, scMask), new RunAction(RunAction.RUN))); item.setName("RUN"); item = _runMenu.add(createMenuItem(_I("menuRunRunAndShowActions"), KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, InputEvent.ALT_MASK | scMask), new RunAction(RunAction.RUN_SHOW_ACTIONS))); item.setName("RUN_SLOWLY"); PreferencesUser pref = PreferencesUser.getInstance(); item = createMenuItem(_I("menuRunStop"), KeyStroke.getKeyStroke(pref.getStopHotkey(), pref.getStopHotkeyModifiers()), new RunAction(RunAction.RUN_SHOW_ACTIONS)); item.setEnabled(false);/*w ww . j a v a2 s. co m*/ _runMenu.add(item); }