List of usage examples for javax.swing SwingConstants RIGHT
int RIGHT
To view the source code for javax.swing SwingConstants RIGHT.
Click Source Link
From source file:hermes.browser.HermesBrowser.java
private void initJIDE() throws UnsupportedLookAndFeelException, ClassNotFoundException, InstantiationException, IllegalAccessException {//from w w w. jav a 2s.co m try { LookAndFeelFactory.installJideExtension(); } catch (IllegalArgumentException e) { log.error("l&f incompatible with JIDE, trying metal: " + e.getMessage(), e); UIManager.setLookAndFeel(new MetalLookAndFeel()); LookAndFeelFactory.installJideExtension(); } ObjectConverterManager.initDefaultConverter(); CellEditorManager.initDefaultEditor(); CellRendererManager.initDefaultRenderer(); ObjectComparatorManager.initDefaultComparator(); LookAndFeelFactory.UIDefaultsCustomizer uiDefaultsCustomizer = new LookAndFeelFactory.UIDefaultsCustomizer() { public void customize(UIDefaults defaults) { Map painter = (Map) defaults.get("Theme.painter"); // ThemePainter painter = (ThemePainter) // defaults.get("Theme.painter"); defaults.put("OptionPaneUI", "com.jidesoft.plaf.basic.BasicJideOptionPaneUI"); defaults.put("OptionPane.showBanner", Boolean.FALSE); // show // banner // or // not. // default // is // true defaults.put("OptionPane.bannerBackgroundDk", painter.get("OptionPane.bannerBackgroundDk")); defaults.put("OptionPane.bannerBackgroundLt", painter.get("OptionPane.bannerBackgroundLt")); defaults.put("OptionPane.bannerBackgroundDirection", Boolean.TRUE); // default // is // true // optionally, you can set a Paint object for BannerPanel. If // so, the three UIDefaults related to banner background above // will be ignored. defaults.put("OptionPane.bannerBackgroundPaint", null); defaults.put("OptionPane.buttonAreaBorder", BorderFactory.createEmptyBorder(6, 6, 6, 6)); defaults.put("OptionPane.buttonOrientation", new Integer(SwingConstants.RIGHT)); } }; uiDefaultsCustomizer.customize(UIManager.getDefaults()); }
From source file:info.puzz.trackprofiler.gui.TrackProfilerFrame.java
private JLabel getLength3dLabel() { if (length3dLabel == null) { length3dLabel = new JLabel(); length3dLabel.setText(new Message(Messages._3D_LENGTH).toString()); length3dLabel.setFont(GUIConstants.DIALOG_10); length3dLabel.setBounds(10, 155, 90, 20); length3dLabel.setHorizontalAlignment(SwingConstants.RIGHT); }/*from w w w.j a v a 2 s . c o m*/ return length3dLabel; }
From source file:de.main.sessioncreator.DesktopApplication1View.java
/** This method is called from within the constructor to * initialize the form.//from w ww . j a va2s. c om * 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:com.all.login.view.NewAccountFormPanel.java
private JLabel getEmailLabel() { if (emailLabel == null) { emailLabel = new JLabel(); emailLabel.setBounds(EMAIL_LABEL_BOUNDS); emailLabel.setHorizontalAlignment(SwingConstants.RIGHT); emailLabel.setName(SynthFonts.PLAIN_FONT16_GRAY100_100_100); emailLabel.setIcon(BULLET_ICON); emailLabel.setIconTextGap(REQUIRE_ICON_TEXT_GAP); }//from w ww . jav a 2 s . c o m return emailLabel; }
From source file:convcao.com.agent.ConvcaoNeptusInteraction.java
@Override public void initSubPanel() { jPanelMain = new JPanel(); jPanel1 = new JPanel(); jPanel2 = new JPanel(); jLabel2 = new JLabel(); jScrollPane1 = new JScrollPane(); jTextPane1 = new JTextPane(); renewButton = new JButton(); jLabel4 = new JLabel(); jTextField1 = new JTextField(); jLabel5 = new JLabel(); jPasswordField1 = new JPasswordField(); connectButton = new JButton(); jScrollPane2 = new JScrollPane(); jTextArea1 = new JTextArea(); jLabel7 = new JLabel(); jLabel8 = new JLabel(); jButton1 = new JButton(); jButton2 = new JButton(); jLabel1 = new JLabel(); jLabel9 = new JLabel(); jLabel10 = new JLabel(); jLabel11 = new JLabel(); jLabel12 = new JLabel(); jLabel6 = new JLabel(); jLabel3 = new JLabel(); jLabel11.setIcon(noptilusLogo);//from ww w .j a va 2 s . c o m jLabel12.setHorizontalAlignment(SwingConstants.LEFT); jLabel12.setText("<html>www.convcao.com<br>version 0.01</html>"); jLabel12.setToolTipText(""); jLabel12.setHorizontalTextPosition(SwingConstants.RIGHT); GroupLayout jPanel1Layout = new GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addComponent(jLabel11, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup().addGap(0, 19, Short.MAX_VALUE).addComponent(jLabel12, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))); jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(jLabel11, GroupLayout.PREFERRED_SIZE, 45, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED).addComponent(jLabel12, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE))); jLabel2.setFont(new Font("Tahoma", 0, 10)); // NOI18N jLabel2.setText("Unique ID"); jTextPane1.setEditable(true); jScrollPane1.setViewportView(jTextPane1); //jTextPane1.getAccessibleContext().setAccessibleName(""); renewButton.setText("RENEW"); renewButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { renewButtonActionPerformed(evt); } }); jLabel4.setFont(new Font("Tahoma", 0, 12)); // NOI18N jLabel4.setText("Username"); jTextField1.setText("FTPUser"); jLabel5.setFont(new Font("Tahoma", 0, 12)); // NOI18N jLabel5.setText("Password"); jPasswordField1.setText("FTPUser123"); connectButton.setText("Connect"); connectButton.setEnabled(false); connectButton.setActionCommand("connect"); connectButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { try { connectButtonActionPerformed(evt); } catch (FileNotFoundException | UnsupportedEncodingException e) { e.printStackTrace(); } catch (SocketException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } }); jTextArea1.setEditable(false); jTextArea1.setColumns(20); jTextArea1.setRows(5); jScrollPane2.setViewportView(jTextArea1); jLabel7.setFont(new Font("Tahoma", 0, 12)); // NOI18N jLabel7.setText("Command Monitor"); jButton1.setFont(new Font("Tahoma", 1, 12)); // NOI18N jButton1.setText("START"); jButton1.setEnabled(false); jButton1.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { startButtonActionPerformed(evt); } }); jButton2.setFont(new Font("Tahoma", 1, 12)); // NOI18N jButton2.setText("STOP"); jButton2.setEnabled(false); jButton2.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { stopButtonActionPerformed(evt); } }); jLabel1.setForeground(new Color(255, 0, 0)); jLabel1.setHorizontalAlignment(SwingConstants.CENTER); jLabel1.setText( "<html>Click HERE to activate the web service using your ID<br>When the web application is ready, press Start </html>"); jLabel1.setCursor(new Cursor(Cursor.HAND_CURSOR)); jLabel1.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent evt) { try { jLabel1MouseClicked(evt); } catch (URISyntaxException | IOException e) { e.printStackTrace(); } } }); //jLabel9.setText("Working..."); jLabel9.setIcon(runIcon); jLabel9.setVisible(false); jLabel10.setText("---"); jLabel6.setForeground(new Color(0, 204, 0)); jLabel6.setHorizontalAlignment(SwingConstants.CENTER); jLabel6.setText("---"); GroupLayout jPanel2Layout = new GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup( GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup().addGroup(jPanel2Layout .createParallelGroup(GroupLayout.Alignment.TRAILING) .addGroup(jPanel2Layout.createSequentialGroup().addContainerGap().addComponent(jLabel6, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup().addGap(126, 126, 126) .addComponent(jLabel7, GroupLayout.PREFERRED_SIZE, 110, GroupLayout.PREFERRED_SIZE)) .addGroup(jPanel2Layout.createSequentialGroup().addGap(23, 23, 23) .addGroup(jPanel2Layout .createParallelGroup(GroupLayout.Alignment.TRAILING) .addGroup(jPanel2Layout .createParallelGroup(GroupLayout.Alignment.LEADING, false) .addGroup(GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addComponent(jLabel9, GroupLayout.PREFERRED_SIZE, 56, GroupLayout.PREFERRED_SIZE) .addPreferredGap( LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton1, GroupLayout.PREFERRED_SIZE, 80, GroupLayout.PREFERRED_SIZE) .addGap(29, 29, 29) .addComponent(jButton2, GroupLayout.PREFERRED_SIZE, 77, GroupLayout.PREFERRED_SIZE)) .addComponent(jScrollPane2, GroupLayout.Alignment.TRAILING, GroupLayout.PREFERRED_SIZE, 308, GroupLayout.PREFERRED_SIZE)) .addComponent(jLabel10, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 103, GroupLayout.PREFERRED_SIZE) .addComponent(jLabel1, GroupLayout.PREFERRED_SIZE, 299, GroupLayout.PREFERRED_SIZE)))) .addGap(0, 0, Short.MAX_VALUE)) .addGroup(jPanel2Layout.createSequentialGroup().addGap(0, 0, Short.MAX_VALUE) .addGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup( GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addComponent(jLabel2, GroupLayout.PREFERRED_SIZE, 80, GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(jScrollPane1, GroupLayout.PREFERRED_SIZE, 130, GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18).addComponent(renewButton)) .addGroup(GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup().addGroup(jPanel2Layout .createParallelGroup(GroupLayout.Alignment.LEADING, false) .addGroup(jPanel2Layout.createSequentialGroup() .addComponent(jLabel4, GroupLayout.PREFERRED_SIZE, 64, GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18).addComponent(jTextField1, GroupLayout.PREFERRED_SIZE, 130, GroupLayout.PREFERRED_SIZE)) .addGroup(jPanel2Layout.createSequentialGroup() .addComponent(jLabel5, GroupLayout.PREFERRED_SIZE, 64, GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18).addComponent(jPasswordField1))) .addGap(14, 14, 14).addComponent(connectButton))))) .addContainerGap())); jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.LEADING, false) .addComponent(renewButton, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jScrollPane1) .addComponent(jLabel2, GroupLayout.PREFERRED_SIZE, 25, GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.BASELINE) .addComponent(jLabel4, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jTextField1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.BASELINE) .addComponent(jLabel5, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPasswordField1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) .addComponent(connectButton, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jLabel6, GroupLayout.PREFERRED_SIZE, 21, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED).addComponent(jLabel1) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel7, GroupLayout.PREFERRED_SIZE, 20, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(jScrollPane2, GroupLayout.PREFERRED_SIZE, 113, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.TRAILING, false) .addComponent(jButton2, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton1, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel9, GroupLayout.PREFERRED_SIZE, 33, GroupLayout.PREFERRED_SIZE)) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel10, GroupLayout.PREFERRED_SIZE, 26, GroupLayout.PREFERRED_SIZE) .addGap(5, 5, 5))); jLabel1.getAccessibleContext().setAccessibleName("jLabel1"); jLabel3.setFont(new Font("Tahoma", 1, 22)); // NOI18N jLabel3.setText("Real Time Navigation"); jLabel8.setIcon(appLogo); GroupLayout layout = new GroupLayout(jPanelMain); jPanelMain.setLayout(layout); layout.setHorizontalGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup().addContainerGap().addComponent(jLabel3) .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addComponent(jPanel1, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel8, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel2, GroupLayout.PREFERRED_SIZE, 331, GroupLayout.PREFERRED_SIZE) .addContainerGap())); layout.setVerticalGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(layout .createSequentialGroup().addComponent(jLabel3) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(jLabel8, GroupLayout.PREFERRED_SIZE, 110, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED).addComponent(jPanel1, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addComponent(jPanel2, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap())); addMenuItem("Settings>Noptilus>Coordinate Settings", ImageUtils.getIcon(PluginUtils.getPluginIcon(getClass())), new ActionListener() { @Override public void actionPerformed(ActionEvent e) { PluginUtils.editPluginProperties(coords, true); coords.saveProps(); } }); addMenuItem("Settings>Noptilus>ConvCAO Settings", ImageUtils.getIcon(PluginUtils.getPluginIcon(getClass())), new ActionListener() { @Override public void actionPerformed(ActionEvent e) { PluginUtils.editPluginProperties(ConvcaoNeptusInteraction.this, true); } }); addMenuItem("Settings>Noptilus>Force vehicle depth", ImageUtils.getIcon(PluginUtils.getPluginIcon(getClass())), new ActionListener() { @Override public void actionPerformed(ActionEvent e) { if (positions.isEmpty()) { GuiUtils.errorMessage(getConsole(), "Force vehicle depth", "ConvCAO control is not active"); return; } String[] choices = nameTable.values().toArray(new String[0]); String vehicle = (String) JOptionPane.showInputDialog(getConsole(), "Force vehicle depth", "Choose vehicle", JOptionPane.QUESTION_MESSAGE, null, choices, choices[0]); if (vehicle != null) { double depth = depths.get(vehicle); String newDepth = JOptionPane.showInputDialog(getConsole(), "New depth", "" + depth); try { double dd = Double.parseDouble(newDepth); depths.put(vehicle, dd); } catch (Exception ex) { GuiUtils.errorMessage(getConsole(), ex); } } } }); add(jPanelMain); renewButtonActionPerformed(null); }
From source file:br.com.jinsync.view.FrmJInSync.java
private void listCopy(List<Copybook> listCopy) { tableCopy = new JTable(); tableCopy.setBackground(Color.WHITE); tableCopy.setRowSelectionAllowed(true); tableCopy.setCellSelectionEnabled(true); tableCopy.setColumnSelectionAllowed(false); tableCopy.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); DefaultTableCellRenderer rightRenderer = new DefaultTableCellRenderer(); rightRenderer.setHorizontalAlignment(SwingConstants.RIGHT); // listCopy = listTotCopy; modeloCopybook = new CopybookTableModel(listCopy); tableCopy.setModel(modeloCopybook);/*from www .j a v a 2 s . c o m*/ tableCopy.setFont(new Font("Courier New", Font.PLAIN, 12)); tableCopy.getColumnModel().getColumn(0).setMinWidth(0); tableCopy.getColumnModel().getColumn(0).setPreferredWidth(0); tableCopy.getColumnModel().getColumn(0).setMaxWidth(0); // Coluna Sequencia tableCopy.getColumnModel().getColumn(1).setPreferredWidth(60); // Coluna Nivel tableCopy.getColumnModel().getColumn(2).setMinWidth(0); tableCopy.getColumnModel().getColumn(2).setPreferredWidth(0); tableCopy.getColumnModel().getColumn(2).setMaxWidth(0); // Coluna Nome tableCopy.getColumnModel().getColumn(3).setPreferredWidth(300); // Coluna Redefines tableCopy.getColumnModel().getColumn(4).setPreferredWidth(300); // Coluna Formato tableCopy.getColumnModel().getColumn(5).setPreferredWidth(120); // Coluna Inteiro tableCopy.getColumnModel().getColumn(6).setPreferredWidth(70); tableCopy.getColumnModel().getColumn(6).setCellRenderer(rightRenderer); // Coluna Decimal tableCopy.getColumnModel().getColumn(7).setPreferredWidth(70); tableCopy.getColumnModel().getColumn(7).setCellRenderer(rightRenderer); // Coluna Inicio tableCopy.getColumnModel().getColumn(8).setPreferredWidth(50); tableCopy.getColumnModel().getColumn(8).setCellRenderer(rightRenderer); tableCopy.getColumnModel().getColumn(9).setPreferredWidth(68); tableCopy.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); scrCopy.setViewportView(tableCopy); }
From source file:com.brainflow.application.toplevel.Brainflow.java
private void initExceptionHandler() { LookAndFeelFactory.UIDefaultsCustomizer uiDefaultsCustomizer = new LookAndFeelFactory.UIDefaultsCustomizer() { public void customize(UIDefaults defaults) { ThemePainter painter = (ThemePainter) UIDefaultsLookup.get("Theme.painter"); defaults.put("OptionPaneUI", "com.jidesoft.plaf.basic.BasicJideOptionPaneUI"); defaults.put("OptionPane.showBanner", Boolean.TRUE); // show banner or not. default is true //defaults.put("OptionPane.bannerIcon", JideIconsFactory.getImageIcon(JideIconsFactory.JIDE50)); defaults.put("OptionPane.bannerFontSize", 13); defaults.put("OptionPane.bannerFontStyle", Font.BOLD); defaults.put("OptionPane.bannerMaxCharsPerLine", 60); defaults.put("OptionPane.bannerForeground", painter != null ? painter.getOptionPaneBannerForeground() : null); // you should adjust this if banner background is not the default gradient paint defaults.put("OptionPane.bannerBorder", null); // use default border // set both bannerBackgroundDk and // set both bannerBackgroundLt to null if you don't want gradient defaults.put("OptionPane.bannerBackgroundDk", painter != null ? painter.getOptionPaneBannerDk() : null); defaults.put("OptionPane.bannerBackgroundLt", painter != null ? painter.getOptionPaneBannerLt() : null); defaults.put("OptionPane.bannerBackgroundDirection", Boolean.TRUE); // default is true // optionally, you can set a Paint object for BannerPanel. If so, the three UIDefaults related to banner background above will be ignored. defaults.put("OptionPane.bannerBackgroundPaint", null); defaults.put("OptionPane.buttonAreaBorder", BorderFactory.createEmptyBorder(6, 6, 6, 6)); defaults.put("OptionPane.buttonOrientation", SwingConstants.RIGHT); }// ww w .j a v a2 s .c o m }; uiDefaultsCustomizer.customize(UIManager.getDefaults()); Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { public void uncaughtException(Thread t, Throwable e) { e.printStackTrace(); JideOptionPane optionPane = new JideOptionPane( "Click \"Details\" button to see more information ... ", JOptionPane.ERROR_MESSAGE, JideOptionPane.CLOSE_OPTION); optionPane.setTitle("An " + e.getClass().getName() + " occurred in Brainflow : " + e.getMessage()); JTextArea textArea = new JTextArea(); StringWriter sw = new StringWriter(); PrintWriter out = new PrintWriter(sw); e.printStackTrace(out); // Add string to end of text area textArea.append(sw.toString()); textArea.setRows(10); optionPane.setDetails(new JScrollPane(textArea)); JDialog dialog = optionPane.createDialog(brainFrame, "Warning"); dialog.setResizable(true); dialog.pack(); dialog.setVisible(true); } }); }
From source file:simMPLS.ui.simulator.JVentanaHija.java
/** Este mtodo es llamado desde el constructor para actualizar la mayor parte de * los atributos de la clase que tienen que ver con la interfaz de usuario. Es un * mtodo creado por NetBeans automaticamente. * @since 1.0/*from www . j ava 2s .c o m*/ */ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; diseElementoPopUp = new javax.swing.JPopupMenu(); dEliminarMenuItem = new javax.swing.JMenuItem(); dVerNombreMenuItem = new javax.swing.JCheckBoxMenuItem(); jSeparator1 = new javax.swing.JSeparator(); dPropiedadesMenuItem = new javax.swing.JMenuItem(); diseFondoPopUp = new javax.swing.JPopupMenu(); dVerNombresNodosMenuItem = new javax.swing.JMenuItem(); dOcultarNombresNodosMenuItem = new javax.swing.JMenuItem(); dVerNombresEnlacesMenuItem = new javax.swing.JMenuItem(); dOcultarNombresEnlacesMenuItem = new javax.swing.JMenuItem(); jSeparator2 = new javax.swing.JSeparator(); dEliminarTodoMenuItem = new javax.swing.JMenuItem(); jTabbedPane1 = new javax.swing.JTabbedPane(); panelDisenioSuperior = new javax.swing.JPanel(); panelBotonesDisenio = new javax.swing.JPanel(); iconoEmisor = new javax.swing.JLabel(); iconoReceptor = new javax.swing.JLabel(); iconoLER = new javax.swing.JLabel(); iconoLERA = new javax.swing.JLabel(); iconoLSR = new javax.swing.JLabel(); iconoLSRA = new javax.swing.JLabel(); iconoEnlace = new javax.swing.JLabel(); jScrollPane1 = new javax.swing.JScrollPane(); panelDisenio = new simMPLS.ui.simulator.JPanelDisenio(); panelSimulacionSuperior = new javax.swing.JPanel(); panelBotonesSimulacion = new javax.swing.JPanel(); iconoComenzar = new javax.swing.JLabel(); iconoFinalizar = new javax.swing.JLabel(); iconoReanudar = new javax.swing.JLabel(); iconoPausar = new javax.swing.JLabel(); barraDeProgreso = new javax.swing.JProgressBar(); mlsPorTic = new javax.swing.JSlider(); etiquetaMlsPorTic = new javax.swing.JLabel(); crearTraza = new javax.swing.JCheckBox(); jScrollPane2 = new javax.swing.JScrollPane(); panelSimulacion = new simMPLS.ui.simulator.JSimulationPanel(); panelAnalisisSuperior = new javax.swing.JPanel(); panelSeleccionElemento = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); selectorElementoEstadisticas = new javax.swing.JComboBox(); jScrollPane4 = new javax.swing.JScrollPane(); panelAnalisis = new javax.swing.JPanel(); panelFijo = new javax.swing.JPanel(); etiquetaEstadisticasTituloEscenario = new javax.swing.JLabel(); etiquetaEstadisticasNombreAutor = new javax.swing.JLabel(); areaEstadisticasDescripcion = new javax.swing.JTextArea(); etiquetaNombreElementoEstadistica = new javax.swing.JLabel(); panelOpcionesSuperior = new javax.swing.JPanel(); jScrollPane3 = new javax.swing.JScrollPane(); panelOpciones = new javax.swing.JPanel(); jPanel3 = new javax.swing.JPanel(); jLabel5 = new javax.swing.JLabel(); nombreEscenario = new javax.swing.JTextField(); jLabel6 = new javax.swing.JLabel(); nombreAutor = new javax.swing.JTextField(); jLabel7 = new javax.swing.JLabel(); descripcionEscenario = new javax.swing.JTextField(); jPanel2 = new javax.swing.JPanel(); jLabel3 = new javax.swing.JLabel(); duracionMs = new javax.swing.JSlider(); etiquetaDuracionMs = new javax.swing.JLabel(); duracionNs = new javax.swing.JSlider(); etiquetaDuracionNs = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); pasoNs = new javax.swing.JSlider(); etiquetaPasoNs = new javax.swing.JLabel(); diseElementoPopUp.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dEliminarMenuItem.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dEliminarMenuItem.setMnemonic(java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes") .getString("VentanaHija.PopUpDisenio.mne.Delete").charAt(0)); java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes"); // NOI18N dEliminarMenuItem.setText(bundle.getString("VentanaHija.PopUpDisenio.Delete")); // NOI18N dEliminarMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnPopUpDisenioEliminar(evt); } }); diseElementoPopUp.add(dEliminarMenuItem); dVerNombreMenuItem.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dVerNombreMenuItem.setMnemonic(java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes") .getString("VentanaHija.PopUpDisenio.mne.verNombre").charAt(0)); dVerNombreMenuItem.setText(bundle.getString("VentanaHija.PopUpDisenio.verNombre")); // NOI18N dVerNombreMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnPopUpDisenioVerNombre(evt); } }); diseElementoPopUp.add(dVerNombreMenuItem); diseElementoPopUp.add(jSeparator1); dPropiedadesMenuItem.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dPropiedadesMenuItem.setMnemonic(java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes") .getString("VentanaHija.PopUpDisenio.mne.Propiedades").charAt(0)); dPropiedadesMenuItem.setText(bundle.getString("VentanaHija.PopUpDisenio.Propiedades")); // NOI18N dPropiedadesMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnPropiedadesPopUpDisenioElemento(evt); } }); diseElementoPopUp.add(dPropiedadesMenuItem); diseFondoPopUp.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dVerNombresNodosMenuItem.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dVerNombresNodosMenuItem.setMnemonic(java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes") .getString("popUpDisenioFondo.mne.verTodosNodos").charAt(0)); dVerNombresNodosMenuItem.setText(bundle.getString("popUpDisenioFondo.verTodosNodos")); // NOI18N dVerNombresNodosMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnPopUpDisenioFondoVerNombreNodos(evt); } }); diseFondoPopUp.add(dVerNombresNodosMenuItem); dOcultarNombresNodosMenuItem.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dOcultarNombresNodosMenuItem.setMnemonic(java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes") .getString("popUpDisenioFondo.mne.ocultarTodosNodos").charAt(0)); dOcultarNombresNodosMenuItem.setText(bundle.getString("popUpDisenioFondo.ocultarTodosNodos")); // NOI18N dOcultarNombresNodosMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnPopUpDisenioFondoOcultarNombreNodos(evt); } }); diseFondoPopUp.add(dOcultarNombresNodosMenuItem); dVerNombresEnlacesMenuItem.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dVerNombresEnlacesMenuItem.setMnemonic(java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes") .getString("popUpDisenioFondo.mne.verTodosEnlaces").charAt(0)); dVerNombresEnlacesMenuItem.setText(bundle.getString("popUpDisenioFondo.verTodosEnlaces")); // NOI18N dVerNombresEnlacesMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnPopUpDisenioFondoVerNombreEnlaces(evt); } }); diseFondoPopUp.add(dVerNombresEnlacesMenuItem); dOcultarNombresEnlacesMenuItem.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dOcultarNombresEnlacesMenuItem.setMnemonic(java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes") .getString("popUpDisenioFondo.mne.ocultarTodosEnlaces").charAt(0)); dOcultarNombresEnlacesMenuItem.setText(bundle.getString("popUpDisenioFondo.ocultarTodosEnlaces")); // NOI18N dOcultarNombresEnlacesMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnPopUpDisenioFondoOcultarNombreEnlaces(evt); } }); diseFondoPopUp.add(dOcultarNombresEnlacesMenuItem); diseFondoPopUp.add(jSeparator2); dEliminarTodoMenuItem.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N dEliminarTodoMenuItem.setMnemonic(java.util.ResourceBundle.getBundle("simMPLS/lenguajes/lenguajes") .getString("popUpDisenioFondo.mne.eliminarTodo").charAt(0)); dEliminarTodoMenuItem.setText(bundle.getString("popUpDisenioFondo.borrarTodo")); // NOI18N dEliminarTodoMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnPopUpDisenioFondoEliminar(evt); } }); diseFondoPopUp.add(dEliminarTodoMenuItem); setIconifiable(true); setMaximizable(true); setResizable(true); setTitle(bundle.getString("VentanaHija.Titulo")); // NOI18N setAutoscrolls(true); setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N setFrameIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.ICONO_VENTANA_INTERNA_MENU)); setNormalBounds(new java.awt.Rectangle(10, 10, 100, 100)); setPreferredSize(new java.awt.Dimension(100, 100)); setVisible(true); jTabbedPane1.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT); jTabbedPane1.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N panelDisenioSuperior.setLayout(new java.awt.BorderLayout()); panelBotonesDisenio.setBorder(javax.swing.BorderFactory.createEtchedBorder()); panelBotonesDisenio.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT)); iconoEmisor.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.EMISOR_MENU)); iconoEmisor.setToolTipText(bundle.getString("VentanaHija.Topic.Emisor")); // NOI18N iconoEmisor.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoEmisor(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDeIconoEmisor(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnAniadirEmisorDeTrafico(evt); } }); panelBotonesDisenio.add(iconoEmisor); iconoReceptor.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.RECEPTOR_MENU)); iconoReceptor.setToolTipText(bundle.getString("VentanaHija.Topic.Receptor")); // NOI18N iconoReceptor.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoReceptor(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDeIconoReceptor(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnAniadirReceptor(evt); } }); panelBotonesDisenio.add(iconoReceptor); iconoLER.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.LER_MENU)); iconoLER.setToolTipText(bundle.getString("VentanaHija.Topic.LER")); // NOI18N iconoLER.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoLER(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDeIconoLER(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnAniadirLER(evt); } }); panelBotonesDisenio.add(iconoLER); iconoLERA.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.LERA_MENU)); iconoLERA.setToolTipText(bundle.getString("VentanaHija.Topic.LERActivo")); // NOI18N iconoLERA.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoLERA(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDeIconoLERA(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnAniadirLERA(evt); } }); panelBotonesDisenio.add(iconoLERA); iconoLSR.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.LSR_MENU)); iconoLSR.setToolTipText(bundle.getString("VentanaHija.Topic.LSR")); // NOI18N iconoLSR.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoLSR(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDeIconoLSR(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnAniadirLSR(evt); } }); panelBotonesDisenio.add(iconoLSR); iconoLSRA.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.LSRA_MENU)); iconoLSRA.setToolTipText(bundle.getString("VentanaHija.Topic.LSRActivo")); // NOI18N iconoLSRA.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoLSRA(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDeIconoLSRA(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnAniadirLSRA(evt); } }); panelBotonesDisenio.add(iconoLSRA); iconoEnlace.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.ENLACE_MENU)); iconoEnlace.setToolTipText(bundle.getString("VentanaHija.Topic.Enlace")); // NOI18N iconoEnlace.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { clicEnAniadirEnlace(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoEnlace(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDeIconoEnlace(evt); } }); panelBotonesDisenio.add(iconoEnlace); panelDisenioSuperior.add(panelBotonesDisenio, java.awt.BorderLayout.NORTH); jScrollPane1.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); panelDisenio.setBackground(java.awt.Color.white); panelDisenio.setBorder(javax.swing.BorderFactory.createEtchedBorder()); panelDisenio.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { clicDerechoEnPanelDisenio(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnPanelDisenio(evt); } public void mouseReleased(java.awt.event.MouseEvent evt) { clicSoltadoEnPanelDisenio(evt); } }); panelDisenio.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() { public void mouseDragged(java.awt.event.MouseEvent evt) { arrastrandoEnPanelDisenio(evt); } public void mouseMoved(java.awt.event.MouseEvent evt) { ratonSobrePanelDisenio(evt); } }); panelDisenio.setLayout(null); jScrollPane1.setViewportView(panelDisenio); panelDisenioSuperior.add(jScrollPane1, java.awt.BorderLayout.CENTER); jTabbedPane1.addTab(bundle.getString("VentanaHija.Tab.Disenio"), dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.DISENIO), panelDisenioSuperior, bundle.getString("VentanaHija.A_panel_to_design_network_topology")); // NOI18N panelSimulacionSuperior.setLayout(new java.awt.BorderLayout()); panelBotonesSimulacion.setBorder(javax.swing.BorderFactory.createEtchedBorder()); panelBotonesSimulacion.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT)); iconoComenzar.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.BOTON_GENERAR)); iconoComenzar.setToolTipText(bundle.getString("VentanaHija.Topic.Generar")); // NOI18N iconoComenzar.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoComenzar(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDelIconoComenzar(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnComenzar(evt); } }); panelBotonesSimulacion.add(iconoComenzar); iconoFinalizar.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.BOTON_PARAR)); iconoFinalizar.setToolTipText(bundle.getString("VentanaHija.Topic.Finalizar")); // NOI18N iconoFinalizar.setEnabled(false); iconoFinalizar.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoFinalizar(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDelIconoFinalizar(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnFinalizar(evt); } }); panelBotonesSimulacion.add(iconoFinalizar); iconoReanudar.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.BOTON_COMENZAR)); iconoReanudar.setToolTipText(bundle.getString("VentanaHija.Topic.Simulacion")); // NOI18N iconoReanudar.setEnabled(false); iconoReanudar.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoReanudar(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDelIconoReanudar(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnReanudar(evt); } }); panelBotonesSimulacion.add(iconoReanudar); iconoPausar.setIcon(dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.BOTON_PAUSA)); iconoPausar.setToolTipText(bundle.getString("VentanaHija.Topic.Detener")); // NOI18N iconoPausar.setEnabled(false); iconoPausar.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { ratonEntraEnIconoPausar(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { ratonSaleDelIconoPausar(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicAlPausar(evt); } }); panelBotonesSimulacion.add(iconoPausar); barraDeProgreso.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N barraDeProgreso.setToolTipText(bundle.getString("VentanaHija.BarraProgreso.tooltip")); // NOI18N barraDeProgreso.setStringPainted(true); panelBotonesSimulacion.add(barraDeProgreso); mlsPorTic.setMajorTickSpacing(10); mlsPorTic.setMaximum(500); mlsPorTic.setMinimum(1); mlsPorTic.setMinorTickSpacing(1); mlsPorTic.setSnapToTicks(true); mlsPorTic.setToolTipText(bundle.getString("VentanaHija.Simulacion.SelectorDeVelocidad.tooltip")); // NOI18N mlsPorTic.setPreferredSize(new java.awt.Dimension(100, 20)); mlsPorTic.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { mlsPorTicCambiado(evt); } }); panelBotonesSimulacion.add(mlsPorTic); etiquetaMlsPorTic.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N etiquetaMlsPorTic.setForeground(new java.awt.Color(102, 102, 102)); panelBotonesSimulacion.add(etiquetaMlsPorTic); crearTraza.setText(bundle.getString("JVentanaHija.Create_trace_file")); // NOI18N panelBotonesSimulacion.add(crearTraza); panelSimulacionSuperior.add(panelBotonesSimulacion, java.awt.BorderLayout.NORTH); jScrollPane2.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); panelSimulacion.setBorder(javax.swing.BorderFactory.createEtchedBorder()); panelSimulacion.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { ratonPulsadoYSoltadoEnPanelSimulacion(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { clicEnPanelSimulacion(evt); } public void mouseReleased(java.awt.event.MouseEvent evt) { ratonSoltadoEnPanelSimulacion(evt); } }); panelSimulacion.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() { public void mouseDragged(java.awt.event.MouseEvent evt) { ratonArrastradoEnPanelSimulacion(evt); } public void mouseMoved(java.awt.event.MouseEvent evt) { ratonSobrePanelSimulacion(evt); } }); jScrollPane2.setViewportView(panelSimulacion); panelSimulacionSuperior.add(jScrollPane2, java.awt.BorderLayout.CENTER); jTabbedPane1.addTab(bundle.getString("VentanaHija.Tab.Simulacion"), dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.SIMULACION), panelSimulacionSuperior, bundle.getString("VentanaHija.A_panel_to_generate_and_play_simulation.")); // NOI18N panelAnalisisSuperior.setLayout(new java.awt.BorderLayout()); panelSeleccionElemento.setBorder(javax.swing.BorderFactory.createEtchedBorder()); panelSeleccionElemento.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT)); jLabel1.setText(bundle.getString("JVentanaHija.SelcUnElemParaVerDatos")); // NOI18N panelSeleccionElemento.add(jLabel1); selectorElementoEstadisticas.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "" })); selectorElementoEstadisticas.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { clicEnSeleccionalElementoEstadistica(evt); } }); panelSeleccionElemento.add(selectorElementoEstadisticas); panelAnalisisSuperior.add(panelSeleccionElemento, java.awt.BorderLayout.NORTH); jScrollPane4.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); panelAnalisis.setBackground(new java.awt.Color(252, 246, 226)); panelAnalisis.setLayout(new java.awt.GridBagLayout()); panelFijo.setBackground(new java.awt.Color(252, 246, 226)); panelFijo.setLayout(new java.awt.GridBagLayout()); etiquetaEstadisticasTituloEscenario.setBackground(new java.awt.Color(252, 246, 226)); etiquetaEstadisticasTituloEscenario.setFont(new java.awt.Font("Arial", 1, 18)); // NOI18N etiquetaEstadisticasTituloEscenario.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); etiquetaEstadisticasTituloEscenario.setText(bundle.getString("JVentanaHija.TituloDelEscenario")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; panelFijo.add(etiquetaEstadisticasTituloEscenario, gridBagConstraints); etiquetaEstadisticasNombreAutor.setBackground(new java.awt.Color(252, 246, 226)); etiquetaEstadisticasNombreAutor.setFont(new java.awt.Font("Arial", 1, 14)); // NOI18N etiquetaEstadisticasNombreAutor.setForeground(new java.awt.Color(102, 0, 51)); etiquetaEstadisticasNombreAutor.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); etiquetaEstadisticasNombreAutor.setText(bundle.getString("JVentanaHija.AutorDelEscenario")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; panelFijo.add(etiquetaEstadisticasNombreAutor, gridBagConstraints); areaEstadisticasDescripcion.setBackground(new java.awt.Color(252, 246, 226)); areaEstadisticasDescripcion.setEditable(false); areaEstadisticasDescripcion.setFont(new java.awt.Font("MonoSpaced", 0, 11)); // NOI18N areaEstadisticasDescripcion.setLineWrap(true); areaEstadisticasDescripcion.setRows(3); areaEstadisticasDescripcion.setText(bundle.getString("JVentanaHija.DescripcionDelEscenario")); // NOI18N areaEstadisticasDescripcion.setWrapStyleWord(true); areaEstadisticasDescripcion.setMinimumSize(new java.awt.Dimension(500, 16)); areaEstadisticasDescripcion.setPreferredSize(new java.awt.Dimension(500, 48)); areaEstadisticasDescripcion.setAutoscrolls(false); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; panelFijo.add(areaEstadisticasDescripcion, gridBagConstraints); etiquetaNombreElementoEstadistica.setBackground(new java.awt.Color(252, 246, 226)); etiquetaNombreElementoEstadistica.setFont(new java.awt.Font("Arial", 1, 14)); // NOI18N etiquetaNombreElementoEstadistica.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); etiquetaNombreElementoEstadistica.setText(bundle.getString("JVentanaHija.SeleccioneNodoAInspeccionar")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; panelFijo.add(etiquetaNombreElementoEstadistica, gridBagConstraints); panelAnalisis.add(panelFijo, new java.awt.GridBagConstraints()); jScrollPane4.setViewportView(panelAnalisis); panelAnalisisSuperior.add(jScrollPane4, java.awt.BorderLayout.CENTER); jTabbedPane1.addTab(bundle.getString("JVentanaHija.Analisis"), dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.ANALISIS), panelAnalisisSuperior, bundle.getString("JVentanaHija.Analisis.Tooltip")); // NOI18N panelOpcionesSuperior.setLayout(new java.awt.BorderLayout()); jScrollPane3.setBorder(null); panelOpciones.setPreferredSize(new java.awt.Dimension(380, 230)); panelOpciones.setLayout(new java.awt.GridBagLayout()); jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(null, bundle.getString("VentanaHija.GParameters"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); // NOI18N jPanel3.setLayout(new java.awt.GridBagLayout()); jLabel5.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel5.setText(bundle.getString("VentanaHija.Scene_title")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel3.add(jLabel5, gridBagConstraints); nombreEscenario.setToolTipText(bundle.getString("VentanaHija.Type_a__title_of_the_scene")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 200.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel3.add(nombreEscenario, gridBagConstraints); jLabel6.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel6.setText(bundle.getString("VentanaHija.Scene_author")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel3.add(jLabel6, gridBagConstraints); nombreAutor.setToolTipText(bundle.getString("VentanaHija.Type_de_name_of_the_author")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 200.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel3.add(nombreAutor, gridBagConstraints); jLabel7.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel7.setText(bundle.getString("VentanaHija.Description")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel3.add(jLabel7, gridBagConstraints); descripcionEscenario.setToolTipText(bundle.getString("VentanaHija.Enter_a_short_description.")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 200.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel3.add(descripcionEscenario, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 350.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); panelOpciones.add(jPanel3, gridBagConstraints); jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, bundle.getString("VentanaHija.TParameters"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); // NOI18N jPanel2.setLayout(new java.awt.GridBagLayout()); jLabel3.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel3.setText(bundle.getString("VentanaHija.Duration")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 100.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel2.add(jLabel3, gridBagConstraints); duracionMs.setMajorTickSpacing(10); duracionMs.setMaximum(10); duracionMs.setMinorTickSpacing(1); duracionMs.setToolTipText( bundle.getString("VentanaHija.Slide_it_to_change_the_ms._component_of_simulation_duration.")); // NOI18N duracionMs.setValue(0); duracionMs.setMaximumSize(new java.awt.Dimension(30, 20)); duracionMs.setMinimumSize(new java.awt.Dimension(30, 24)); duracionMs.setPreferredSize(new java.awt.Dimension(30, 20)); duracionMs.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { clicEnDuracionMs(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 150.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel2.add(duracionMs, gridBagConstraints); etiquetaDuracionMs.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N etiquetaDuracionMs.setForeground(new java.awt.Color(102, 102, 102)); etiquetaDuracionMs.setText(bundle.getString("VentanaHija.ms.")); // NOI18N etiquetaDuracionMs.setMaximumSize(new java.awt.Dimension(30, 14)); etiquetaDuracionMs.setMinimumSize(new java.awt.Dimension(30, 14)); etiquetaDuracionMs.setPreferredSize(new java.awt.Dimension(30, 14)); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 40.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel2.add(etiquetaDuracionMs, gridBagConstraints); duracionNs.setMajorTickSpacing(1000); duracionNs.setMaximum(999999); duracionNs.setMinorTickSpacing(100); duracionNs.setToolTipText( bundle.getString("VentanaHija.Slide_it_to_change_the_ns._component_of_simulation_duration.")); // NOI18N duracionNs.setValue(100000); duracionNs.setMaximumSize(new java.awt.Dimension(32767, 20)); duracionNs.setMinimumSize(new java.awt.Dimension(36, 20)); duracionNs.setPreferredSize(new java.awt.Dimension(200, 20)); duracionNs.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { clicEnDuracionNs(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 150.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel2.add(duracionNs, gridBagConstraints); etiquetaDuracionNs.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N etiquetaDuracionNs.setForeground(new java.awt.Color(102, 102, 102)); etiquetaDuracionNs.setText(bundle.getString("VentanaHija.ns.")); // NOI18N etiquetaDuracionNs.setMaximumSize(new java.awt.Dimension(40, 14)); etiquetaDuracionNs.setMinimumSize(new java.awt.Dimension(40, 14)); etiquetaDuracionNs.setPreferredSize(new java.awt.Dimension(40, 14)); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 100.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel2.add(etiquetaDuracionNs, gridBagConstraints); jLabel4.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel4.setText(bundle.getString("VentanaHija.Step")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 100.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel2.add(jLabel4, gridBagConstraints); pasoNs.setMajorTickSpacing(1000); pasoNs.setMaximum(999999); pasoNs.setMinimum(1); pasoNs.setMinorTickSpacing(100); pasoNs.setToolTipText(bundle.getString("VentanaHija.Slide_it_to_change_the_step_duration_(ns)..")); // NOI18N pasoNs.setValue(10000); pasoNs.setMaximumSize(new java.awt.Dimension(32767, 20)); pasoNs.setPreferredSize(new java.awt.Dimension(100, 20)); pasoNs.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { clicEnPasoNs(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 3; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel2.add(pasoNs, gridBagConstraints); etiquetaPasoNs.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N etiquetaPasoNs.setForeground(new java.awt.Color(102, 102, 102)); etiquetaPasoNs.setText(bundle.getString("VentanaHija.ns.")); // NOI18N etiquetaPasoNs.setMaximumSize(new java.awt.Dimension(40, 14)); etiquetaPasoNs.setMinimumSize(new java.awt.Dimension(40, 14)); etiquetaPasoNs.setPreferredSize(new java.awt.Dimension(40, 14)); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 4; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 100.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); jPanel2.add(etiquetaPasoNs, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 350.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); panelOpciones.add(jPanel2, gridBagConstraints); jScrollPane3.setViewportView(panelOpciones); panelOpcionesSuperior.add(jScrollPane3, java.awt.BorderLayout.NORTH); jTabbedPane1.addTab(bundle.getString("VentanaHija.Options"), dispensadorDeImagenes.obtenerIcono(simMPLS.ui.utils.TImagesBroker.OPCIONES), panelOpcionesSuperior, bundle.getString("VentanaHija.Options_about_the_scene")); // NOI18N getContentPane().add(jTabbedPane1, java.awt.BorderLayout.CENTER); pack(); }
From source file:com.mirth.connect.client.ui.browsers.event.EventBrowser.java
private void initComponents() { eventSplitPane = new javax.swing.JSplitPane(); eventPane = new javax.swing.JScrollPane(); eventTable = null;//from w w w. jav a 2s.c o m eventDetailsPanel = new javax.swing.JPanel(); eventAttributesPane = new javax.swing.JScrollPane(); eventAttributesTable = null; resetButton = new javax.swing.JButton(); allDayCheckBox = new com.mirth.connect.client.ui.components.MirthCheckBox(); lastSearchCriteriaPane = new javax.swing.JScrollPane(); lastSearchCriteria = new javax.swing.JTextArea(); nextPageButton = new javax.swing.JButton(); pageGoButton = new javax.swing.JButton(); pageSizeField = new com.mirth.connect.client.ui.components.MirthTextField(); previousPageButton = new javax.swing.JButton(); pageNumberField = new com.mirth.connect.client.ui.components.MirthTextField(); pageNumberLabel = new javax.swing.JLabel(); pageSizeLabel = new javax.swing.JLabel(); countButton = new com.mirth.connect.client.ui.components.MirthButton(); resultsLabel = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); nameLabel = new javax.swing.JLabel(); endDatePicker = new com.mirth.connect.client.ui.components.MirthDatePicker(); startDatePicker = new com.mirth.connect.client.ui.components.MirthDatePicker(); nameField = new javax.swing.JTextField(); startTimePicker = new com.mirth.connect.client.ui.components.MirthTimePicker(); endTimePicker = new com.mirth.connect.client.ui.components.MirthTimePicker(); filterButton = new javax.swing.JButton(); advSearchButton = new javax.swing.JButton(); levelBoxInformation = new com.mirth.connect.client.ui.components.MirthCheckBox(); levelBoxWarning = new com.mirth.connect.client.ui.components.MirthCheckBox(); levelBoxError = new com.mirth.connect.client.ui.components.MirthCheckBox(); pageTotalLabel = new javax.swing.JLabel(); setBackground(new java.awt.Color(255, 255, 255)); eventSplitPane.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); eventSplitPane.setDividerLocation(250); eventSplitPane.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); eventSplitPane.setResizeWeight(1.0); eventPane.setViewportView(eventTable); eventSplitPane.setLeftComponent(eventPane); eventDetailsPanel.setBackground(new java.awt.Color(255, 255, 255)); eventDetailsPanel.setMinimumSize(new java.awt.Dimension(0, 150)); eventAttributesPane.setViewportView(eventAttributesTable); javax.swing.GroupLayout eventDetailsPanelLayout = new javax.swing.GroupLayout(eventDetailsPanel); eventDetailsPanel.setLayout(eventDetailsPanelLayout); eventDetailsPanelLayout.setHorizontalGroup( eventDetailsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(eventDetailsPanelLayout .createSequentialGroup().addContainerGap().addComponent(eventAttributesPane, javax.swing.GroupLayout.DEFAULT_SIZE, 832, Short.MAX_VALUE) .addContainerGap())); eventDetailsPanelLayout.setVerticalGroup( eventDetailsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, eventDetailsPanelLayout .createSequentialGroup().addGap(17, 17, 17).addComponent(eventAttributesPane, javax.swing.GroupLayout.DEFAULT_SIZE, 154, Short.MAX_VALUE) .addContainerGap())); eventSplitPane.setRightComponent(eventDetailsPanel); resetButton.setText("Reset"); resetButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { resetButtonActionPerformed(evt); } }); allDayCheckBox.setBackground(new java.awt.Color(255, 255, 255)); allDayCheckBox.setText("All Day"); allDayCheckBox.setFont(new java.awt.Font("Lucida Grande", 0, 11)); // NOI18N allDayCheckBox.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { allDayCheckBoxActionPerformed(evt); } }); lastSearchCriteriaPane.setBorder(null); lastSearchCriteriaPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); lastSearchCriteria.setEditable(false); lastSearchCriteria.setColumns(20); lastSearchCriteria.setForeground(new java.awt.Color(96, 96, 96)); lastSearchCriteria.setLineWrap(true); lastSearchCriteria.setRows(5); lastSearchCriteria.setAlignmentX(0.0F); lastSearchCriteria.setDisabledTextColor(new java.awt.Color(255, 255, 255)); lastSearchCriteriaPane.setViewportView(lastSearchCriteria); nextPageButton.setText("Next >"); nextPageButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { nextPageButtonActionPerformed(evt); } }); pageGoButton.setText("Go"); pageGoButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { pageGoButtonActionPerformed(evt); } }); pageSizeField.setToolTipText( "<html>\nAfter changing the page size, a new search must be performed for the changes to<br/>\ntake effect. The default page size can also be configured on the Settings panel.\n</html>"); previousPageButton.setText("< Prev"); previousPageButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { previousPageButtonActionPerformed(evt); } }); pageNumberField.setHorizontalAlignment(javax.swing.JTextField.RIGHT); pageNumberField.setToolTipText("Enter a page number and press Enter to jump to that page."); pageNumberField.setPreferredSize(new java.awt.Dimension(40, 22)); pageNumberLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); pageNumberLabel.setText("Page"); pageSizeLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); pageSizeLabel.setText("Page Size:"); pageSizeLabel.setMaximumSize(new java.awt.Dimension(78, 15)); countButton.setText("Count"); countButton.setToolTipText("Count the number of overall messages for the current search criteria."); countButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { countButtonActionPerformed(evt); } }); resultsLabel.setForeground(new java.awt.Color(204, 0, 0)); resultsLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); resultsLabel.setText("Results"); jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel3.setText("Start Time:"); jLabel3.setMaximumSize(new java.awt.Dimension(78, 15)); jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel2.setText("End Time:"); jLabel2.setMaximumSize(new java.awt.Dimension(78, 15)); nameLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); nameLabel.setText("Name:"); nameField.setToolTipText( "<html>\nSearch all message content for the given string. This process could take a long<br/>\ntime depending on the amount of message content currently stored. Any message<br/>\ncontent that was encrypted by this channel will not be searchable.\n</html>"); filterButton.setText("Search"); filterButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { filterButtonActionPerformed(evt); } }); advSearchButton.setText("Advanced..."); advSearchButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { advSearchButtonActionPerformed(evt); } }); levelBoxInformation.setBackground(new java.awt.Color(255, 255, 255)); levelBoxInformation.setText("INFORMATION"); levelBoxInformation.setFont(new java.awt.Font("Lucida Grande", 0, 11)); // NOI18N levelBoxInformation.setPreferredSize(new java.awt.Dimension(90, 22)); levelBoxWarning.setBackground(new java.awt.Color(255, 255, 255)); levelBoxWarning.setText("WARNING"); levelBoxWarning.setFont(new java.awt.Font("Lucida Grande", 0, 11)); // NOI18N levelBoxWarning.setMaximumSize(new java.awt.Dimension(83, 23)); levelBoxWarning.setMinimumSize(new java.awt.Dimension(83, 23)); levelBoxError.setBackground(new java.awt.Color(255, 255, 255)); levelBoxError.setText("ERROR"); levelBoxError.setFont(new java.awt.Font("Lucida Grande", 0, 11)); // NOI18N levelBoxError.setMaximumSize(new java.awt.Dimension(83, 23)); levelBoxError.setMinimumSize(new java.awt.Dimension(83, 23)); pageTotalLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); pageTotalLabel.setText("of ?"); pageTotalLabel.setAlignmentY(0.0F); pageTotalLabel.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(eventSplitPane) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(pageSizeLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(nameLabel)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(layout.createSequentialGroup() .addComponent(pageSizeField, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(advSearchButton, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(resetButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addComponent(startDatePicker, javax.swing.GroupLayout.PREFERRED_SIZE, 1, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(startTimePicker, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addComponent(endDatePicker, javax.swing.GroupLayout.PREFERRED_SIZE, 1, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(endTimePicker, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(nameField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 218, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(allDayCheckBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(19, 19, 19) .addGroup(layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(levelBoxInformation, javax.swing.GroupLayout.DEFAULT_SIZE, 95, Short.MAX_VALUE) .addComponent(levelBoxError, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(levelBoxWarning, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addComponent(filterButton, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent( lastSearchCriteriaPane, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(layout.createSequentialGroup() .addComponent(previousPageButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(nextPageButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(layout.createSequentialGroup().addComponent(resultsLabel).addGap(5, 5, 5) .addComponent(countButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(layout.createSequentialGroup().addComponent(pageNumberLabel) .addGap(4, 4, 4) .addComponent(pageNumberField, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(6, 6, 6).addComponent(pageTotalLabel).addGap(5, 5, 5) .addComponent(pageGoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap())); layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup().addGap(4, 4, 4).addGroup(layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup().addGroup(layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(startTimePicker, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(startDatePicker, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(endTimePicker, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(endDatePicker, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(nameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(nameLabel))) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(countButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(resultsLabel)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(pageGoButton).addComponent(pageTotalLabel) .addComponent(pageNumberField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(pageNumberLabel)))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER) .addComponent(nextPageButton).addComponent(previousPageButton)) .addGap(10, 10, 10) .addComponent(eventSplitPane, javax.swing.GroupLayout.DEFAULT_SIZE, 440, Short.MAX_VALUE)) .addGroup(layout.createSequentialGroup().addGroup(layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup().addGap(90, 90, 90).addComponent(pageSizeLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(layout.createSequentialGroup().addGap(87, 87, 87) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(pageSizeField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(advSearchButton).addComponent(resetButton) .addComponent(filterButton))) .addGroup(layout.createSequentialGroup().addGap(4, 4, 4) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(levelBoxInformation, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(allDayCheckBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(levelBoxWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(levelBoxError, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(layout.createSequentialGroup().addGap(4, 4, 4).addComponent( lastSearchCriteriaPane, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); }
From source file:com.t3.client.TabletopTool.java
private static final void configureJide() { com.jidesoft.utils.Lm.verifyLicense("T3 Team", "MapTool", "EOCG3JevAmlHo1o6OdcI80kvcf2wQkI2"); LookAndFeelFactory.UIDefaultsCustomizer uiDefaultsCustomizer = new LookAndFeelFactory.UIDefaultsCustomizer() { @Override/* w w w .j a v a 2s .c o m*/ public void customize(UIDefaults defaults) { ThemePainter painter = (ThemePainter) UIDefaultsLookup.get("Theme.painter"); defaults.put("OptionPaneUI", "com.jidesoft.plaf.basic.BasicJideOptionPaneUI"); defaults.put("OptionPane.showBanner", Boolean.TRUE); // show banner or not. default is true defaults.put("OptionPane.bannerIcon", new ImageIcon(TabletopTool.class.getClassLoader() .getResource("com/t3/client/image/tabletoptool_icon.png"))); defaults.put("OptionPane.bannerFontSize", 13); defaults.put("OptionPane.bannerFontStyle", Font.BOLD); defaults.put("OptionPane.bannerMaxCharsPerLine", 60); defaults.put("OptionPane.bannerForeground", painter != null ? painter.getOptionPaneBannerForeground() : null); // you should adjust this if banner background is not the default gradient paint defaults.put("OptionPane.bannerBorder", null); // use default border // set both bannerBackgroundDk and bannerBackgroundLt to null if you don't want gradient defaults.put("OptionPane.bannerBackgroundDk", painter != null ? painter.getOptionPaneBannerDk() : null); defaults.put("OptionPane.bannerBackgroundLt", painter != null ? painter.getOptionPaneBannerLt() : null); defaults.put("OptionPane.bannerBackgroundDirection", Boolean.TRUE); // default is true // optionally, you can set a Paint object for BannerPanel. If so, the three UIDefaults related to banner background above will be ignored. defaults.put("OptionPane.bannerBackgroundPaint", null); defaults.put("OptionPane.buttonAreaBorder", BorderFactory.createEmptyBorder(6, 6, 6, 6)); defaults.put("OptionPane.buttonOrientation", SwingConstants.RIGHT); } }; uiDefaultsCustomizer.customize(UIManager.getDefaults()); //register cell editors and renderers for (TokenPropertyType tpt : TokenPropertyType.values()) tpt.registerCellEditors(); CellEditorManager.registerEditor(TokenPropertyType.class, new CellEditorFactory() { @Override public CellEditor create() { return new ListComboBoxCellEditor(TokenPropertyType.values()); } }); }