List of usage examples for javax.swing SwingConstants CENTER
int CENTER
To view the source code for javax.swing SwingConstants CENTER.
Click Source Link
From source file:edu.ku.brc.specify.tasks.subpane.qb.QueryFieldPanel.java
/** * @param iconSize//from ww w . j av a 2 s . co m * @param widths */ protected void buildLabelLayout(final int[] widths) { StringBuilder sb = new StringBuilder(); JLabel[] labels = new JLabel[labelStrs.length]; int[] labelWidths = new int[labelStrs.length]; for (int i = 0; i < labels.length; i++) { labels[i] = createLabel(labelStrs[i], SwingConstants.CENTER); labelWidths[i] = Math.max(widths[i], labels[i].getPreferredSize().width); //System.out.println(labelStrs[i]+" "+labelWidths[i]); } for (int i = 0; i < labels.length; i++) { sb.append(i == 0 ? "" : ","); if (isCenteredComp(i)) sb.append("c:"); sb.append("max("); sb.append(labelWidths[i]); sb.append(";p)"); if (isGrowComp(i)) sb.append(":g"); sb.append(",4px"); } //System.out.println(sb.toString()); columnDefStr = sb.toString(); PanelBuilder builder = new PanelBuilder(new FormLayout(sb.toString(), "p"), this); CellConstraints cc = new CellConstraints(); int x = 1; for (JLabel label : labels) { builder.add(label, cc.xy(x, 1)); x += 2; } }
From source file:de.bwravencl.controllerbuddy.gui.Main.java
private void updateOverlayPanel() { if (indicatorsListPanel == null) return;//from w w w.j a v a2s . c o m indicatorsListPanel.removeAll(); for (final var virtualAxis : Input.VirtualAxis.values()) { final var indicatorPanel = new JPanel(new GridBagLayout()); indicatorsListPanel.add(indicatorPanel, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.FIRST_LINE_START, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 5)); final var virtualAxisLabel = new JLabel(virtualAxis.toString() + rb.getString("AXIS_LABEL_SUFFIX")); virtualAxisLabel.setPreferredSize(new Dimension(100, 15)); indicatorPanel.add(virtualAxisLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.BASELINE, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); final var virtualAxisToOverlayAxisMap = input.getProfile().getVirtualAxisToOverlayAxisMap(); final var overlayAxis = virtualAxisToOverlayAxisMap.get(virtualAxis); final var enabled = overlayAxis != null; final var colorLabel = new JLabel(); if (enabled) { colorLabel.setOpaque(true); colorLabel.setBackground(overlayAxis.color); } else colorLabel.setText(rb.getString("INDICATOR_DISABLED_LABEL")); colorLabel.setHorizontalAlignment(SwingConstants.CENTER); colorLabel.setPreferredSize(new Dimension(100, 15)); colorLabel.setBorder(BorderFactory.createLineBorder(Color.BLACK)); indicatorPanel.add(colorLabel, new GridBagConstraints(1, 0, 1, 1, 1.0, 0.0, GridBagConstraints.BASELINE, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); final var colorButton = new JButton(new SelectIndicatorColorAction(virtualAxis)); colorButton.setPreferredSize(BUTTON_DIMENSION); colorButton.setEnabled(enabled); indicatorPanel.add(colorButton, new GridBagConstraints(2, 0, 1, 1, 1.0, 0.0, GridBagConstraints.BASELINE, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); final var invertedCheckBox = new JCheckBox(new InvertIndicatorAction(virtualAxis)); invertedCheckBox.setSelected(enabled && overlayAxis.inverted); invertedCheckBox.setEnabled(enabled); indicatorPanel.add(invertedCheckBox, new GridBagConstraints(3, 0, 1, 1, 1.0, 0.0, GridBagConstraints.BASELINE, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); final var displayCheckBox = new JCheckBox(new DisplayIndicatorAction(virtualAxis)); displayCheckBox.setSelected(enabled); indicatorPanel.add(displayCheckBox, new GridBagConstraints(4, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.BASELINE, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); } indicatorsListPanel.add(Box.createGlue(), new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 1.0, 1.0, GridBagConstraints.FIRST_LINE_START, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); indicatorsScrollPane.setViewportView(indicatorsListPanel); }
From source file:com.nikonhacker.gui.EmulatorUI.java
private void openAnalyseDialog(final int chip) { JTextField optionsField = new JTextField(); JTextField destinationField = new JTextField(); // compute and try default names for options file. // In order : <firmware>.dfr.txt , <firmware>.txt , dfr.txt (or the same for dtx) File optionsFile = new File(imageFile[chip].getParentFile(), FilenameUtils.getBaseName(imageFile[chip].getAbsolutePath()) + ((chip == Constants.CHIP_FR) ? ".dfr.txt" : ".dtx.txt")); if (!optionsFile.exists()) { optionsFile = new File(imageFile[chip].getParentFile(), FilenameUtils.getBaseName(imageFile[chip].getAbsolutePath()) + ".txt"); if (!optionsFile.exists()) { optionsFile = new File(imageFile[chip].getParentFile(), ((chip == Constants.CHIP_FR) ? "dfr.txt" : "dtx.txt")); if (!optionsFile.exists()) { optionsFile = null;// w w w . j a v a 2 s. com } } } if (optionsFile != null) { optionsField.setText(optionsFile.getAbsolutePath()); } // compute default name for output File outputFile = new File(imageFile[chip].getParentFile(), FilenameUtils.getBaseName(imageFile[chip].getAbsolutePath()) + ".asm"); destinationField.setText(outputFile.getAbsolutePath()); final JCheckBox writeOutputCheckbox = new JCheckBox("Write disassembly to file"); final FileSelectionPanel destinationFileSelectionPanel = new FileSelectionPanel("Destination file", destinationField, false); destinationFileSelectionPanel.setFileFilter(".asm", "Assembly language file (*.asm)"); writeOutputCheckbox.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { boolean writeToFile = writeOutputCheckbox.isSelected(); destinationFileSelectionPanel.setEnabled(writeToFile); prefs.setWriteDisassemblyToFile(chip, writeToFile); } }); writeOutputCheckbox.setSelected(prefs.isWriteDisassemblyToFile(chip)); destinationFileSelectionPanel.setEnabled(prefs.isWriteDisassemblyToFile(chip)); FileSelectionPanel fileSelectionPanel = new FileSelectionPanel( (chip == Constants.CHIP_FR) ? "Dfr options file" : "Dtx options file", optionsField, false); fileSelectionPanel.setFileFilter((chip == Constants.CHIP_FR) ? ".dfr.txt" : ".dtx.txt", (chip == Constants.CHIP_FR) ? "Dfr options file (*.dfr.txt)" : "Dtx options file (*.dtx.txt)"); final JComponent[] inputs = new JComponent[] { //new FileSelectionPanel("Source file", sourceFile, false, dependencies), fileSelectionPanel, writeOutputCheckbox, destinationFileSelectionPanel, makeOutputOptionCheckBox(chip, OutputOption.STRUCTURE, prefs.getOutputOptions(chip), true), makeOutputOptionCheckBox(chip, OutputOption.ORDINAL, prefs.getOutputOptions(chip), true), makeOutputOptionCheckBox(chip, OutputOption.PARAMETERS, prefs.getOutputOptions(chip), true), makeOutputOptionCheckBox(chip, OutputOption.INT40, prefs.getOutputOptions(chip), true), makeOutputOptionCheckBox(chip, OutputOption.MEMORY, prefs.getOutputOptions(chip), true), new JLabel("(hover over the options for help. See also 'Tools/Options/Disassembler output')", SwingConstants.CENTER) }; if (JOptionPane.OK_OPTION == JOptionPane.showOptionDialog(this, inputs, "Choose analyse options", JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE, null, null, JOptionPane.DEFAULT_OPTION)) { String outputFilename = writeOutputCheckbox.isSelected() ? destinationField.getText() : null; boolean cancel = false; if (outputFilename != null) { if (new File(outputFilename).exists()) { if (JOptionPane.showConfirmDialog(this, "File '" + outputFilename + "' already exists.\nDo you really want to overwrite it ?", "File exists", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE) != JOptionPane.YES_OPTION) { cancel = true; } } } if (!cancel) { AnalyseProgressDialog analyseProgressDialog = new AnalyseProgressDialog(this, framework.getPlatform(chip).getMemory()); analyseProgressDialog.startBackgroundAnalysis(chip, optionsField.getText(), outputFilename); analyseProgressDialog.setVisible(true); } } }
From source file:Creator.WidgetPanel.java
private void _List_WidgetCodeListValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event__List_WidgetCodeListValueChanged // _ScrollPane_WidgetSettings if (!evt.getValueIsAdjusting()) { // Load the variables of the widget String widgetCodeStr;// w w w. j a v a 2s . com WidgetCode wc = null; WidgetLink wl = null; if (!_JTree_WidgetLinks.isSelectionEmpty()) { DefaultMutableTreeNode node = (DefaultMutableTreeNode) _JTree_WidgetLinks .getLastSelectedPathComponent(); if (node == null) //Nothing is selected. { return; } if (node.getParent() != null) { String s = node.getParent().toString() + "-" + node.getUserObject().toString(); if (ws.containsKey(s)) { wl = ws.get(s); wc = widgetList.get(wl.getWidgetCodeName()); } } } if (wc == null) { // No selected item on the JTree widgetCodeStr = _List_WidgetCodeList.getSelectedValue().toString(); wc = widgetList.get(widgetCodeStr); } else { // Make sure the item selected matches the code in the widget link // This makes selecting if (!wc.getWidgetName().equals(_List_WidgetCodeList.getSelectedValue().toString())) { widgetCodeStr = _List_WidgetCodeList.getSelectedValue().toString(); wc = widgetList.get(widgetCodeStr); } } GridBagLayout gbl = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); c.fill = GridBagConstraints.HORIZONTAL; c.gridx = 0; c.gridy = 0; c.weightx = 1; c.weighty = 0; c.gridwidth = 1; c.gridheight = 1; c.ipadx = 0; c.ipady = 5; if (widgetCodeSettings == null) { widgetCodeSettings = new HashMap<>(); } else { widgetCodeSettings.clear(); } _Panel_WidgetSettings.removeAll(); _Panel_WidgetSettings.setLayout(gbl); for (String name : wc.getVariables()) { JLabel label = new JLabel(name); label.setFont(new Font("Arial", Font.BOLD, 13)); label.setHorizontalAlignment(SwingConstants.CENTER); JTextField textfield = new JTextField(""); textfield.setHorizontalAlignment(SwingConstants.CENTER); if (wl != null) { textfield.setText(wl.getVariables().get(name)); } textfield.setFont(new Font("Arial", Font.BOLD, 15)); widgetCodeSettings.put(label.getText(), textfield); _Panel_WidgetSettings.add(label, c); c.gridy += 1; _Panel_WidgetSettings.add(textfield, c); c.gridy += 1; } _ScrollPane_WidgetSettings.revalidate(); _ScrollPane_WidgetSettings.repaint(); } }
From source file:edu.ku.brc.specify.Specify.java
/** * Shows the About dialog.//from ww w.j a va2 s .c om */ public void doAbout() { AppContextMgr acm = AppContextMgr.getInstance(); boolean showDetailedAbout = acm.hasContext() && acm.getClassObject(Division.class) != null && acm.getClassObject(Discipline.class) != null && acm.getClassObject(Collection.class) != null; int baseNumRows = 14; String serverName = AppPreferences.getLocalPrefs().get("login.servers_selected", null); if (serverName != null) { baseNumRows++; } CellConstraints cc = new CellConstraints(); PanelBuilder infoPB = new PanelBuilder(new FormLayout("p,6px,f:p:g", "p,4px,p,4px," + UIHelper.createDuplicateJGoodiesDef("p", "2px", baseNumRows))); JLabel iconLabel = new JLabel(IconManager.getIcon("SpecifyLargeIcon"), SwingConstants.CENTER); //$NON-NLS-1$ PanelBuilder iconPB = new PanelBuilder(new FormLayout("p", "20px,t:p,f:p:g")); iconPB.add(iconLabel, cc.xy(1, 2)); if (showDetailedAbout) { final ArrayList<String> values = new ArrayList<String>(); DBTableIdMgr tableMgr = DBTableIdMgr.getInstance(); boolean hasReged = !RegisterSpecify.isAnonymous() && RegisterSpecify.hasInstitutionRegistered(); int y = 1; infoPB.addSeparator(getResourceString("Specify.SYS_INFO"), cc.xyw(1, y, 3)); y += 2; JLabel lbl = UIHelper.createLabel(databaseName); addLabel(values, infoPB, UIHelper.createI18NFormLabel("Specify.DB"), cc.xy(1, y)); addLabel(values, infoPB, lbl, cc.xy(3, y)); y += 2; lbl.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { openLocalPrefs(); } } }); int instId = Institution.getClassTableId(); addLabel(values, infoPB, UIHelper.createFormLabel(tableMgr.getTitleForId(instId)), cc.xy(1, y)); addLabel(values, infoPB, lbl = UIHelper.createLabel(acm.getClassObject(Institution.class).getName()), cc.xy(3, y)); y += 2; addLabel(values, infoPB, UIHelper.createFormLabel(getGUIDTitle(instId)), cc.xy(1, y)); String noGUID = "<No GUID>"; String guidStr = acm.getClassObject(Institution.class).getGuid(); addLabel(values, infoPB, lbl = UIHelper.createLabel(guidStr != null ? guidStr : noGUID), cc.xy(3, y)); y += 2; lbl.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { openRemotePrefs(); } } }); addLabel(values, infoPB, UIHelper.createFormLabel(tableMgr.getTitleForId(Division.getClassTableId())), cc.xy(1, y)); addLabel(values, infoPB, lbl = UIHelper.createLabel(acm.getClassObject(Division.class).getName()), cc.xy(3, y)); y += 2; lbl.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { openGlobalPrefs(); } } }); addLabel(values, infoPB, UIHelper.createFormLabel(tableMgr.getTitleForId(Discipline.getClassTableId())), cc.xy(1, y)); addLabel(values, infoPB, UIHelper.createLabel(acm.getClassObject(Discipline.class).getName()), cc.xy(3, y)); y += 2; addLabel(values, infoPB, UIHelper.createFormLabel(tableMgr.getTitleForId(Collection.getClassTableId())), cc.xy(1, y)); addLabel(values, infoPB, UIHelper.createLabel(acm.getClassObject(Collection.class).getCollectionName()), cc.xy(3, y)); y += 2; addLabel(values, infoPB, UIHelper.createFormLabel(getGUIDTitle(Collection.getClassTableId())), cc.xy(1, y)); guidStr = acm.getClassObject(Collection.class).getGuid(); addLabel(values, infoPB, UIHelper.createLabel(guidStr != null ? guidStr : noGUID), cc.xy(3, y)); y += 2; //addLabel(values, infoPB, UIHelper.createI18NFormLabel("Specify.BLD"), cc.xy(1, y)); //addLabel(values, infoPB, UIHelper.createLabel(appBuildVersion),cc.xy(3, y)); y += 2; addLabel(values, infoPB, UIHelper.createI18NFormLabel("Specify.BLD"), cc.xy(1, y)); UIRegistry.loadAndPushResourceBundle("bld"); addLabel(values, infoPB, UIHelper.createLabel(getResourceString("build")), cc.xy(3, y)); y += 2; addLabel(values, infoPB, UIHelper.createI18NFormLabel("Specify.BLD_TM"), cc.xy(1, y)); addLabel(values, infoPB, UIHelper.createLabel(getResourceString("buildtime")), cc.xy(3, y)); y += 2; UIRegistry.popResourceBundle(); addLabel(values, infoPB, UIHelper.createI18NFormLabel("Specify.REG"), cc.xy(1, y)); addLabel(values, infoPB, UIHelper.createI18NLabel(hasReged ? "Specify.HASREG" : "Specify.NOTREG"), cc.xy(3, y)); y += 2; String isaNumber = RegisterSpecify.getISANumber(); addLabel(values, infoPB, UIHelper.createI18NFormLabel("Specify.ISANUM"), cc.xy(1, y)); addLabel(values, infoPB, UIHelper.createLabel(StringUtils.isNotEmpty(isaNumber) ? isaNumber : ""), cc.xy(3, y)); y += 2; if (serverName != null) { addLabel(values, infoPB, UIHelper.createI18NFormLabel("Specify.SERVER"), cc.xy(1, y)); addLabel(values, infoPB, UIHelper.createLabel(StringUtils.isNotEmpty(serverName) ? serverName : ""), cc.xy(3, y)); y += 2; } if (StringUtils.contains(DBConnection.getInstance().getConnectionStr(), "mysql")) { Vector<Object[]> list = BasicSQLUtils.query("select version() as ve"); if (list != null && list.size() > 0) { addLabel(values, infoPB, UIHelper.createFormLabel("MySQL Version"), cc.xy(1, y)); addLabel(values, infoPB, UIHelper.createLabel(list.get(0)[0].toString()), cc.xy(3, y)); y += 2; } } addLabel(values, infoPB, UIHelper.createFormLabel("Java Version"), cc.xy(1, y)); addLabel(values, infoPB, UIHelper.createLabel(System.getProperty("java.version")), cc.xy(3, y)); y += 2; JButton copyCBBtn = createIconBtn("ClipboardCopy", IconManager.IconSize.Std24, "Specify.CPY_ABT_TO_TT", null); //copyCBBtn.setBackground(Color.WHITE); //copyCBBtn.setOpaque(true); //copyCBBtn.setBorder(BorderFactory.createEtchedBorder()); copyCBBtn.setEnabled(true); PanelBuilder cbPB = new PanelBuilder(new FormLayout("f:p:g,p", "p")); cbPB.add(copyCBBtn, cc.xy(2, 1)); copyCBBtn.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // Copy to Clipboard StringBuilder sb = new StringBuilder(); for (int i = 0; i < values.size(); i++) { sb.append(String.format("%s = %s\n", values.get(i), values.get(i + 1))); i++; } UIHelper.setTextToClipboard(sb.toString()); UIRegistry.displayInfoMsgDlgLocalized("Specify.CPY_ABT_TO_MSG"); } }); infoPB.add(cbPB.getPanel(), cc.xy(3, y)); y += 2; } String txt = getAboutText(appName, appVersion); JLabel txtLbl = createLabel(txt); txtLbl.setFont(UIRegistry.getDefaultFont()); final JEditorPane txtPane = new JEditorPane("text/html", txt); txtPane.setEditable(false); txtPane.setBackground(new JPanel().getBackground()); PanelBuilder pb = new PanelBuilder(new FormLayout("p,20px,f:min(400px;p):g,10px,8px,10px,p:g", "f:p:g")); pb.add(iconPB.getPanel(), cc.xy(1, 1)); pb.add(txtPane, cc.xy(3, 1)); Color bg = getBackground(); if (showDetailedAbout) { pb.add(new VerticalSeparator(bg.darker(), bg.brighter()), cc.xy(5, 1)); pb.add(infoPB.getPanel(), cc.xy(7, 1)); } pb.setDefaultDialogBorder(); String title = getResourceString("Specify.ABOUT");//$NON-NLS-1$ CustomDialog aboutDlg = new CustomDialog(topFrame, title + " " + appName, true, CustomDialog.OK_BTN, //$NON-NLS-1$ pb.getPanel()); String okLabel = getResourceString("Specify.CLOSE");//$NON-NLS-1$ aboutDlg.setOkLabel(okLabel); aboutDlg.createUI(); aboutDlg.pack(); // for some strange reason I can't get the dialog to size itself correctly Dimension size = aboutDlg.getSize(); size.height += 120; aboutDlg.setSize(size); txtPane.addHyperlinkListener(new HyperlinkListener() { public void hyperlinkUpdate(HyperlinkEvent event) { if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { try { AttachmentUtils.openURI(event.getURL().toURI()); } catch (Exception e) { edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount(); } } } }); UIHelper.centerAndShow(aboutDlg); }
From source file:de.main.sessioncreator.DesktopApplication1View.java
/** This method is called from within the constructor to * initialize the form.// w ww . ja v a2 s . co m * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { mainPanel = new JLayeredPane(); UIManager.put("TabbedPane.selected", Color.green); wizardPanel = new javax.swing.JPanel(); mainPanel.setLayer(wizardPanel, 3); WizardToolbar = new javax.swing.JToolBar(); wizardbtntopNew = new javax.swing.JButton(); wizardbtntopSave = new javax.swing.JButton(); jSeparator2 = new javax.swing.JToolBar.Separator(); wizardbtntopBack = new javax.swing.JButton(); wizardbtntopNext = new javax.swing.JButton(); jSeparator1 = new javax.swing.JToolBar.Separator(); wizardbtntopStart = new javax.swing.JButton(); wizardbtntopStop = new javax.swing.JButton(); wizardtabp = new javax.swing.JTabbedPane(); welcomePanel = new javax.swing.JPanel(); wizardLblWelcome = new javax.swing.JLabel(); wizardLblChooseName = new javax.swing.JLabel(); wizardLblpathTodo = new javax.swing.JLabel(); wizardTfPathTodo = new javax.swing.JTextField(); wizardhCkBxSubfolder = new javax.swing.JCheckBox(); wizardLblPathSubmitted = new javax.swing.JLabel(); wizardTfPathSubmitted = new javax.swing.JTextField(); wizardCmbxTester = new javax.swing.JComboBox(); wizardbtnRefreshTester = new javax.swing.JButton(); wizardChckBxSecondTester = new javax.swing.JCheckBox(); wizardCmbxMoreTester = new javax.swing.JComboBox(); charterPanel = new javax.swing.JPanel(); wizardLblChooseCharter = new javax.swing.JLabel(); wizardCmbxCharter = new javax.swing.JComboBox(); wizardScrollPCharterInfo = new javax.swing.JScrollPane(); wizardtaPreviewCharter = new javax.swing.JTextArea(); wizardChckBxNewCharter = new javax.swing.JCheckBox(); jScrollPane1 = new javax.swing.JScrollPane(); wizardtaNewCharter = new javax.swing.JTextArea(); areasPanel = new javax.swing.JPanel(); wizardtabpAreas = new javax.swing.JTabbedPane(); jScrollPane4 = new javax.swing.JScrollPane(); jList2 = new javax.swing.JList(); jScrollPane5 = new javax.swing.JScrollPane(); jList3 = new javax.swing.JList(); jScrollPane2 = new javax.swing.JScrollPane(); jList1 = new javax.swing.JList(); wizardjScrollPaneAreas = new javax.swing.JScrollPane(); wizardtaChoosenAreas = new javax.swing.JTextArea(); wizardLblchooseArea = new javax.swing.JLabel(); wizardLblpathToCoverageini = new javax.swing.JLabel(); wizardtfCoverageini = new javax.swing.JTextField(); wizardbtnRefreshAreas = new javax.swing.JButton(); wizardbtnRemoveArea = new javax.swing.JButton(); wizardbtnAddAreas = new javax.swing.JButton(); wizardbtnSaveTodo = new javax.swing.JButton(); testsessionPanel = new javax.swing.JPanel(); wizardLblstartTime = new javax.swing.JLabel(); wizardPanelTaskBreakd = new javax.swing.JPanel(); wizardLblDuration = new javax.swing.JLabel(); wizardLblDesignExecution = new javax.swing.JLabel(); wizardLblSetup = new javax.swing.JLabel(); wizardLblChartervs = new javax.swing.JLabel(); wizardtfDuration = new javax.swing.JTextField(); wizardtfSessionSetup = new javax.swing.JTextField(); wizardLblBugReporting = new javax.swing.JLabel(); wizardtfBugInvestigation = new javax.swing.JTextField(); wizardtfCharter = new javax.swing.JTextField(); wizardLblSlash = new javax.swing.JLabel(); wizardtfOpportunity = new javax.swing.JTextField(); wizardLblStopfield = new javax.swing.JLabel(); wizardtfTestDesignExecution = new javax.swing.JTextField(); wizardLblvs = new javax.swing.JLabel(); wizardLblOpportunity = new javax.swing.JLabel(); wizardPanelTestsessionAreas = new javax.swing.JPanel(); wizardScrollPaneAreas = new javax.swing.JScrollPane(); wizardtaTestsessionAreas = new javax.swing.JTextArea(); wizardLblcharterHeadline = new javax.swing.JLabel(); wizardLblStart = new javax.swing.JLabel(); wizardLblTester = new javax.swing.JLabel(); wizardTabpDetailsDTBIR = new javax.swing.JTabbedPane(); wizardScrollPaneDataFiles = new javax.swing.JScrollPane(); wizardtaDataFiles = new javax.swing.JTextArea(); wizardScrollPaneTestNotes = new javax.swing.JScrollPane(); wizardtaTestNotes = new javax.swing.JTextArea(); wizardScrollPaneBugs = new javax.swing.JScrollPane(); wizardtaBugs = new javax.swing.JTextArea(); wizardScrollPaneIssues = new javax.swing.JScrollPane(); wizardtaIssues = new javax.swing.JTextArea(); wizardScrollPaneReview = new javax.swing.JScrollPane(); wizardtaReview = new javax.swing.JTextArea(); wizardtfNameOfTester = new javax.swing.JTextField(); jScrollPane3 = new javax.swing.JScrollPane(); wizardtaCharterdynamic = new javax.swing.JTextArea(); wizardbtnBack = new javax.swing.JButton(); wizardbtnStart = new javax.swing.JButton(); wizardbtnStop = new javax.swing.JButton(); wizardbtnSave = new javax.swing.JButton(); wizardbtnNext = new javax.swing.JButton(); wizardbtnNew = new javax.swing.JButton(); viewReviewsPanel = new javax.swing.JPanel(); mainPanel.setLayer(viewReviewsPanel, 1); ReviewToolbar = new javax.swing.JToolBar(); reviewbtntopSave = new javax.swing.JButton(); jSeparator3 = new javax.swing.JToolBar.Separator(); reviewbtntopBack = new javax.swing.JButton(); reviewbtntopNext = new javax.swing.JButton(); reviewbtntopMove = new javax.swing.JButton(); reviewViewlabel = new javax.swing.JLabel(); reviewSessionsTabp = new javax.swing.JTabbedPane(); reviewToreviewSessionsPanel = new javax.swing.JPanel(); reviewCmbxSessiontoReview = new javax.swing.JComboBox(); reviewtoReviewPanel = new javax.swing.JPanel(); reviewViewPanel = new javax.swing.JPanel(); reviewLblStartTime = new javax.swing.JLabel(); reviewPaneTaskbreakdown = new javax.swing.JPanel(); reviewLblDuration = new javax.swing.JLabel(); reviewLblTestExecution = new javax.swing.JLabel(); reviewLblSetup = new javax.swing.JLabel(); reviewLblChartervs = new javax.swing.JLabel(); reviewtfDuration = new javax.swing.JTextField(); reviewtfSessionSetup = new javax.swing.JTextField(); reviewLblBugReporting = new javax.swing.JLabel(); reviewtfBugInvestigation = new javax.swing.JTextField(); reviewtfCharter = new javax.swing.JTextField(); reviewtfTestDesignExecution = new javax.swing.JTextField(); reviewLblvs = new javax.swing.JLabel(); reviewLblOpportunity = new javax.swing.JLabel(); reviewPanelTestsessionAreas = new javax.swing.JPanel(); reviewScrollPaneArea = new javax.swing.JScrollPane(); reviewtaTestsessionAreasReview = new javax.swing.JTextArea(); reviewCharterHeadlineLabel = new javax.swing.JLabel(); reviewLblStart = new javax.swing.JLabel(); reviewLblTester = new javax.swing.JLabel(); reviewTabpDTBIR = new javax.swing.JTabbedPane(); reviewScrollPaneDatafile = new javax.swing.JScrollPane(); reviewtaDataFiles = new javax.swing.JTextArea(); reviewScrollPaneTestNotes = new javax.swing.JScrollPane(); reviewtaTestNotes = new javax.swing.JTextArea(); reviewScrollPaneBugs = new javax.swing.JScrollPane(); reviewedipaneBugs = new javax.swing.JEditorPane(); reviewScrollPaneIssues = new javax.swing.JScrollPane(); reviewtaIssues = new javax.swing.JTextArea(); reviewScrollPaneReview = new javax.swing.JScrollPane(); reviewtaReview = new javax.swing.JTextArea(); reviewtfNameOfTester = new javax.swing.JTextField(); jScrollPane6 = new javax.swing.JScrollPane(); reviewtaCharterdynamic = new javax.swing.JTextArea(); reviewbtnNext = new javax.swing.JButton(); reviewbtnBack = new javax.swing.JButton(); reviewbtnSave = new javax.swing.JButton(); reviewbtnMove = new javax.swing.JButton(); reportPanel = new javax.swing.JPanel(); mainPanel.setLayer(reportPanel, 2); reportChartPanel = new javax.swing.JPanel(); reportScrollPOverviewTabel = new javax.swing.JScrollPane(); reportOverviewTable = new javax.swing.JTable(); reportlblSum = new javax.swing.JLabel(); reportlblBug = new javax.swing.JLabel(); reportlblIssue = new javax.swing.JLabel(); menuBar = new javax.swing.JMenuBar(); javax.swing.JMenu fileMenu = new javax.swing.JMenu(); saveMenuItem = new javax.swing.JMenuItem(); javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem(); sessionMenu = new javax.swing.JMenu(); sessionWizardMenuItem = new javax.swing.JMenuItem(); reviewVieMenuItem = new javax.swing.JMenuItem(); sessionReportMenuItem = new javax.swing.JMenuItem(); javax.swing.JMenu helpMenu = new javax.swing.JMenu(); javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem(); helpMenuItem = new javax.swing.JMenuItem(); statusPanel = new javax.swing.JPanel(); javax.swing.JSeparator statusPanelSeparator = new javax.swing.JSeparator(); statusMessageLabel = new javax.swing.JLabel(); statusAnimationLabel = new javax.swing.JLabel(); progressBar = new javax.swing.JProgressBar(); wizardPopUpBugTab = new javax.swing.JPopupMenu(); wizardPopUpIssueTab = new javax.swing.JPopupMenu(); mainPanel.setMaximumSize(new java.awt.Dimension(990, 900)); mainPanel.setMinimumSize(new java.awt.Dimension(900, 500)); mainPanel.setName("mainPanel"); // NOI18N mainPanel.setPreferredSize(new java.awt.Dimension(990, 500)); wizardPanel.setMaximumSize(new java.awt.Dimension(990, 900)); wizardPanel.setMinimumSize(new java.awt.Dimension(990, 500)); wizardPanel.setName("wizardPanel"); // NOI18N wizardPanel.setPreferredSize(new java.awt.Dimension(990, 500)); WizardToolbar.setFloatable(false); WizardToolbar.setRollover(true); WizardToolbar.setName("WizardToolbar"); // NOI18N org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application .getInstance(de.main.sessioncreator.DesktopApplication1.class).getContext() .getResourceMap(DesktopApplication1View.class); wizardbtntopNew.setIcon(resourceMap.getIcon("wizardbtntopNew.icon")); // NOI18N wizardbtntopNew.setToolTipText(resourceMap.getString("wizardbtntopNew.toolTipText")); // NOI18N wizardbtntopNew.setDisabledIcon(resourceMap.getIcon("wizardbtntopNew.disabledIcon")); // NOI18N wizardbtntopNew.setFocusable(false); wizardbtntopNew.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); wizardbtntopNew.setName("wizardbtntopNew"); // NOI18N wizardbtntopNew.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); wizardbtntopNew.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { wizardbtntopNewMouseClicked(evt); } }); WizardToolbar.add(wizardbtntopNew); javax.swing.ActionMap actionMap = org.jdesktop.application.Application .getInstance(de.main.sessioncreator.DesktopApplication1.class).getContext() .getActionMap(DesktopApplication1View.class, this); wizardbtntopSave.setAction(actionMap.get("saveTestsession")); // NOI18N wizardbtntopSave.setIcon(resourceMap.getIcon("wizardbtntopSave.icon")); // NOI18N wizardbtntopSave.setToolTipText(resourceMap.getString("wizardbtntopSave.toolTipText")); // NOI18N wizardbtntopSave.setDisabledIcon(resourceMap.getIcon("wizardbtntopSave.disabledIcon")); // NOI18N wizardbtntopSave.setFocusable(false); wizardbtntopSave.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); wizardbtntopSave.setName("wizardbtntopSave"); // NOI18N wizardbtntopSave.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); wizardbtntopSave.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { wizardbtntopSaveMouseClicked(evt); } }); WizardToolbar.add(wizardbtntopSave); jSeparator2.setName("jSeparator2"); // NOI18N WizardToolbar.add(jSeparator2); wizardbtntopBack.setIcon(resourceMap.getIcon("wizardbtntopBack.icon")); // NOI18N wizardbtntopBack.setToolTipText(resourceMap.getString("wizardbtntopBack.toolTipText")); // NOI18N wizardbtntopBack.setDisabledIcon(resourceMap.getIcon("wizardbtntopBack.disabledIcon")); // NOI18N wizardbtntopBack.setEnabled(false); wizardbtntopBack.setFocusable(false); wizardbtntopBack.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT); wizardbtntopBack.setName("wizardbtntopBack"); // NOI18N wizardbtntopBack.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); wizardbtntopBack.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { wizardbtntopBackActionPerformed(evt); } }); WizardToolbar.add(wizardbtntopBack); wizardbtntopNext.setIcon(resourceMap.getIcon("wizardbtntopNext.icon")); // NOI18N wizardbtntopNext.setToolTipText(resourceMap.getString("wizardbtntopNext.toolTipText")); // NOI18N wizardbtntopNext.setDisabledIcon(resourceMap.getIcon("wizardbtntopNext.disabledIcon")); // NOI18N wizardbtntopNext.setFocusable(false); wizardbtntopNext.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); wizardbtntopNext.setMaximumSize(new java.awt.Dimension(23, 23)); wizardbtntopNext.setMinimumSize(new java.awt.Dimension(23, 23)); wizardbtntopNext.setName("wizardbtntopNext"); // NOI18N wizardbtntopNext.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { wizardbtntopNextActionPerformed(evt); } }); WizardToolbar.add(wizardbtntopNext); jSeparator1.setName("jSeparator1"); // NOI18N WizardToolbar.add(jSeparator1); wizardbtntopStart.setIcon(resourceMap.getIcon("wizardbtntopStart.icon")); // NOI18N wizardbtntopStart.setToolTipText(resourceMap.getString("wizardbtntopStart.toolTipText")); // NOI18N wizardbtntopStart.setDisabledIcon(resourceMap.getIcon("wizardbtntopStart.disabledIcon")); // NOI18N wizardbtntopStart.setEnabled(false); wizardbtntopStart.setFocusable(false); wizardbtntopStart.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); wizardbtntopStart.setName("wizardbtntopStart"); // NOI18N wizardbtntopStart.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); WizardToolbar.add(wizardbtntopStart); wizardbtntopStop.setIcon(resourceMap.getIcon("wizardbtntopStop.icon")); // NOI18N wizardbtntopStop.setToolTipText(resourceMap.getString("wizardbtntopStop.toolTipText")); // NOI18N wizardbtntopStop.setDisabledIcon(resourceMap.getIcon("wizardbtntopStop.disabledIcon")); // NOI18N wizardbtntopStop.setEnabled(false); wizardbtntopStop.setFocusable(false); wizardbtntopStop.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); wizardbtntopStop.setName("wizardbtntopStop"); // NOI18N wizardbtntopStop.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); WizardToolbar.add(wizardbtntopStop); wizardtabp.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT); wizardtabp.setName("jTabSessionWizard"); // NOI18N wizardtabp.setPreferredSize(new java.awt.Dimension(990, 552)); welcomePanel.setMaximumSize(new java.awt.Dimension(1000, 1000)); welcomePanel.setName("jPanelWelcome"); // NOI18N wizardLblWelcome.setFont(resourceMap.getFont("wizardLblWelcome.font")); // NOI18N wizardLblWelcome.setText(resourceMap.getString("wizardLblWelcome.text")); // NOI18N wizardLblWelcome.setName("wizardLblWelcome"); // NOI18N wizardLblChooseName.setText(resourceMap.getString("wizardLblChooseName.text")); // NOI18N wizardLblChooseName.setName("wizardLblChooseName"); // NOI18N wizardLblpathTodo.setText(resourceMap.getString("wizardLblpathTodo.text")); // NOI18N wizardLblpathTodo.setName("wizardLblpathTodo"); // NOI18N wizardTfPathTodo.setText(resourceMap.getString("jTxtFieldTodoSession.text")); // NOI18N wizardTfPathTodo.setName("jTxtFieldTodoSession"); // NOI18N wizardhCkBxSubfolder.setText(resourceMap.getString("jChckBxUnterordner.text")); // NOI18N wizardhCkBxSubfolder.setName("jChckBxUnterordner"); // NOI18N wizardLblPathSubmitted.setText(resourceMap.getString("wizardLblPathSubmitted.text")); // NOI18N wizardLblPathSubmitted.setName("wizardLblPathSubmitted"); // NOI18N wizardTfPathSubmitted.setText(resourceMap.getString("jTxtFieldSubmitted.text")); // NOI18N wizardTfPathSubmitted.setName("jTxtFieldSubmitted"); // NOI18N wizardCmbxTester.setName("wizardCmbxTester"); // NOI18N wizardbtnRefreshTester.setText(resourceMap.getString("wizardbtnRefreshTester.text")); // NOI18N wizardbtnRefreshTester.setName("wizardbtnRefreshTester"); // NOI18N wizardbtnRefreshTester.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { jButtonRefreshTester(evt); } }); wizardChckBxSecondTester.setText(resourceMap.getString("wizardChckBxSecondTester.text")); // NOI18N wizardChckBxSecondTester.setName("wizardChckBxSecondTester"); // NOI18N wizardCmbxMoreTester.setName("wizardCmbxMoreTester"); // NOI18N javax.swing.GroupLayout welcomePanelLayout = new javax.swing.GroupLayout(welcomePanel); welcomePanel.setLayout(welcomePanelLayout); welcomePanelLayout.setHorizontalGroup(welcomePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(welcomePanelLayout.createSequentialGroup().addContainerGap().addGroup(welcomePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(wizardLblWelcome) .addGroup(welcomePanelLayout.createSequentialGroup().addGroup( welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(wizardLblpathTodo).addComponent(wizardLblPathSubmitted)) .addGap(18, 18, 18) .addGroup(welcomePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(wizardTfPathTodo, javax.swing.GroupLayout.DEFAULT_SIZE, 561, Short.MAX_VALUE) .addComponent(wizardhCkBxSubfolder).addComponent(wizardTfPathSubmitted))) .addGroup(welcomePanelLayout.createSequentialGroup().addGroup( welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(wizardLblChooseName).addComponent(wizardChckBxSecondTester)) .addGap(24, 24, 24) .addGroup(welcomePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(wizardCmbxMoreTester, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(wizardCmbxTester, 0, 300, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardbtnRefreshTester))) .addContainerGap(274, Short.MAX_VALUE))); welcomePanelLayout.setVerticalGroup(welcomePanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(welcomePanelLayout.createSequentialGroup().addContainerGap() .addComponent(wizardLblWelcome).addGap(11, 11, 11) .addGroup(welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblChooseName) .addComponent(wizardCmbxTester, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(wizardbtnRefreshTester)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardChckBxSecondTester).addComponent(wizardCmbxMoreTester, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(26, 26, 26) .addGroup(welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblpathTodo).addComponent(wizardTfPathTodo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(wizardhCkBxSubfolder) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(welcomePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblPathSubmitted).addComponent(wizardTfPathSubmitted, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(398, Short.MAX_VALUE))); wizardtabp.addTab(resourceMap.getString("jPanelWelcome.TabConstraints.tabTitle"), welcomePanel); // NOI18N charterPanel.setName("jPanelCharter"); // NOI18N wizardLblChooseCharter.setText(resourceMap.getString("wizardLblChooseCharter.text")); // NOI18N wizardLblChooseCharter.setName("wizardLblChooseCharter"); // NOI18N wizardCmbxCharter.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Select one" })); wizardCmbxCharter.setName("jComboBxCharter"); // NOI18N wizardCmbxCharter.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { ChooseCharterjCombobox1(evt); } }); wizardScrollPCharterInfo.setName("wizardScrollPCharterInfo"); // NOI18N wizardtaPreviewCharter.setBackground(resourceMap.getColor("wizardtaPreviewCharter.background")); // NOI18N wizardtaPreviewCharter.setColumns(20); wizardtaPreviewCharter.setLineWrap(true); wizardtaPreviewCharter.setRows(5); wizardtaPreviewCharter.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR)); wizardtaPreviewCharter.setEnabled(false); wizardtaPreviewCharter.setName("wizardtaPreviewCharter"); // NOI18N wizardScrollPCharterInfo.setViewportView(wizardtaPreviewCharter); wizardChckBxNewCharter.setText(resourceMap.getString("wizardChckBxNewCharter.text")); // NOI18N wizardChckBxNewCharter.setToolTipText(resourceMap.getString("wizardChckBxNewCharter.toolTipText")); // NOI18N wizardChckBxNewCharter.setName("wizardChckBxNewCharter"); // NOI18N jScrollPane1.setName("jScrollPane1"); // NOI18N wizardtaNewCharter.setColumns(20); wizardtaNewCharter.setEditable(false); wizardtaNewCharter.setLineWrap(true); wizardtaNewCharter.setRows(5); wizardtaNewCharter.setWrapStyleWord(true); wizardtaNewCharter.setEnabled(false); wizardtaNewCharter.setName("wizardtaNewCharter"); // NOI18N jScrollPane1.setViewportView(wizardtaNewCharter); javax.swing.GroupLayout charterPanelLayout = new javax.swing.GroupLayout(charterPanel); charterPanel.setLayout(charterPanelLayout); charterPanelLayout.setHorizontalGroup(charterPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(charterPanelLayout.createSequentialGroup().addContainerGap() .addGroup(charterPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(wizardChckBxNewCharter).addComponent(wizardLblChooseCharter) .addComponent(wizardCmbxCharter, 0, 975, Short.MAX_VALUE) .addComponent(wizardScrollPCharterInfo, javax.swing.GroupLayout.DEFAULT_SIZE, 975, Short.MAX_VALUE) .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 975, Short.MAX_VALUE)) .addContainerGap())); charterPanelLayout.setVerticalGroup(charterPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(charterPanelLayout.createSequentialGroup().addContainerGap() .addComponent(wizardLblChooseCharter) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardCmbxCharter, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardScrollPCharterInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18).addComponent(wizardChckBxNewCharter) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(304, Short.MAX_VALUE))); wizardtabp.addTab(resourceMap.getString("jPanelCharter.TabConstraints.tabTitle"), charterPanel); // NOI18N areasPanel.setName("areasPanel"); // NOI18N wizardtabpAreas.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT); wizardtabpAreas.setToolTipText(resourceMap.getString("wizardtabpAreas.toolTipText")); // NOI18N wizardtabpAreas.setName("wizardtabpAreas"); // NOI18N jScrollPane4.setName("jScrollPane4"); // NOI18N jList2.setName("jList2"); // NOI18N jScrollPane4.setViewportView(jList2); wizardtabpAreas.addTab(resourceMap.getString("jScrollPane4.TabConstraints.tabTitle"), jScrollPane4); // NOI18N jScrollPane5.setName("jScrollPane5"); // NOI18N jList3.setName("jList3"); // NOI18N jScrollPane5.setViewportView(jList3); wizardtabpAreas.addTab(resourceMap.getString("jScrollPane5.TabConstraints.tabTitle"), jScrollPane5); // NOI18N jScrollPane2.setName("jScrollPane2"); // NOI18N jList1.setName("jList1"); // NOI18N jScrollPane2.setViewportView(jList1); wizardtabpAreas.addTab(resourceMap.getString("jScrollPane2.TabConstraints.tabTitle"), jScrollPane2); // NOI18N wizardjScrollPaneAreas.setName("wizardjScrollPaneAreas"); // NOI18N wizardtaChoosenAreas.setColumns(20); wizardtaChoosenAreas.setRows(5); wizardtaChoosenAreas.setName("wizardtaChoosenAreas"); // NOI18N wizardjScrollPaneAreas.setViewportView(wizardtaChoosenAreas); wizardLblchooseArea.setFont(resourceMap.getFont("wizardLblchooseArea.font")); // NOI18N wizardLblchooseArea.setText(resourceMap.getString("wizardLblchooseArea.text")); // NOI18N wizardLblchooseArea.setName("wizardLblchooseArea"); // NOI18N wizardLblpathToCoverageini.setText(resourceMap.getString("wizardLblpathToCoverageini.text")); // NOI18N wizardLblpathToCoverageini.setName("wizardLblpathToCoverageini"); // NOI18N wizardtfCoverageini.setText(resourceMap.getString("wizardtfCoverageini.text")); // NOI18N wizardtfCoverageini.setName("wizardtfCoverageini"); // NOI18N wizardbtnRefreshAreas.setText(resourceMap.getString("wizardbtnRefreshAreas.text")); // NOI18N wizardbtnRefreshAreas.setName("wizardbtnRefreshAreas"); // NOI18N wizardbtnRefreshAreas.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { wizardbtnRefreshAreasMouseClicked(evt); } }); wizardbtnRemoveArea.setText(resourceMap.getString("wizardbtnRemoveArea.text")); // NOI18N wizardbtnRemoveArea.setToolTipText(resourceMap.getString("wizardbtnRemoveArea.toolTipText")); // NOI18N wizardbtnRemoveArea.setMaximumSize(new java.awt.Dimension(41, 23)); wizardbtnRemoveArea.setMinimumSize(new java.awt.Dimension(41, 23)); wizardbtnRemoveArea.setName("wizardbtnRemoveArea"); // NOI18N wizardbtnRemoveArea.setPreferredSize(new java.awt.Dimension(41, 23)); wizardbtnRemoveArea.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { wizardbtnRemoveAreaMouseClicked(evt); } }); wizardbtnAddAreas.setText(resourceMap.getString("wizardbtnAddAreas.text")); // NOI18N wizardbtnAddAreas.setToolTipText(resourceMap.getString("wizardbtnAddAreas.toolTipText")); // NOI18N wizardbtnAddAreas.setName("wizardbtnAddAreas"); // NOI18N wizardbtnSaveTodo.setText(resourceMap.getString("wizardbtnSaveTodo.text")); // NOI18N wizardbtnSaveTodo.setToolTipText(resourceMap.getString("wizardbtnSaveTodo.toolTipText")); // NOI18N wizardbtnSaveTodo.setEnabled(false); wizardbtnSaveTodo.setName("wizardbtnSaveTodo"); // NOI18N wizardbtnSaveTodo.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { wizardbtnSaveTodoActionPerformed(evt); } }); javax.swing.GroupLayout areasPanelLayout = new javax.swing.GroupLayout(areasPanel); areasPanel.setLayout(areasPanelLayout); areasPanelLayout.setHorizontalGroup(areasPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(areasPanelLayout.createSequentialGroup().addContainerGap().addGroup(areasPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(wizardtabpAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 975, Short.MAX_VALUE) .addGroup(areasPanelLayout.createSequentialGroup().addComponent(wizardLblchooseArea) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 746, Short.MAX_VALUE) .addComponent(wizardbtnSaveTodo)) .addGroup(areasPanelLayout.createSequentialGroup().addComponent(wizardLblpathToCoverageini) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardtfCoverageini, javax.swing.GroupLayout.PREFERRED_SIZE, 248, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardbtnRefreshAreas)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, areasPanelLayout.createSequentialGroup() .addComponent(wizardjScrollPaneAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 924, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(areasPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(wizardbtnAddAreas).addComponent(wizardbtnRemoveArea, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addContainerGap())); areasPanelLayout.setVerticalGroup(areasPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(areasPanelLayout.createSequentialGroup().addContainerGap() .addGroup(areasPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblchooseArea).addComponent(wizardbtnSaveTodo)) .addGap(18, 18, 18) .addGroup(areasPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblpathToCoverageini) .addComponent(wizardtfCoverageini, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(wizardbtnRefreshAreas)) .addGap(11, 11, 11) .addComponent(wizardtabpAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 261, Short.MAX_VALUE) .addGap(18, 18, 18) .addGroup(areasPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(javax.swing.GroupLayout.Alignment.LEADING, areasPanelLayout.createSequentialGroup().addComponent(wizardbtnAddAreas) .addPreferredGap( javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(wizardbtnRemoveArea, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(wizardjScrollPaneAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 220, Short.MAX_VALUE)) .addContainerGap())); wizardtabpAreas.getAccessibleContext().setAccessibleParent(welcomePanel); wizardtabp.addTab(resourceMap.getString("areasPanel.TabConstraints.tabTitle"), areasPanel); // NOI18N testsessionPanel.setFocusable(false); testsessionPanel.setName("testsessionPanel"); // NOI18N wizardLblstartTime.setText(resourceMap.getString("wizardLblstartTime.text")); // NOI18N wizardLblstartTime.setName("wizardLblstartTime"); // NOI18N wizardPanelTaskBreakd.setBorder( javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), resourceMap.getString("wizardPanelTaskBreakd.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("wizardPanelTaskBreakd.border.titleFont"))); // NOI18N wizardPanelTaskBreakd.setName("wizardPanelTaskBreakd"); // NOI18N wizardLblDuration.setText(resourceMap.getString("wizardLblDuration.text")); // NOI18N wizardLblDuration.setName("wizardLblDuration"); // NOI18N wizardLblDesignExecution.setText(resourceMap.getString("wizardLblDesignExecution.text")); // NOI18N wizardLblDesignExecution.setName("wizardLblDesignExecution"); // NOI18N wizardLblSetup.setText(resourceMap.getString("wizardLblSetup.text")); // NOI18N wizardLblSetup.setName("wizardLblSetup"); // NOI18N wizardLblChartervs.setText(resourceMap.getString("wizardLblChartervs.text")); // NOI18N wizardLblChartervs.setName("wizardLblChartervs"); // NOI18N wizardtfDuration.setEditable(false); wizardtfDuration.setText(resourceMap.getString("wizardtfDuration.text")); // NOI18N wizardtfDuration.setName("wizardtfDuration"); // NOI18N wizardtfSessionSetup.setText(resourceMap.getString("wizardtfSessionSetup.text")); // NOI18N wizardtfSessionSetup.setName("wizardtfSessionSetup"); // NOI18N wizardLblBugReporting.setText(resourceMap.getString("wizardLblBugReporting.text")); // NOI18N wizardLblBugReporting.setName("wizardLblBugReporting"); // NOI18N wizardtfBugInvestigation.setText(resourceMap.getString("wizardtfBugInvestigation.text")); // NOI18N wizardtfBugInvestigation.setName("wizardtfBugInvestigation"); // NOI18N wizardtfCharter.setText(resourceMap.getString("wizardtfCharter.text")); // NOI18N wizardtfCharter.setName("wizardtfCharter"); // NOI18N wizardLblSlash.setText(resourceMap.getString("wizardLblSlash.text")); // NOI18N wizardLblSlash.setName("wizardLblSlash"); // NOI18N wizardtfOpportunity.setText(resourceMap.getString("wizardtfOpportunity.text")); // NOI18N wizardtfOpportunity.setName("wizardtfOpportunity"); // NOI18N wizardLblStopfield.setFont(resourceMap.getFont("wizardLblStopfield.font")); // NOI18N wizardLblStopfield.setForeground(resourceMap.getColor("wizardLblStopfield.foreground")); // NOI18N wizardLblStopfield.setText(resourceMap.getString("wizardLblStopfield.text")); // NOI18N wizardLblStopfield.setName("wizardLblStopfield"); // NOI18N wizardtfTestDesignExecution.setText(resourceMap.getString("wizardtfTestDesignExecution.text")); // NOI18N wizardtfTestDesignExecution.setName("wizardtfTestDesignExecution"); // NOI18N wizardLblvs.setText(resourceMap.getString("wizardLblvs.text")); // NOI18N wizardLblvs.setName("wizardLblvs"); // NOI18N wizardLblOpportunity.setText(resourceMap.getString("wizardLblOpportunity.text")); // NOI18N wizardLblOpportunity.setName("wizardLblOpportunity"); // NOI18N javax.swing.GroupLayout wizardPanelTaskBreakdLayout = new javax.swing.GroupLayout(wizardPanelTaskBreakd); wizardPanelTaskBreakd.setLayout(wizardPanelTaskBreakdLayout); wizardPanelTaskBreakdLayout.setHorizontalGroup( wizardPanelTaskBreakdLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(wizardPanelTaskBreakdLayout.createSequentialGroup() .addGroup(wizardPanelTaskBreakdLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(wizardPanelTaskBreakdLayout.createSequentialGroup() .addComponent(wizardLblChartervs) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardLblvs) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardLblOpportunity)) .addComponent(wizardtfBugInvestigation, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(wizardPanelTaskBreakdLayout.createSequentialGroup() .addComponent(wizardtfCharter, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardLblSlash) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardtfOpportunity, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(wizardPanelTaskBreakdLayout.createSequentialGroup() .addComponent(wizardLblDuration) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardLblStopfield)) .addComponent(wizardtfDuration, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(wizardLblDesignExecution).addComponent(wizardLblSetup) .addComponent(wizardtfSessionSetup, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(wizardLblBugReporting).addComponent( wizardtfTestDesignExecution, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(172, Short.MAX_VALUE))); wizardPanelTaskBreakdLayout.setVerticalGroup(wizardPanelTaskBreakdLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, wizardPanelTaskBreakdLayout .createSequentialGroup() .addGroup(wizardPanelTaskBreakdLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblDuration).addComponent(wizardLblStopfield)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardtfDuration, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(wizardLblDesignExecution) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardtfTestDesignExecution, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardLblSetup).addGap(9, 9, 9) .addComponent(wizardtfSessionSetup, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardLblBugReporting) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardtfBugInvestigation, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(wizardPanelTaskBreakdLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblChartervs).addComponent(wizardLblvs) .addComponent(wizardLblOpportunity)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(wizardPanelTaskBreakdLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardtfCharter, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(wizardLblSlash).addComponent(wizardtfOpportunity, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); wizardPanelTestsessionAreas.setBorder( javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), resourceMap.getString("wizardPanelTestsessionAreas.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("wizardPanelTestsessionAreas.border.titleFont"))); // NOI18N wizardPanelTestsessionAreas.setName("wizardPanelTestsessionAreas"); // NOI18N wizardScrollPaneAreas.setName("wizardScrollPaneAreas"); // NOI18N wizardtaTestsessionAreas.setColumns(20); wizardtaTestsessionAreas.setRows(5); wizardtaTestsessionAreas.setName("wizardtaTestsessionAreas"); // NOI18N wizardScrollPaneAreas.setViewportView(wizardtaTestsessionAreas); javax.swing.GroupLayout wizardPanelTestsessionAreasLayout = new javax.swing.GroupLayout( wizardPanelTestsessionAreas); wizardPanelTestsessionAreas.setLayout(wizardPanelTestsessionAreasLayout); wizardPanelTestsessionAreasLayout.setHorizontalGroup( wizardPanelTestsessionAreasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(wizardPanelTestsessionAreasLayout .createSequentialGroup().addComponent(wizardScrollPaneAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 317, Short.MAX_VALUE) .addContainerGap())); wizardPanelTestsessionAreasLayout.setVerticalGroup( wizardPanelTestsessionAreasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(wizardPanelTestsessionAreasLayout .createSequentialGroup().addComponent(wizardScrollPaneAreas, javax.swing.GroupLayout.DEFAULT_SIZE, 167, Short.MAX_VALUE) .addContainerGap())); wizardLblcharterHeadline.setFont(resourceMap.getFont("wizardLblcharterHeadline.font")); // NOI18N wizardLblcharterHeadline.setText(resourceMap.getString("wizardLblcharterHeadline.text")); // NOI18N wizardLblcharterHeadline.setName("wizardLblcharterHeadline"); // NOI18N wizardLblStart.setFont(resourceMap.getFont("wizardLblStart.font")); // NOI18N wizardLblStart.setText(resourceMap.getString("wizardLblStart.text")); // NOI18N wizardLblStart.setName("wizardLblStart"); // NOI18N wizardLblTester.setFont(resourceMap.getFont("wizardLblTester.font")); // NOI18N wizardLblTester.setText(resourceMap.getString("wizardLblTester.text")); // NOI18N wizardLblTester.setName("wizardLblTester"); // NOI18N wizardTabpDetailsDTBIR.setName("wizardTabpDetailsDTBIR"); // NOI18N wizardScrollPaneDataFiles.setName("wizardScrollPaneDataFiles"); // NOI18N wizardtaDataFiles.setColumns(20); wizardtaDataFiles.setLineWrap(true); wizardtaDataFiles.setRows(5); wizardtaDataFiles.setName("wizardtaDataFiles"); // NOI18N wizardScrollPaneDataFiles.setViewportView(wizardtaDataFiles); wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneDataFiles.TabConstraints.tabTitle"), wizardScrollPaneDataFiles); // NOI18N wizardScrollPaneTestNotes.setName("wizardScrollPaneTestNotes"); // NOI18N wizardtaTestNotes.setColumns(20); wizardtaTestNotes.setFont(resourceMap.getFont("wizardtaTestNotes.font")); // NOI18N wizardtaTestNotes.setLineWrap(true); wizardtaTestNotes.setRows(5); wizardtaTestNotes.setWrapStyleWord(true); wizardtaTestNotes.setName("wizardtaTestNotes"); // NOI18N wizardScrollPaneTestNotes.setViewportView(wizardtaTestNotes); wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneTestNotes.TabConstraints.tabTitle"), wizardScrollPaneTestNotes); // NOI18N wizardScrollPaneBugs.setName("wizardScrollPaneBugs"); // NOI18N wizardtaBugs.setColumns(20); wizardtaBugs.setFont(resourceMap.getFont("wizardtaBugs.font")); // NOI18N wizardtaBugs.setLineWrap(true); wizardtaBugs.setRows(5); wizardtaBugs.setWrapStyleWord(true); wizardtaBugs.setComponentPopupMenu(wizardPopUpBugTab); wizardtaBugs.setName("wizardtaBugs"); // NOI18N wizardScrollPaneBugs.setViewportView(wizardtaBugs); wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneBugs.TabConstraints.tabTitle"), wizardScrollPaneBugs); // NOI18N wizardScrollPaneIssues.setName("wizardScrollPaneIssues"); // NOI18N wizardtaIssues.setColumns(20); wizardtaIssues.setFont(resourceMap.getFont("wizardtaIssues.font")); // NOI18N wizardtaIssues.setLineWrap(true); wizardtaIssues.setRows(5); wizardtaIssues.setWrapStyleWord(true); wizardtaIssues.setName("wizardtaIssues"); // NOI18N wizardScrollPaneIssues.setViewportView(wizardtaIssues); wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneIssues.TabConstraints.tabTitle"), wizardScrollPaneIssues); // NOI18N wizardScrollPaneReview.setName("wizardScrollPaneReview"); // NOI18N wizardtaReview.setBackground(resourceMap.getColor("wizardtaReview.background")); // NOI18N wizardtaReview.setColumns(20); wizardtaReview.setEditable(false); wizardtaReview.setRows(5); wizardtaReview.setToolTipText(resourceMap.getString("wizardtaReview.toolTipText")); // NOI18N wizardtaReview.setName("wizardtaReview"); // NOI18N wizardScrollPaneReview.setViewportView(wizardtaReview); wizardTabpDetailsDTBIR.addTab(resourceMap.getString("wizardScrollPaneReview.TabConstraints.tabTitle"), wizardScrollPaneReview); // NOI18N wizardtfNameOfTester.setText(resourceMap.getString("wizardtfNameOfTester.text")); // NOI18N wizardtfNameOfTester.setName("wizardtfNameOfTester"); // NOI18N jScrollPane3.setName("jScrollPane3"); // NOI18N wizardtaCharterdynamic.setBackground(resourceMap.getColor("wizardtaCharterdynamic.background")); // NOI18N wizardtaCharterdynamic.setColumns(20); wizardtaCharterdynamic.setFont(resourceMap.getFont("wizardtaCharterdynamic.font")); // NOI18N wizardtaCharterdynamic.setLineWrap(true); wizardtaCharterdynamic.setRows(2); wizardtaCharterdynamic.setBorder(null); wizardtaCharterdynamic.setName("wizardtaCharterdynamic"); // NOI18N jScrollPane3.setViewportView(wizardtaCharterdynamic); javax.swing.GroupLayout testsessionPanelLayout = new javax.swing.GroupLayout(testsessionPanel); testsessionPanel.setLayout(testsessionPanelLayout); testsessionPanelLayout.setHorizontalGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(testsessionPanelLayout.createSequentialGroup().addGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(testsessionPanelLayout.createSequentialGroup().addContainerGap() .addGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(wizardLblcharterHeadline).addComponent(wizardLblStart) .addComponent(wizardLblTester)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(testsessionPanelLayout.createSequentialGroup() .addGroup(testsessionPanelLayout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(wizardLblstartTime) .addComponent(wizardtfNameOfTester, javax.swing.GroupLayout.PREFERRED_SIZE, 266, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18).addComponent(wizardTabpDetailsDTBIR, javax.swing.GroupLayout.DEFAULT_SIZE, 635, Short.MAX_VALUE)) .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 919, Short.MAX_VALUE))) .addGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(wizardPanelTaskBreakd, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(wizardPanelTestsessionAreas, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addContainerGap())); testsessionPanelLayout.setVerticalGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(testsessionPanelLayout.createSequentialGroup().addContainerGap() .addGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(wizardLblcharterHeadline).addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(testsessionPanelLayout.createSequentialGroup() .addComponent(wizardPanelTestsessionAreas, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGap(11, 11, 11) .addGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblStart).addComponent(wizardLblstartTime)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(testsessionPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardLblTester).addComponent(wizardtfNameOfTester, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(15, 15, 15).addComponent(wizardPanelTaskBreakd, javax.swing.GroupLayout.PREFERRED_SIZE, 272, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(testsessionPanelLayout .createSequentialGroup().addComponent(wizardTabpDetailsDTBIR, javax.swing.GroupLayout.DEFAULT_SIZE, 531, Short.MAX_VALUE) .addGap(11, 11, 11))))); wizardtabp.addTab(resourceMap.getString("testsessionPanel.TabConstraints.tabTitle"), testsessionPanel); // NOI18N wizardbtnBack.setText(resourceMap.getString("wizardbtnBack.text")); // NOI18N wizardbtnBack.setEnabled(false); wizardbtnBack.setName("wizardbtnBack"); // NOI18N wizardbtnBack.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnWizardBack(evt); } }); wizardbtnStart.setText(resourceMap.getString("wizardbtnStart.text")); // NOI18N wizardbtnStart.setName("wizardbtnStart"); // NOI18N wizardbtnStop.setText(resourceMap.getString("wizardbtnStop.text")); // NOI18N wizardbtnStop.setName("wizardbtnStop"); // NOI18N wizardbtnSave.setEnabled(false); wizardbtnSave.setLabel(resourceMap.getString("SaveButton.label")); // NOI18N wizardbtnSave.setName("SaveButton"); // NOI18N wizardbtnSave.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { btnWizardSaveClicked(evt); } }); wizardbtnNext.setText(resourceMap.getString("wizardbtnNext.text")); // NOI18N wizardbtnNext.setName("wizardbtnNext"); // NOI18N wizardbtnNext.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnWizardNext(evt); } }); wizardbtnNew.setText(resourceMap.getString("wizardbtnNew.text")); // NOI18N wizardbtnNew.setName("wizardbtnNew"); // NOI18N wizardbtnNew.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { btnWizardNewMouseClicked(evt); } }); javax.swing.GroupLayout wizardPanelLayout = new javax.swing.GroupLayout(wizardPanel); wizardPanel.setLayout(wizardPanelLayout); wizardPanelLayout.setHorizontalGroup(wizardPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, wizardPanelLayout.createSequentialGroup() .addGroup(wizardPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(javax.swing.GroupLayout.Alignment.LEADING, wizardPanelLayout .createSequentialGroup().addContainerGap().addComponent(wizardbtnBack) .addGap(340, 340, 340).addComponent(wizardbtnStart).addGap(2, 2, 2) .addComponent(wizardbtnStop).addGap(18, 18, 18).addComponent(wizardbtnSave) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardbtnNew) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 280, Short.MAX_VALUE) .addComponent(wizardbtnNext)) .addComponent(WizardToolbar, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(javax.swing.GroupLayout.Alignment.LEADING, wizardPanelLayout.createSequentialGroup().addContainerGap().addComponent( wizardtabp, javax.swing.GroupLayout.DEFAULT_SIZE, 1000, Short.MAX_VALUE))) .addContainerGap())); wizardPanelLayout.setVerticalGroup(wizardPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(wizardPanelLayout.createSequentialGroup() .addComponent(WizardToolbar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(wizardtabp, javax.swing.GroupLayout.DEFAULT_SIZE, 624, Short.MAX_VALUE) .addGap(18, 18, 18) .addGroup(wizardPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(wizardbtnBack).addComponent(wizardbtnStart) .addComponent(wizardbtnSave).addComponent(wizardbtnNew).addComponent(wizardbtnNext) .addComponent(wizardbtnStop)) .addContainerGap())); viewReviewsPanel.setName("viewReviewsPanel"); // NOI18N ReviewToolbar.setFloatable(false); ReviewToolbar.setRollover(true); ReviewToolbar.setName("ReviewToolbar"); // NOI18N reviewbtntopSave.setIcon(resourceMap.getIcon("reviewbtntopSave.icon")); // NOI18N reviewbtntopSave.setToolTipText(resourceMap.getString("reviewbtntopSave.toolTipText")); // NOI18N reviewbtntopSave.setDisabledIcon(resourceMap.getIcon("reviewbtntopSave.disabledIcon")); // NOI18N reviewbtntopSave.setEnabled(false); reviewbtntopSave.setFocusable(false); reviewbtntopSave.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); reviewbtntopSave.setName("reviewbtntopSave"); // NOI18N reviewbtntopSave.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); reviewbtntopSave.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { reviewbtntopSaveMouseClicked(evt); } }); ReviewToolbar.add(reviewbtntopSave); jSeparator3.setName("jSeparator3"); // NOI18N ReviewToolbar.add(jSeparator3); reviewbtntopBack.setIcon(resourceMap.getIcon("reviewbtntopBack.icon")); // NOI18N reviewbtntopBack.setToolTipText(resourceMap.getString("reviewbtntopBack.toolTipText")); // NOI18N reviewbtntopBack.setDisabledIcon(resourceMap.getIcon("reviewbtntopBack.disabledIcon")); // NOI18N reviewbtntopBack.setEnabled(false); reviewbtntopBack.setFocusable(false); reviewbtntopBack.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); reviewbtntopBack.setName("reviewbtntopBack"); // NOI18N reviewbtntopBack.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); reviewbtntopBack.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { reviewbtntopBackMouseClicked(evt); } }); ReviewToolbar.add(reviewbtntopBack); reviewbtntopNext.setIcon(resourceMap.getIcon("reviewbtntopNext.icon")); // NOI18N reviewbtntopNext.setToolTipText(resourceMap.getString("reviewbtntopNext.toolTipText")); // NOI18N reviewbtntopNext.setDisabledIcon(resourceMap.getIcon("reviewbtntopNext.disabledIcon")); // NOI18N reviewbtntopNext.setFocusable(false); reviewbtntopNext.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); reviewbtntopNext.setName("reviewbtntopNext"); // NOI18N reviewbtntopNext.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); reviewbtntopNext.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { reviewbtntopNextMouseClicked(evt); } }); ReviewToolbar.add(reviewbtntopNext); reviewbtntopMove.setIcon(resourceMap.getIcon("reviewbtntopMove.icon")); // NOI18N reviewbtntopMove.setText(resourceMap.getString("reviewbtntopMove.text")); // NOI18N reviewbtntopMove.setToolTipText(resourceMap.getString("reviewbtntopMove.toolTipText")); // NOI18N reviewbtntopMove.setDisabledIcon(resourceMap.getIcon("reviewbtntopMove.disabledIcon")); // NOI18N reviewbtntopMove.setFocusable(false); reviewbtntopMove.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); reviewbtntopMove.setName("reviewbtntopMove"); // NOI18N reviewbtntopMove.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); reviewbtntopMove.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { moveto(evt); } }); ReviewToolbar.add(reviewbtntopMove); reviewViewlabel.setFont(resourceMap.getFont("reviewViewlabel.font")); // NOI18N reviewViewlabel.setText(resourceMap.getString("reviewViewlabel.text")); // NOI18N reviewViewlabel.setName("reviewViewlabel"); // NOI18N reviewSessionsTabp.setName("reviewSessionsTabp"); // NOI18N reviewToreviewSessionsPanel.setName("reviewToreviewSessionsPanel"); // NOI18N reviewCmbxSessiontoReview.setName("reviewCmbxSessiontoReview"); // NOI18N reviewtoReviewPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder()); reviewtoReviewPanel.setName("reviewtoReviewPanel"); // NOI18N reviewtoReviewPanel.setLayout(new java.awt.GridLayout(2, 0)); javax.swing.GroupLayout reviewToreviewSessionsPanelLayout = new javax.swing.GroupLayout( reviewToreviewSessionsPanel); reviewToreviewSessionsPanel.setLayout(reviewToreviewSessionsPanelLayout); reviewToreviewSessionsPanelLayout.setHorizontalGroup(reviewToreviewSessionsPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewToreviewSessionsPanelLayout.createSequentialGroup().addContainerGap() .addGroup(reviewToreviewSessionsPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(reviewtoReviewPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 975, Short.MAX_VALUE) .addComponent(reviewCmbxSessiontoReview, 0, 975, Short.MAX_VALUE)) .addContainerGap())); reviewToreviewSessionsPanelLayout.setVerticalGroup(reviewToreviewSessionsPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewToreviewSessionsPanelLayout.createSequentialGroup().addContainerGap() .addComponent(reviewtoReviewPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(reviewCmbxSessiontoReview, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(520, Short.MAX_VALUE))); reviewSessionsTabp.addTab(resourceMap.getString("reviewToreviewSessionsPanel.TabConstraints.tabTitle"), reviewToreviewSessionsPanel); // NOI18N reviewViewPanel.setName("reviewViewPanel"); // NOI18N reviewLblStartTime.setText(resourceMap.getString("reviewLblStartTime.text")); // NOI18N reviewLblStartTime.setName("reviewLblStartTime"); // NOI18N reviewPaneTaskbreakdown.setBorder( javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), resourceMap.getString("reviewPaneTaskbreakdown.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("reviewPaneTaskbreakdown.border.titleFont"))); // NOI18N reviewPaneTaskbreakdown.setName("reviewPaneTaskbreakdown"); // NOI18N reviewLblDuration.setText(resourceMap.getString("reviewLblDuration.text")); // NOI18N reviewLblDuration.setName("reviewLblDuration"); // NOI18N reviewLblTestExecution.setText(resourceMap.getString("reviewLblTestExecution.text")); // NOI18N reviewLblTestExecution.setName("reviewLblTestExecution"); // NOI18N reviewLblSetup.setText(resourceMap.getString("reviewLblSetup.text")); // NOI18N reviewLblSetup.setName("reviewLblSetup"); // NOI18N reviewLblChartervs.setText(resourceMap.getString("reviewLblChartervs.text")); // NOI18N reviewLblChartervs.setName("reviewLblChartervs"); // NOI18N reviewtfDuration.setBackground(resourceMap.getColor("reviewtfDuration.background")); // NOI18N reviewtfDuration.setBorder(javax.swing.BorderFactory.createEtchedBorder()); reviewtfDuration.setName("reviewtfDuration"); // NOI18N reviewtfSessionSetup.setBorder(javax.swing.BorderFactory.createEtchedBorder()); reviewtfSessionSetup.setName("reviewtfSessionSetup"); // NOI18N reviewLblBugReporting.setText(resourceMap.getString("reviewLblBugReporting.text")); // NOI18N reviewLblBugReporting.setName("reviewLblBugReporting"); // NOI18N reviewtfBugInvestigation.setBorder(javax.swing.BorderFactory.createEtchedBorder()); reviewtfBugInvestigation.setName("reviewtfBugInvestigation"); // NOI18N reviewtfCharter.setBorder(javax.swing.BorderFactory.createEtchedBorder()); reviewtfCharter.setName("reviewtfCharter"); // NOI18N reviewtfTestDesignExecution.setBorder(javax.swing.BorderFactory.createEtchedBorder()); reviewtfTestDesignExecution.setName("reviewtfTestDesignExecution"); // NOI18N reviewLblvs.setText(resourceMap.getString("reviewLblvs.text")); // NOI18N reviewLblvs.setName("reviewLblvs"); // NOI18N reviewLblOpportunity.setText(resourceMap.getString("reviewLblOpportunity.text")); // NOI18N reviewLblOpportunity.setName("reviewLblOpportunity"); // NOI18N javax.swing.GroupLayout reviewPaneTaskbreakdownLayout = new javax.swing.GroupLayout( reviewPaneTaskbreakdown); reviewPaneTaskbreakdown.setLayout(reviewPaneTaskbreakdownLayout); reviewPaneTaskbreakdownLayout.setHorizontalGroup( reviewPaneTaskbreakdownLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewPaneTaskbreakdownLayout.createSequentialGroup() .addGroup(reviewPaneTaskbreakdownLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewPaneTaskbreakdownLayout.createSequentialGroup() .addComponent(reviewLblChartervs) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reviewLblvs) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reviewLblOpportunity)) .addComponent(reviewtfBugInvestigation, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(reviewLblDuration) .addComponent(reviewtfDuration, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(reviewLblTestExecution).addComponent(reviewLblSetup) .addComponent(reviewtfSessionSetup, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(reviewLblBugReporting) .addComponent(reviewtfTestDesignExecution, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(reviewtfCharter, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(172, Short.MAX_VALUE))); reviewPaneTaskbreakdownLayout.setVerticalGroup(reviewPaneTaskbreakdownLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewPaneTaskbreakdownLayout.createSequentialGroup().addComponent(reviewLblDuration) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reviewtfDuration, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(reviewLblTestExecution) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reviewtfTestDesignExecution, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reviewLblSetup).addGap(9, 9, 9) .addComponent(reviewtfSessionSetup, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reviewLblBugReporting) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reviewtfBugInvestigation, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(reviewPaneTaskbreakdownLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(reviewLblChartervs).addComponent(reviewLblvs) .addComponent(reviewLblOpportunity)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reviewtfCharter, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(17, Short.MAX_VALUE))); reviewPanelTestsessionAreas.setBorder( javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), resourceMap.getString("reviewPanelTestsessionAreas.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("reviewPanelTestsessionAreas.border.titleFont"))); // NOI18N reviewPanelTestsessionAreas.setName("reviewPanelTestsessionAreas"); // NOI18N reviewScrollPaneArea.setName("reviewScrollPaneArea"); // NOI18N reviewtaTestsessionAreasReview.setColumns(20); reviewtaTestsessionAreasReview.setRows(5); reviewtaTestsessionAreasReview.setName("reviewtaTestsessionAreasReview"); // NOI18N reviewScrollPaneArea.setViewportView(reviewtaTestsessionAreasReview); javax.swing.GroupLayout reviewPanelTestsessionAreasLayout = new javax.swing.GroupLayout( reviewPanelTestsessionAreas); reviewPanelTestsessionAreas.setLayout(reviewPanelTestsessionAreasLayout); reviewPanelTestsessionAreasLayout.setHorizontalGroup( reviewPanelTestsessionAreasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewPanelTestsessionAreasLayout .createSequentialGroup().addComponent(reviewScrollPaneArea, javax.swing.GroupLayout.DEFAULT_SIZE, 317, Short.MAX_VALUE) .addContainerGap())); reviewPanelTestsessionAreasLayout.setVerticalGroup( reviewPanelTestsessionAreasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewPanelTestsessionAreasLayout .createSequentialGroup().addComponent(reviewScrollPaneArea, javax.swing.GroupLayout.DEFAULT_SIZE, 140, Short.MAX_VALUE) .addContainerGap())); reviewCharterHeadlineLabel.setFont(resourceMap.getFont("reviewCharterHeadlineLabel.font")); // NOI18N reviewCharterHeadlineLabel.setText(resourceMap.getString("reviewCharterHeadlineLabel.text")); // NOI18N reviewCharterHeadlineLabel.setName("reviewCharterHeadlineLabel"); // NOI18N reviewLblStart.setFont(resourceMap.getFont("reviewLblStart.font")); // NOI18N reviewLblStart.setText(resourceMap.getString("reviewLblStart.text")); // NOI18N reviewLblStart.setName("reviewLblStart"); // NOI18N reviewLblTester.setFont(resourceMap.getFont("reviewLblTester.font")); // NOI18N reviewLblTester.setText(resourceMap.getString("reviewLblTester.text")); // NOI18N reviewLblTester.setName("reviewLblTester"); // NOI18N reviewTabpDTBIR.setName("reviewTabpDTBIR"); // NOI18N reviewScrollPaneDatafile.setName("reviewScrollPaneDatafile"); // NOI18N reviewtaDataFiles.setColumns(20); reviewtaDataFiles.setFont(resourceMap.getFont("reviewtaDataFiles.font")); // NOI18N reviewtaDataFiles.setRows(5); reviewtaDataFiles.setName("reviewtaDataFiles"); // NOI18N reviewScrollPaneDatafile.setViewportView(reviewtaDataFiles); reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneDatafile.TabConstraints.tabTitle"), reviewScrollPaneDatafile); // NOI18N reviewScrollPaneTestNotes.setName("reviewScrollPaneTestNotes"); // NOI18N reviewtaTestNotes.setColumns(20); reviewtaTestNotes.setFont(resourceMap.getFont("reviewtaTestNotes.font")); // NOI18N reviewtaTestNotes.setLineWrap(true); reviewtaTestNotes.setRows(5); reviewtaTestNotes.setName("reviewtaTestNotes"); // NOI18N reviewScrollPaneTestNotes.setViewportView(reviewtaTestNotes); reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneTestNotes.TabConstraints.tabTitle"), reviewScrollPaneTestNotes); // NOI18N reviewScrollPaneBugs.setName("reviewScrollPaneBugs"); // NOI18N reviewedipaneBugs.setFont(resourceMap.getFont("reviewedipaneBugs.font")); // NOI18N reviewedipaneBugs.setName("reviewedipaneBugs"); // NOI18N reviewScrollPaneBugs.setViewportView(reviewedipaneBugs); reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneBugs.TabConstraints.tabTitle"), reviewScrollPaneBugs); // NOI18N reviewScrollPaneIssues.setName("reviewScrollPaneIssues"); // NOI18N reviewtaIssues.setColumns(20); reviewtaIssues.setFont(resourceMap.getFont("reviewtaIssues.font")); // NOI18N reviewtaIssues.setRows(5); reviewtaIssues.setName("reviewtaIssues"); // NOI18N reviewScrollPaneIssues.setViewportView(reviewtaIssues); reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneIssues.TabConstraints.tabTitle"), reviewScrollPaneIssues); // NOI18N reviewScrollPaneReview.setName("reviewScrollPaneReview"); // NOI18N reviewtaReview.setColumns(20); reviewtaReview.setFont(resourceMap.getFont("reviewtaReview.font")); // NOI18N reviewtaReview.setRows(5); reviewtaReview.setName("reviewtaReview"); // NOI18N reviewScrollPaneReview.setViewportView(reviewtaReview); reviewTabpDTBIR.addTab(resourceMap.getString("reviewScrollPaneReview.TabConstraints.tabTitle"), reviewScrollPaneReview); // NOI18N reviewTabpDTBIR.setSelectedIndex(4); reviewtfNameOfTester.setText(resourceMap.getString("reviewtfNameOfTester.text")); // NOI18N reviewtfNameOfTester.setName("reviewtfNameOfTester"); // NOI18N jScrollPane6.setName("jScrollPane6"); // NOI18N reviewtaCharterdynamic.setBackground(resourceMap.getColor("reviewtaCharterdynamic.background")); // NOI18N reviewtaCharterdynamic.setColumns(20); reviewtaCharterdynamic.setEditable(false); reviewtaCharterdynamic.setFont(resourceMap.getFont("reviewtaCharterdynamic.font")); // NOI18N reviewtaCharterdynamic.setLineWrap(true); reviewtaCharterdynamic.setRows(2); reviewtaCharterdynamic.setText(resourceMap.getString("reviewtaCharterdynamic.text")); // NOI18N reviewtaCharterdynamic.setBorder(null); reviewtaCharterdynamic.setName("reviewtaCharterdynamic"); // NOI18N jScrollPane6.setViewportView(reviewtaCharterdynamic); javax.swing.GroupLayout reviewViewPanelLayout = new javax.swing.GroupLayout(reviewViewPanel); reviewViewPanel.setLayout(reviewViewPanelLayout); reviewViewPanelLayout.setHorizontalGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewViewPanelLayout.createSequentialGroup().addGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewViewPanelLayout.createSequentialGroup().addContainerGap() .addGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(reviewLblStart).addComponent(reviewLblTester) .addComponent(reviewCharterHeadlineLabel)) .addGap(10, 10, 10) .addGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewViewPanelLayout.createSequentialGroup() .addGroup(reviewViewPanelLayout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(reviewLblStartTime) .addComponent(reviewtfNameOfTester, javax.swing.GroupLayout.PREFERRED_SIZE, 266, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18).addComponent(reviewTabpDTBIR)) .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 919, Short.MAX_VALUE))) .addGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(reviewPaneTaskbreakdown, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(reviewPanelTestsessionAreas, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addContainerGap())); reviewViewPanelLayout.setVerticalGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewViewPanelLayout.createSequentialGroup().addContainerGap() .addGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(reviewCharterHeadlineLabel)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reviewViewPanelLayout.createSequentialGroup() .addComponent(reviewPanelTestsessionAreas, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGap(11, 11, 11) .addGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(reviewLblStart).addComponent(reviewLblStartTime)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(reviewViewPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(reviewLblTester).addComponent(reviewtfNameOfTester, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(15, 15, 15).addComponent(reviewPaneTaskbreakdown, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(reviewViewPanelLayout .createSequentialGroup().addComponent(reviewTabpDTBIR, javax.swing.GroupLayout.DEFAULT_SIZE, 508, Short.MAX_VALUE) .addGap(11, 11, 11))))); reviewSessionsTabp.addTab(resourceMap.getString("reviewViewPanel.TabConstraints.tabTitle"), reviewViewPanel); // NOI18N reviewbtnNext.setText(resourceMap.getString("reviewbtnNext.text")); // NOI18N reviewbtnNext.setName("reviewbtnNext"); // NOI18N reviewbtnNext.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { reviewbtnNextClicked(evt); } }); reviewbtnBack.setText(resourceMap.getString("reviewbtnBack.text")); // NOI18N reviewbtnBack.setEnabled(false); reviewbtnBack.setName("reviewbtnBack"); // NOI18N reviewbtnBack.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { reviewbtnBackMouseClicked(evt); } }); reviewbtnSave.setEnabled(false); reviewbtnSave.setLabel(resourceMap.getString("reviewbtnSave.label")); // NOI18N reviewbtnSave.setName("reviewbtnSave"); // NOI18N reviewbtnSave.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { reviewbtnSaveButtonClicked(evt); } }); reviewbtnMove.setText(resourceMap.getString("reviewbtnMove.text")); // NOI18N reviewbtnMove.setToolTipText(resourceMap.getString("reviewbtnMove.toolTipText")); // NOI18N reviewbtnMove.setEnabled(false); reviewbtnMove.setName("reviewbtnMove"); // NOI18N reviewbtnMove.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { moveto(evt); } }); javax.swing.GroupLayout viewReviewsPanelLayout = new javax.swing.GroupLayout(viewReviewsPanel); viewReviewsPanel.setLayout(viewReviewsPanelLayout); viewReviewsPanelLayout.setHorizontalGroup(viewReviewsPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(viewReviewsPanelLayout.createSequentialGroup().addGroup(viewReviewsPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(ReviewToolbar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(viewReviewsPanelLayout.createSequentialGroup().addContainerGap() .addComponent(reviewbtnBack).addGap(466, 466, 466).addComponent(reviewbtnSave) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 206, Short.MAX_VALUE) .addComponent(reviewbtnMove).addGap(18, 18, 18).addComponent(reviewbtnNext)) .addGroup(viewReviewsPanelLayout.createSequentialGroup().addGap(10, 10, 10) .addComponent(reviewSessionsTabp)) .addGroup(viewReviewsPanelLayout.createSequentialGroup().addContainerGap() .addComponent(reviewViewlabel))) .addContainerGap())); viewReviewsPanelLayout.setVerticalGroup(viewReviewsPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(viewReviewsPanelLayout.createSequentialGroup() .addComponent(ReviewToolbar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(2, 2, 2).addComponent(reviewViewlabel) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent( reviewSessionsTabp, javax.swing.GroupLayout.DEFAULT_SIZE, 601, Short.MAX_VALUE) .addGap(25, 25, 25) .addGroup(viewReviewsPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(reviewbtnBack).addComponent(reviewbtnNext).addComponent(reviewbtnSave) .addComponent(reviewbtnMove)) .addContainerGap())); reportPanel.setName("reportPanel"); // NOI18N reportChartPanel.setName("reportChartPanel"); // NOI18N javax.swing.GroupLayout reportChartPanelLayout = new javax.swing.GroupLayout(reportChartPanel); reportChartPanel.setLayout(reportChartPanelLayout); reportChartPanelLayout.setHorizontalGroup(reportChartPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 495, Short.MAX_VALUE)); reportChartPanelLayout.setVerticalGroup(reportChartPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 436, Short.MAX_VALUE)); reportScrollPOverviewTabel.setName("reportScrollPOverviewTabel"); // NOI18N reportOverviewTable.setBackground(resourceMap.getColor("reportOverviewTable.background")); // NOI18N reportOverviewTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { null, null }, { null, null }, { null, null }, { null, null } }, new String[] { "Charter", "Number of Testsessions" })); reportOverviewTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_LAST_COLUMN); reportOverviewTable.setName("reportOverviewTable"); // NOI18N reportScrollPOverviewTabel.setViewportView(reportOverviewTable); reportOverviewTable.getColumnModel().getColumn(0) .setHeaderValue(resourceMap.getString("reportOverviewTable.columnModel.title0")); // NOI18N reportOverviewTable.getColumnModel().getColumn(1) .setHeaderValue(resourceMap.getString("reportOverviewTable.columnModel.title1")); // NOI18N reportlblSum.setText(resourceMap.getString("reportlblSum.text")); // NOI18N reportlblSum.setName("reportlblSum"); // NOI18N reportlblBug.setText(resourceMap.getString("reportlblBug.text")); // NOI18N reportlblBug.setName("reportlblBug"); // NOI18N reportlblIssue.setText(resourceMap.getString("reportlblIssue.text")); // NOI18N reportlblIssue.setName("reportlblIssue"); // NOI18N javax.swing.GroupLayout reportPanelLayout = new javax.swing.GroupLayout(reportPanel); reportPanel.setLayout(reportPanelLayout); reportPanelLayout.setHorizontalGroup(reportPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reportPanelLayout.createSequentialGroup().addContainerGap() .addGroup(reportPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(reportScrollPOverviewTabel, javax.swing.GroupLayout.DEFAULT_SIZE, 1000, Short.MAX_VALUE) .addGroup(reportPanelLayout.createSequentialGroup() .addComponent(reportChartPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 428, Short.MAX_VALUE) .addGroup(reportPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(reportlblSum).addComponent(reportlblIssue) .addComponent(reportlblBug)))) .addContainerGap())); reportPanelLayout.setVerticalGroup(reportPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reportPanelLayout.createSequentialGroup().addContainerGap() .addComponent(reportScrollPOverviewTabel, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(2, 2, 2).addComponent(reportlblSum).addGap(2, 2, 2) .addGroup(reportPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(reportPanelLayout.createSequentialGroup().addGap(5, 5, 5) .addComponent(reportlblBug) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(reportlblIssue)) .addComponent(reportChartPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap())); javax.swing.GroupLayout mainPanelLayout = new javax.swing.GroupLayout(mainPanel); mainPanel.setLayout(mainPanelLayout); mainPanelLayout .setHorizontalGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(viewReviewsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(wizardPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 1020, Short.MAX_VALUE) .addGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(mainPanelLayout.createSequentialGroup().addGap(0, 0, 0) .addComponent(reportPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGap(0, 0, 0)))); mainPanelLayout .setVerticalGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(viewReviewsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(wizardPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 715, Short.MAX_VALUE) .addGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(mainPanelLayout.createSequentialGroup().addGap(0, 0, 0) .addComponent(reportPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGap(0, 0, 0)))); menuBar.setName("menuBar"); // NOI18N fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N fileMenu.setName("fileMenu"); // NOI18N saveMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK)); saveMenuItem.setText(resourceMap.getString("saveMenuItem.text")); // NOI18N saveMenuItem.setName("saveMenuItem"); // NOI18N saveMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuSave(evt); } }); fileMenu.add(saveMenuItem); exitMenuItem.setAction(actionMap.get("quit")); // NOI18N exitMenuItem.setName("exitMenuItem"); // NOI18N fileMenu.add(exitMenuItem); menuBar.add(fileMenu); sessionMenu.setText(resourceMap.getString("sessionMenu.text")); // NOI18N sessionMenu.setName("sessionMenu"); // NOI18N sessionWizardMenuItem.setText(resourceMap.getString("sessionWizardMenuItem.text")); // NOI18N sessionWizardMenuItem.setName("sessionWizardMenuItem"); // NOI18N sessionWizardMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { menuSessionWizard(evt); } }); sessionMenu.add(sessionWizardMenuItem); reviewVieMenuItem.setText(resourceMap.getString("reviewVieMenuItem.text")); // NOI18N reviewVieMenuItem.setName("reviewVieMenuItem"); // NOI18N reviewVieMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { menuReviewView(evt); } }); sessionMenu.add(reviewVieMenuItem); sessionReportMenuItem.setText(resourceMap.getString("sessionReportMenuItem.text")); // NOI18N sessionReportMenuItem.setName("sessionReportMenuItem"); // NOI18N sessionReportMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { menuReportView(evt); } }); sessionMenu.add(sessionReportMenuItem); menuBar.add(sessionMenu); helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N helpMenu.setName("helpMenu"); // NOI18N aboutMenuItem.setAction(actionMap.get("showAboutBox")); // NOI18N aboutMenuItem.setName("aboutMenuItem"); // NOI18N helpMenu.add(aboutMenuItem); helpMenuItem.setAction(actionMap.get("showHelpPdf")); // NOI18N helpMenuItem.setText(resourceMap.getString("helpMenuItem.text")); // NOI18N helpMenuItem.setName("helpMenuItem"); // NOI18N helpMenu.add(helpMenuItem); menuBar.add(helpMenu); statusPanel.setName("statusPanel"); // NOI18N statusPanelSeparator.setName("statusPanelSeparator"); // NOI18N statusMessageLabel.setName("statusMessageLabel"); // NOI18N statusAnimationLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); statusAnimationLabel.setName("statusAnimationLabel"); // NOI18N progressBar.setName("progressBar"); // NOI18N javax.swing.GroupLayout statusPanelLayout = new javax.swing.GroupLayout(statusPanel); statusPanel.setLayout(statusPanelLayout); statusPanelLayout.setHorizontalGroup(statusPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(statusPanelSeparator, javax.swing.GroupLayout.DEFAULT_SIZE, 1020, Short.MAX_VALUE) .addGroup(statusPanelLayout.createSequentialGroup().addContainerGap() .addComponent(statusMessageLabel) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 850, Short.MAX_VALUE) .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(statusAnimationLabel).addContainerGap())); statusPanelLayout.setVerticalGroup(statusPanelLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(statusPanelLayout.createSequentialGroup() .addComponent(statusPanelSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(statusMessageLabel).addComponent(statusAnimationLabel) .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(3, 3, 3))); wizardPopUpBugTab.setName("wizardPopUpBugTab"); // NOI18N wizardPopUpIssueTab.setName("wizardPopUpIssueTab"); // NOI18N setComponent(mainPanel); setMenuBar(menuBar); setStatusBar(statusPanel); }
From source file:edu.ku.brc.ui.UIHelper.java
/** * Sets a JTable to have the headers be centered. Also, the caller can indicate whether * and "String" columns are also centered. * @param table the table/*from w w w . j ava2s . com*/ * @param dataColsAlso whether the String data columns should be cetnered. */ public static void makeTableHeadersCentered(final JTable table, final boolean dataColsAlso) { ((DefaultTableCellRenderer) table.getTableHeader().getDefaultRenderer()) .setHorizontalAlignment(SwingConstants.CENTER); if (dataColsAlso) { TableCellRenderer tcr = table.getDefaultRenderer(String.class); // For Strings with no changes made to the table, the render is a DefaultTableCellRender. DefaultTableCellRenderer dtcr = (DefaultTableCellRenderer) tcr; // set the alignment to center dtcr.setHorizontalAlignment(SwingConstants.CENTER); } }
From source file:com.maxl.java.amikodesk.AMiKoDesk.java
private static void setupButton(JToggleButton button, String toolTipText, String rolloverImg, String selectedImg) {/*from w ww .j a v a2 s. c om*/ button.setFont(new Font("Dialog", Font.PLAIN, 12)); button.setVerticalTextPosition(SwingConstants.BOTTOM); button.setHorizontalTextPosition(SwingConstants.CENTER); button.setText(toolTipText); button.setRolloverIcon(new ImageIcon(Constants.IMG_FOLDER + rolloverImg)); button.setSelectedIcon(new ImageIcon(Constants.IMG_FOLDER + selectedImg)); button.setBackground(m_selected_but_color); button.setToolTipText(toolTipText); // Remove border Border emptyBorder = BorderFactory.createEmptyBorder(); button.setBorder(emptyBorder); // Set adequate size button.setPreferredSize(new Dimension(32, 32)); }
From source file:edu.harvard.i2b2.query.ui.GroupPanel.java
/** * This method is called from within the constructor to initialize the form. *///www . j av a 2 s . c o m private void initComponents() { jScrollPane1 = new javax.swing.JScrollPane(); jClearButton = new javax.swing.JButton(); jConstrainButton = new javax.swing.JButton(); jExcludeButton = new javax.swing.JButton(); jOccurrenceButton = new javax.swing.JButton(); jNameLabel = new javax.swing.JLabel(); jHintLabel = new javax.swing.JLabel(); jTimingComboBox = new javax.swing.JComboBox(); // jAnyvisitToggleButton = new javax.swing.JToggleButton(); // jSamevisitToggleButton = new javax.swing.JToggleButton(); setLayout(null); QueryConceptTreeNodeData tmpData = new QueryConceptTreeNodeData(); tmpData.name("working ......"); tmpData.tooltip("A root node"); tmpData.visualAttribute("FAO"); top = new DefaultMutableTreeNode(tmpData); // top = new DefaultMutableTreeNode("Root Node"); treeModel = new DefaultTreeModel(top); // treeModel.addTreeModelListener(new MyTreeModelListener()); jTree1 = new JTree(treeModel); jTree1.setDragEnabled(true); jTree1.setEditable(true); // jTree1.getSelectionModel().setSelectionMode // (TreeSelectionModel.SINGLE_TREE_SELECTION); // jTree1.setShowsRootHandles(true); // JScrollPane treeView = new JScrollPane(jTree1); jTree1.setRootVisible(false); jTree1.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); jTree1.setCellRenderer(new MyRenderer()); ToolTipManager.sharedInstance().registerComponent(jTree1); setBorder(javax.swing.BorderFactory.createEtchedBorder()); add(jScrollPane1); // jScrollPane1.setBounds(0, 40, 180, 200); jClearButton.setFont(new java.awt.Font("Tahoma", 1, 10)); jClearButton.setText("X"); jClearButton.setToolTipText("Clear all items from panel"); jClearButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); jClearButton.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); jClearButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); if (System.getProperty("os.name").toLowerCase().indexOf("mac") > -1) { jClearButton.setMargin(new java.awt.Insets(-10, -15, -10, -20)); } jClearButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jClearButtonActionPerformed(evt); } }); add(jClearButton); jClearButton.setBounds(160, 0, 18, 20); jConstrainButton.setText("Dates"); jConstrainButton.setToolTipText("Constrain group by dates"); jConstrainButton.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); jConstrainButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); // jConstrainButton.setMargin(new java.awt.Insets(-10, -15, -10,-20)); if (System.getProperty("os.name").toLowerCase().indexOf("mac") > -1) { jConstrainButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); // jConstrainButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); jConstrainButton.setMargin(new java.awt.Insets(-10, -15, -10, -20)); } jConstrainButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jConstrainButtonActionPerformed(evt); } }); add(jConstrainButton); jConstrainButton.setBounds(0, 20, 40, 21); jOccurrenceButton.setText("Occurs > 0x"); jOccurrenceButton.setToolTipText("Set occurrence times"); jOccurrenceButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); jOccurrenceButton.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jOccurrenceButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); if (System.getProperty("os.name").toLowerCase().indexOf("mac") > -1) { jOccurrenceButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); jOccurrenceButton.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jOccurrenceButton.setMargin(new java.awt.Insets(-10, -10, -10, -10)); } jOccurrenceButton.setIconTextGap(0); jOccurrenceButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jOccurrenceButtonActionPerformed(evt); } }); jOccurrenceButton.setBounds(40, 20, 90, 21); add(jOccurrenceButton); // jExcludeButton.setMnemonic('E'); jExcludeButton.setText("Exclude"); jExcludeButton.setToolTipText("Exclude all items in group"); jExcludeButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); jExcludeButton.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jExcludeButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); if (System.getProperty("os.name").toLowerCase().indexOf("mac") > -1) { jExcludeButton.setMargin(new java.awt.Insets(-10, -15, -10, -20)); jExcludeButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); } jExcludeButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jExcludeButtonActionPerformed(evt); } }); add(jExcludeButton); jExcludeButton.setBounds(130, 20, 48, 21); jNameLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jNameLabel.setText("Group 1"); jNameLabel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0))); jNameLabel.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); add(jNameLabel); jNameLabel.setBounds(0, 0, 160, 20); jNameLabel.setTransferHandler(new GroupLabelTextHandler()); jNameLabel.addMouseListener(new DragMouseAdapter()); jNameLabel.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() { public void mouseMoved(java.awt.event.MouseEvent evt) { jNameLabelMouseMoved(evt); // System.out.println("mouse x: "+evt.getX()+" y: "+evt. // getY()); // System.out.println("name label x: "+jNameLabel.getX()+ // " width: "+ // jNameLabel.getWidth()+" y: " // +jNameLabel.getY()+" height "+jNameLabel.getHeight()); } }); jNameLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseExited(java.awt.event.MouseEvent evt) { jNameLabelMouseExited(evt); } }); /* * jAnyvisitToggleButton.setText("Any Visit"); * add(jAnyvisitToggleButton); jAnyvisitToggleButton.setBounds(0, 40, * 89, 20); * * jSamevisitToggleButton.setText("Same Visit"); * add(jSamevisitToggleButton); jSamevisitToggleButton.setBounds(90, 40, * 88, 20); * * ButtonGroup group = new ButtonGroup(); * group.add(jAnyvisitToggleButton); group.add(jSamevisitToggleButton); * jAnyvisitToggleButton.setSelected(true); */ jTree1.addTreeExpansionListener(this); jTree1.setTransferHandler(new TextHandler()); add(jScrollPane1); jScrollPane1.setViewportView(jTree1); // jTree1.setToolTipText( // "Double click on a folder to view the items inside"); // jScrollPane1.getViewport().setToolTipText( // "Double click on a folder to view the items inside"); jScrollPane1.setBounds(0, 60, 180, 120); // jScrollPane1.setBounds(0, 60, 190, 270); // jScrollPane1.setBorder(javax.swing.BorderFactory.createLineBorder(new // java.awt.Color(0, 0, 0))); // jTree1.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() // { // public void mouseMoved(java.awt.event.MouseEvent evt) { // jScrollPane1MouseMoved(evt); // } // @Override // public void mouseDragged(MouseEvent e) { // jScrollPane1MouseMoved(e); // } // }); // jTree1.addMouseListener(new java.awt.event.MouseAdapter() { // public void mouseExited(java.awt.event.MouseEvent evt) { // jScrollPane1MouseExited(evt); // } // @Override // public void mouseEntered(MouseEvent e) { // jScrollPane1MouseEntered(e); // } // }); jHintLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jHintLabel.setText( "<html><center>Drag terms from Navigate, <br>" + "<left>Find and Workplace into this group"); // jHintLabel.getFont(); jHintLabel.setFont(new Font("SansSerif", Font.PLAIN, 9)); // jHintLabel.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jHintLabel.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); jHintLabel.setVerticalAlignment(javax.swing.SwingConstants.CENTER); // jHintLabel.setBackground(Color.WHITE); // jHintLabel.setForeground(Color.WHITE); add(jHintLabel); jHintLabel.setBounds(0, 120, 180, 30); jTimingComboBox.setModel(new javax.swing.DefaultComboBoxModel( new String[] { "Treat Independently", "Occurs in Same Encounter", "Items instance will be same" })); jTimingComboBox.setAlignmentX(5.0F); ListCellRenderer renderer = new DefaultListCellRenderer(); ((JLabel) renderer).setHorizontalAlignment(SwingConstants.CENTER); jTimingComboBox.setRenderer(renderer); // jTimingComboBox.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); add(jTimingComboBox); jTimingComboBox.setBounds(1, 40, 177, 20); jTimingComboBox.setEnabled(false); }
From source file:ECallCenter21.java
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { lookAndFeelGroup = new javax.swing.ButtonGroup(); colorMaskPanel = new javax.swing.JPanel(); tabPane = new javax.swing.JTabbedPane(); callCenterPanel = new javax.swing.JPanel(); layeredImagePane = new javax.swing.JLayeredPane(); phonesPoolTableScrollPane = new javax.swing.JScrollPane(); phonesPoolTable = new javax.swing.JTable(); imageBrandLabel = new javax.swing.JLabel(); imageProductLabel = new javax.swing.JLabel(); imagePostfixLabel = new javax.swing.JLabel(); imageLinkLabel = new javax.swing.JLabel(); imageIconLabel = new javax.swing.JLabel(); statisticsPanel = new javax.swing.JPanel(); mainPanel = new javax.swing.JPanel(); systemStatsLabel = new javax.swing.JLabel(); systemStatsScrollPane = new javax.swing.JScrollPane(); systemStatsTable = new javax.swing.JTable(); orderLabel = new javax.swing.JLabel(); orderStatsScrollPane = new javax.swing.JScrollPane(); orderTable = new javax.swing.JTable(); phoneStatsLabel = new javax.swing.JLabel(); phoneStatsScrollPane = new javax.swing.JScrollPane(); phoneStatsTable = new javax.swing.JTable(); reponseStatsLabel = new javax.swing.JLabel(); responseStatsScrollPane = new javax.swing.JScrollPane(); responseStatsTable = new javax.swing.JTable(); campaignLabel = new javax.swing.JLabel(); campaignScrollPane = new javax.swing.JScrollPane(); campaignTable = new javax.swing.JTable(); turnoverStatsLabel = new javax.swing.JLabel(); turnoverStatsScrollPane = new javax.swing.JScrollPane(); turnoverStatsTable = new javax.swing.JTable(); graphPanel = new javax.swing.JPanel(); graphInnerPanel = new javax.swing.JPanel(); phoneDisplayTabPanel = new javax.swing.JPanel(); phoneDisplayPanel = new javax.swing.JPanel(); softphoneInfoLabel = new javax.swing.JLabel(); proxyInfoLabel = new javax.swing.JLabel(); primaryStatusLabel = new javax.swing.JLabel(); primaryStatusDetailsLabel = new javax.swing.JLabel(); secondaryStatusLabel = new javax.swing.JLabel(); secondaryStatusDetailsLabel = new javax.swing.JLabel(); onPanel = new javax.swing.JPanel(); onLabel = new javax.swing.JLabel(); idlePanel = new javax.swing.JPanel(); idleLabel = new javax.swing.JLabel(); connectingPanel = new javax.swing.JPanel(); connectingLabel = new javax.swing.JLabel(); callingPanel = new javax.swing.JPanel(); callingLabel = new javax.swing.JLabel(); ringingPanel = new javax.swing.JPanel(); ringingLabel = new javax.swing.JLabel(); acceptingPanel = new javax.swing.JPanel(); acceptingLabel = new javax.swing.JLabel(); talkingPanel = new javax.swing.JPanel(); talkingLabel = new javax.swing.JLabel(); registeredPanel = new javax.swing.JPanel(); registeredLabel = new javax.swing.JLabel(); answerPanel = new javax.swing.JPanel(); answerLabel = new javax.swing.JLabel(); mutePanel = new javax.swing.JPanel(); muteLabel = new javax.swing.JLabel(); cancelPanel = new javax.swing.JPanel(); cancelLabel = new javax.swing.JLabel(); toolsPanel = new javax.swing.JPanel(); toolsInnerPanel = new javax.swing.JPanel(); netManagerOutboundServerToggleButton = new javax.swing.JToggleButton(); netManagerInboundServerToggleButton = new javax.swing.JToggleButton(); controlsPanel = new javax.swing.JPanel(); displayLabel = new javax.swing.JLabel(); enableDisplayCheckBox = new javax.swing.JCheckBox(); snmpLabel1 = new javax.swing.JLabel(); smoothCheckBox = new javax.swing.JCheckBox(); scanCheckBox = new javax.swing.JCheckBox(); smoothLabel = new javax.swing.JLabel(); lookAndFeelPanel = new javax.swing.JPanel(); lookAndFeelRButtonMotif = new javax.swing.JRadioButton(); lookAndFeelRButtonGTK = new javax.swing.JRadioButton(); lookAndFeelRButtonNimbus = new javax.swing.JRadioButton(); lookAndFeelRButtonWindows = new javax.swing.JRadioButton(); sipInfoPanel = new javax.swing.JPanel(); destinationScrollPane = new javax.swing.JScrollPane(); destinationTextArea = new javax.swing.JTextArea(); netConfigPanel = new javax.swing.JPanel(); authenticationPanel = new javax.swing.JPanel(); iconsLabel = new javax.swing.JLabel(); iconsCheckBox = new javax.swing.JCheckBox(); clientIPLabel = new javax.swing.JLabel(); clientIPField = new javax.swing.JTextField(); pubIPLabel = new javax.swing.JLabel(); pubIPField = new javax.swing.JTextField(); clientPortLabel = new javax.swing.JLabel(); registerCheckBox = new javax.swing.JCheckBox(); registerLabel = new javax.swing.JLabel(); clientPortField = new javax.swing.JTextField(); domainLabel = new javax.swing.JLabel(); domainField = new javax.swing.JTextField(); serverIPLabel = new javax.swing.JLabel(); serverIPField = new javax.swing.JTextField(); serverPortLabel = new javax.swing.JLabel(); serverPortField = new javax.swing.JTextField(); pfixLabel = new javax.swing.JLabel(); usersecretLabel = new javax.swing.JLabel(); suffixLabel = new javax.swing.JLabel(); prefixField = new javax.swing.JTextField(); usernameField = new javax.swing.JTextField(); suffixField = new javax.swing.JTextField(); saveConfigurationButton = new javax.swing.JButton(); toegangField = new javax.swing.JPasswordField(); secretLabel = new javax.swing.JLabel(); prefPhoneLinesPanel = new javax.swing.JPanel(); prefPhoneLinesSlider = new javax.swing.JSlider(); licensePanel = new javax.swing.JPanel(); licenseTypePanel = new javax.swing.JPanel(); jScrollPane1 = new javax.swing.JScrollPane(); vergunningTypeList = new javax.swing.JList(); licenseDatePanel = new javax.swing.JPanel(); vergunningDateChooserPanel = new datechooser.beans.DateChooserPanel(); licensePeriodPanel = new javax.swing.JPanel(); licensePeriodScrollPane = new javax.swing.JScrollPane(); vergunningPeriodList = new javax.swing.JList(); activationCodePanel = new javax.swing.JPanel(); activationCodeField = new javax.swing.JTextField(); licenseCodePanel = new javax.swing.JPanel(); vergunningCodeField = new javax.swing.JTextField(); licenseDetailsPanel = new javax.swing.JPanel(); licenseDetailsScrollPane = new javax.swing.JScrollPane(); vergunningDetailsTable = new javax.swing.JTable(); applyVergunningButton = new javax.swing.JButton(); requestVergunningButton = new javax.swing.JButton(); logPanel = new javax.swing.JPanel(); logScrollPane = new javax.swing.JScrollPane(); textLogArea = new javax.swing.JTextArea(); aboutPanel = new javax.swing.JPanel(); brandLabel = new javax.swing.JLabel(); brandDescriptionLabel = new javax.swing.JTextArea(); productLabel = new javax.swing.JLabel(); productDescriptionLabel = new javax.swing.JTextArea(); copyrightLabel = new javax.swing.JTextArea(); displayPanel = new javax.swing.JPanel(); captionTable = new javax.swing.JTable(); statusBar = new javax.swing.JTextPane(); controlButtonPanel = new javax.swing.JPanel(); callButton = new javax.swing.JButton(); serviceLoopProgressBar = new javax.swing.JProgressBar(); autoSpeedToggleButton = new javax.swing.JToggleButton(); powerToggleButton = new javax.swing.JToggleButton(); runCampaignToggleButton = new javax.swing.JToggleButton(); endButton = new javax.swing.JButton(); phoneButton = new javax.swing.JButton(); stopCampaignButton = new javax.swing.JButton(); muteAudioToggleButton = new javax.swing.JToggleButton(); campaignProgressBar = new javax.swing.JProgressBar(); humanResponseSimulatorToggleButton = new javax.swing.JToggleButton(); registerToggleButton = new javax.swing.JToggleButton(); campaignComboBox = new javax.swing.JComboBox(); debugToggleButton = new javax.swing.JToggleButton(); resizeWindowButton = new javax.swing.JButton(); controlSliderPanel = new javax.swing.JPanel(); buttonPanel = new javax.swing.JPanel(); outboundSliderPanel = new javax.swing.JPanel(); vmUsageThresholdLabel = new javax.swing.JLabel(); vmUsagePauseValue = new javax.swing.JLabel(); vmUsageThresholdSlider = new javax.swing.JSlider(); memFreeThresholdLabel = new javax.swing.JLabel(); memFreeThresholdValue = new javax.swing.JLabel(); memFreeThresholdSlider = new javax.swing.JSlider(); heapMemFreeThresholdLabel = new javax.swing.JLabel(); heapMemFreeThresholdValue = new javax.swing.JLabel(); heapMemFreeThresholdSlider = new javax.swing.JSlider(); connectingTallyLimitLabel = new javax.swing.JLabel(); connectingTallyLimitValue = new javax.swing.JLabel(); connectingTallyLimitSlider = new javax.swing.JSlider(); callingTallyLimitLabel = new javax.swing.JLabel(); callingTallyLimitValue = new javax.swing.JLabel(); callingTallyLimitSlider = new javax.swing.JSlider(); establishedTallyLimitLabel = new javax.swing.JLabel(); establishedTallyLimitValue = new javax.swing.JLabel(); establishedTallyLimitSlider = new javax.swing.JSlider(); callSpeedLabel = new javax.swing.JLabel(); callSpeedValue = new javax.swing.JLabel(); callSpeedSlider = new javax.swing.JSlider(); performanceMeterPanel = new javax.swing.JPanel(); inboundSliderPanel = new javax.swing.JPanel(); registerSpeedLabel = new javax.swing.JLabel(); inboundRingingResponseDelayLabel = new javax.swing.JLabel(); inboundRingingResponseBusyRatioLabel = new javax.swing.JLabel(); inboundEndDelayLabel = new javax.swing.JLabel(); inboundEndDelayValue = new javax.swing.JLabel(); registerSpeedValue = new javax.swing.JLabel(); inboundRingingResponseDelayValue = new javax.swing.JLabel(); inboundRingingResponseBusyRatioValue = new javax.swing.JLabel(); registerSpeedSlider = new javax.swing.JSlider(); inboundRingingResponseDelaySlider = new javax.swing.JSlider(); inboundRingingResponseBusyRatioSlider = new javax.swing.JSlider(); inboundEndDelaySlider = new javax.swing.JSlider(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setBackground(new java.awt.Color(216, 216, 222)); setBounds(new java.awt.Rectangle(0, 22, 710, 796)); setFocusable(false);/* w w w . ja v a 2s . co m*/ setFont(new java.awt.Font("STHeiti", 0, 10)); setMinimumSize(new java.awt.Dimension(710, 598)); setName(""); // NOI18N setSize(new java.awt.Dimension(710, 830)); colorMaskPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); colorMaskPanel.setMaximumSize(new java.awt.Dimension(700, 785)); colorMaskPanel.setMinimumSize(new java.awt.Dimension(700, 400)); tabPane.setBackground(new java.awt.Color(204, 204, 204)); tabPane.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("STHeiti", 0, 13))); // NOI18N tabPane.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT); tabPane.setToolTipText(""); tabPane.setFocusTraversalKeysEnabled(false); tabPane.setFont(new java.awt.Font("STHeiti", 0, 13)); tabPane.setMaximumSize(new java.awt.Dimension(695, 390)); tabPane.setMinimumSize(new java.awt.Dimension(695, 390)); tabPane.setNextFocusableComponent(statisticsPanel); tabPane.setPreferredSize(new java.awt.Dimension(695, 390)); tabPane.setSize(new java.awt.Dimension(695, 390)); tabPane.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { tabPaneMouseClicked(evt); } }); callCenterPanel.setBackground(new java.awt.Color(255, 255, 255)); callCenterPanel.setToolTipText("Visualised status & stats of all Phones in Pool"); callCenterPanel.setFocusTraversalKeysEnabled(false); callCenterPanel.setFont(new java.awt.Font("STHeiti", 0, 12)); callCenterPanel.setNextFocusableComponent(statisticsPanel); callCenterPanel.setOpaque(false); callCenterPanel.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { callCenterPanelKeyPressed(evt); } }); layeredImagePane.setFont(new java.awt.Font("STHeiti", 0, 13)); layeredImagePane.setMaximumSize(new java.awt.Dimension(670, 333)); layeredImagePane.setSize(new java.awt.Dimension(670, 333)); phonesPoolTableScrollPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); phonesPoolTableScrollPane .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); phonesPoolTableScrollPane.setAutoscrolls(true); phonesPoolTableScrollPane.setColumnHeaderView(null); phonesPoolTableScrollPane.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR)); phonesPoolTableScrollPane.setEnabled(false); phonesPoolTableScrollPane.setFocusTraversalKeysEnabled(false); phonesPoolTableScrollPane.setFocusable(false); phonesPoolTableScrollPane.setMaximumSize(new java.awt.Dimension(670, 330)); phonesPoolTableScrollPane.setMinimumSize(new java.awt.Dimension(670, 330)); phonesPoolTableScrollPane.setPreferredSize(new java.awt.Dimension(670, 330)); phonesPoolTable.setFont(new java.awt.Font("STHeiti", 0, 14)); // NOI18N phonesPoolTable.setForeground(new java.awt.Color(102, 102, 102)); phonesPoolTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { }, new String[] { })); phonesPoolTable.setToolTipText("Double click to show Phone"); phonesPoolTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF); phonesPoolTable.setAutoscrolls(false); phonesPoolTable.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); phonesPoolTable.setDoubleBuffered(true); phonesPoolTable.setFocusTraversalKeysEnabled(false); phonesPoolTable.setFocusable(false); phonesPoolTable.setRequestFocusEnabled(false); phonesPoolTable.setRowSelectionAllowed(false); phonesPoolTable.setSelectionBackground(new java.awt.Color(204, 204, 204)); phonesPoolTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); phonesPoolTable.setShowGrid(false); phonesPoolTable.getTableHeader().setResizingAllowed(false); phonesPoolTable.getTableHeader().setReorderingAllowed(false); phonesPoolTable.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { phonesPoolTableMouseClicked(evt); } }); phonesPoolTableScrollPane.setViewportView(phonesPoolTable); phonesPoolTableScrollPane.setBounds(0, 0, 660, 330); layeredImagePane.add(phonesPoolTableScrollPane, javax.swing.JLayeredPane.DEFAULT_LAYER); imageBrandLabel.setFont(new java.awt.Font("STHeiti", 0, 48)); imageBrandLabel.setForeground(new java.awt.Color(255, 255, 255)); imageBrandLabel.setText("VoipStorm"); imageBrandLabel.setToolTipText(""); imageBrandLabel.setBounds(30, 30, 250, 50); layeredImagePane.add(imageBrandLabel, javax.swing.JLayeredPane.DEFAULT_LAYER); imageProductLabel.setFont(new java.awt.Font("STHeiti", 0, 18)); imageProductLabel.setForeground(new java.awt.Color(233, 232, 232)); imageProductLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); imageProductLabel.setText("ECallCenter 21"); imageProductLabel.setToolTipText(""); imageProductLabel.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM); imageProductLabel.setBounds(30, 80, 140, 20); layeredImagePane.add(imageProductLabel, javax.swing.JLayeredPane.DEFAULT_LAYER); imagePostfixLabel.setFont(new java.awt.Font("STHeiti", 2, 18)); imagePostfixLabel.setForeground(new java.awt.Color(203, 254, 254)); imagePostfixLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); imagePostfixLabel.setText("st Century"); imagePostfixLabel.setToolTipText(""); imagePostfixLabel.setBounds(170, 80, 100, 20); layeredImagePane.add(imagePostfixLabel, javax.swing.JLayeredPane.DEFAULT_LAYER); imageLinkLabel.setFont(new java.awt.Font("STHeiti", 0, 14)); imageLinkLabel.setForeground(new java.awt.Color(204, 204, 204)); imageLinkLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); imageLinkLabel.setText("http://www.voipstorm.nl/"); imageLinkLabel.setToolTipText(""); imageLinkLabel.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); imageLinkLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { imageLinkLabelMouseClicked(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { imageLinkLabelMouseExited(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { imageLinkLabelMouseEntered(evt); } }); imageLinkLabel.setBounds(240, 300, 190, 20); layeredImagePane.add(imageLinkLabel, javax.swing.JLayeredPane.DEFAULT_LAYER); imageIconLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); imageIconLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); imageIconLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/vsheader.jpg"))); // NOI18N imageIconLabel.setToolTipText(""); imageIconLabel.setMaximumSize(new java.awt.Dimension(670, 333)); imageIconLabel.setMinimumSize(new java.awt.Dimension(670, 333)); imageIconLabel.setOpaque(true); imageIconLabel.setPreferredSize(new java.awt.Dimension(670, 333)); imageIconLabel.setBounds(-2, 0, 670, 330); layeredImagePane.add(imageIconLabel, javax.swing.JLayeredPane.DEFAULT_LAYER); org.jdesktop.layout.GroupLayout callCenterPanelLayout = new org.jdesktop.layout.GroupLayout( callCenterPanel); callCenterPanel.setLayout(callCenterPanelLayout); callCenterPanelLayout.setHorizontalGroup( callCenterPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(callCenterPanelLayout.createSequentialGroup().addContainerGap().add(layeredImagePane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 656, Short.MAX_VALUE))); callCenterPanelLayout .setVerticalGroup(callCenterPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(callCenterPanelLayout.createSequentialGroup().addContainerGap() .add(layeredImagePane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 333, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); tabPane.addTab("Call Center", callCenterPanel); statisticsPanel.setToolTipText("Overview Overall Statistics Campaign"); statisticsPanel.setFocusTraversalKeysEnabled(false); statisticsPanel.setFont(new java.awt.Font("STHeiti", 0, 12)); statisticsPanel.setNextFocusableComponent(graphPanel); statisticsPanel.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { statisticsPanelKeyPressed(evt); } }); mainPanel.setBackground(new java.awt.Color(255, 255, 255)); mainPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); mainPanel.setMaximumSize(new java.awt.Dimension(1600, 1600)); mainPanel.setPreferredSize(new java.awt.Dimension(800, 241)); systemStatsLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); systemStatsLabel.setForeground(new java.awt.Color(102, 102, 102)); systemStatsLabel.setText("System (Health)"); systemStatsScrollPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); systemStatsScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); systemStatsTable.setFont(new java.awt.Font("STHeiti", 0, 10)); // NOI18N systemStatsTable.setForeground(new java.awt.Color(102, 102, 102)); systemStatsTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { { "VM Usage", new Long(0), "%" }, { "Threads", new Long(0), "" }, { "MemFree", new Long(0), "MB" }, { "HeapMemMax", new Long(0), "MB" }, { "HeapMemTot", new Long(0), "MB" }, { "HeapMemFree", new Long(0), "MB" }, { " ", null, null } }, new String[] { "", "", "" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.Long.class, java.lang.String.class }; boolean[] canEdit = new boolean[] { false, false, false }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); systemStatsTable.setToolTipText("System Utilization Statistics used by Automated Call Burst Rate Slider"); systemStatsTable.setAutoCreateRowSorter(true); systemStatsTable.setAutoscrolls(false); systemStatsTable.setDoubleBuffered(true); systemStatsTable.setFocusable(false); systemStatsTable.setMaximumSize(new java.awt.Dimension(55, 110)); systemStatsTable.setMinimumSize(new java.awt.Dimension(55, 110)); systemStatsTable.setName("name"); // NOI18N systemStatsTable.setPreferredSize(new java.awt.Dimension(55, 110)); systemStatsTable.setRowHeight(15); systemStatsTable.setRowSelectionAllowed(false); systemStatsTable.setSelectionBackground(new java.awt.Color(51, 102, 255)); systemStatsTable.setShowGrid(false); systemStatsTable.setSize(new java.awt.Dimension(55, 110)); systemStatsScrollPane.setViewportView(systemStatsTable); systemStatsTable.getColumnModel().getColumn(0).setResizable(false); systemStatsTable.getColumnModel().getColumn(0).setPreferredWidth(80); systemStatsTable.getColumnModel().getColumn(1).setResizable(false); systemStatsTable.getColumnModel().getColumn(1).setPreferredWidth(50); systemStatsTable.getColumnModel().getColumn(2).setResizable(false); systemStatsTable.getColumnModel().getColumn(2).setPreferredWidth(20); orderLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); orderLabel.setForeground(new java.awt.Color(102, 102, 102)); orderLabel.setText("Order"); orderStatsScrollPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); orderStatsScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); orderTable.setFont(new java.awt.Font("STHeiti", 0, 10)); orderTable.setForeground(new java.awt.Color(102, 102, 102)); orderTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { { "Recipients", "-" }, { "Time Window", "-" }, { "Total Calls", "-" }, { "Call Duration", "-" }, { "Message Rate", "-" }, { "Message Rate", "-" }, { "SubTotal", "-" } }, new String[] { "", "" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.String.class }; boolean[] canEdit = new boolean[] { false, false }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); orderTable.setToolTipText("Represents highlevel Running Campaign Info based on Customer Order"); orderTable.setAutoCreateRowSorter(true); orderTable.setAutoscrolls(false); orderTable.setDoubleBuffered(true); orderTable.setFocusable(false); orderTable.setMaximumSize(new java.awt.Dimension(55, 110)); orderTable.setMinimumSize(new java.awt.Dimension(55, 110)); orderTable.setName("name"); // NOI18N orderTable.setPreferredSize(new java.awt.Dimension(55, 110)); orderTable.setRowHeight(15); orderTable.setRowSelectionAllowed(false); orderTable.setSelectionBackground(new java.awt.Color(51, 102, 255)); orderTable.setShowGrid(false); orderTable.setSize(new java.awt.Dimension(55, 110)); orderStatsScrollPane.setViewportView(orderTable); orderTable.getColumnModel().getColumn(0).setResizable(false); orderTable.getColumnModel().getColumn(0).setPreferredWidth(40); orderTable.getColumnModel().getColumn(1).setResizable(false); orderTable.getColumnModel().getColumn(1).setPreferredWidth(15); phoneStatsLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); phoneStatsLabel.setForeground(new java.awt.Color(102, 102, 102)); phoneStatsLabel.setText("Phone Pool"); phoneStatsScrollPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); phoneStatsScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); phoneStatsScrollPane.setFont(new java.awt.Font("STHeiti", 0, 13)); phoneStatsTable.setFont(new java.awt.Font("STHeiti", 0, 10)); phoneStatsTable.setForeground(new java.awt.Color(102, 102, 102)); phoneStatsTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { "Phones", new Long(0) }, { "Processing", new Long(0) }, { "On", new Long(0) }, { "Registered", new Long(0) }, { "Listening", new Long(0) }, { "Connecting", new Long(0) }, { "Trying", new Long(0) }, { "Calling", new Long(0) }, { "Accepting", new Long(0) }, { "Ringing", new Long(0) }, { "Established", new Long(0) }, { "Total Calls", new Long(0) }, { " Total Established", new Long(0) }, { " ", null }, { " ", null }, { " ", null }, { " ", null }, { " ", null }, { " ", null }, { null, null }, { " ", null } }, new String[] { "", "" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.Long.class }; boolean[] canEdit = new boolean[] { true, false }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); phoneStatsTable.setToolTipText("Overall Status of all Phones in Pool"); phoneStatsTable.setAutoCreateRowSorter(true); phoneStatsTable.setAutoscrolls(false); phoneStatsTable.setDoubleBuffered(true); phoneStatsTable.setEditingColumn(0); phoneStatsTable.setEditingRow(0); phoneStatsTable.setFocusable(false); phoneStatsTable.setMaximumSize(new java.awt.Dimension(1400, 330)); phoneStatsTable.setMinimumSize(new java.awt.Dimension(30, 330)); phoneStatsTable.setName("name"); // NOI18N phoneStatsTable.setPreferredSize(new java.awt.Dimension(75, 330)); phoneStatsTable.setRowHeight(15); phoneStatsTable.setRowSelectionAllowed(false); phoneStatsTable.setSelectionBackground(new java.awt.Color(51, 102, 255)); phoneStatsTable.setShowGrid(false); phoneStatsTable.setSize(new java.awt.Dimension(75, 190)); phoneStatsScrollPane.setViewportView(phoneStatsTable); phoneStatsTable.getColumnModel().getColumn(0).setResizable(false); phoneStatsTable.getColumnModel().getColumn(0).setPreferredWidth(40); phoneStatsTable.getColumnModel().getColumn(1).setResizable(false); phoneStatsTable.getColumnModel().getColumn(1).setPreferredWidth(40); reponseStatsLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); reponseStatsLabel.setForeground(new java.awt.Color(102, 102, 102)); reponseStatsLabel.setText("Response"); responseStatsScrollPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); responseStatsScrollPane .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); responseStatsTable.setFont(new java.awt.Font("STHeiti", 0, 10)); responseStatsTable.setForeground(new java.awt.Color(102, 102, 102)); responseStatsTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { "Info", "1XX", new Long(0) }, { "Success", "2XX", new Long(0) }, { "Redirection", "3XX", new Long(0) }, { "Client Error", "4XX", new Long(0) }, { "Server Error", "5XX", new Long(0) }, { "Gen. Error", "6XX", new Long(0) }, { "", "", null }, { null, null, null }, { null, null, null }, { null, null, null }, { null, null, null }, { "Timeout", null, new Long(0) }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null } }, new String[] { "", "", "" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.String.class, java.lang.Long.class }; boolean[] canEdit = new boolean[] { true, false, false }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); responseStatsTable.setToolTipText("Represents Highlevel Proxy/Answerer Response Statistics"); responseStatsTable.setAutoCreateRowSorter(true); responseStatsTable.setAutoscrolls(false); responseStatsTable.setDoubleBuffered(true); responseStatsTable.setFocusable(false); responseStatsTable.setMaximumSize(new java.awt.Dimension(2000, 330)); responseStatsTable.setMinimumSize(new java.awt.Dimension(45, 330)); responseStatsTable.setName("name"); // NOI18N responseStatsTable.setPreferredSize(new java.awt.Dimension(95, 330)); responseStatsTable.setRowHeight(15); responseStatsTable.setRowSelectionAllowed(false); responseStatsTable.setSelectionBackground(new java.awt.Color(51, 102, 255)); responseStatsTable.setShowGrid(false); responseStatsScrollPane.setViewportView(responseStatsTable); responseStatsTable.getColumnModel().getColumn(0).setResizable(false); responseStatsTable.getColumnModel().getColumn(0).setPreferredWidth(60); responseStatsTable.getColumnModel().getColumn(1).setResizable(false); responseStatsTable.getColumnModel().getColumn(1).setPreferredWidth(10); responseStatsTable.getColumnModel().getColumn(2).setResizable(false); responseStatsTable.getColumnModel().getColumn(2).setPreferredWidth(25); campaignLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); campaignLabel.setForeground(new java.awt.Color(102, 102, 102)); campaignLabel.setText("Campaign"); campaignScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); campaignScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); campaignTable.setFont(new java.awt.Font("STHeiti", 0, 10)); campaignTable.setForeground(new java.awt.Color(102, 102, 102)); campaignTable .setModel( new javax.swing.table.DefaultTableModel( new Object[][] { { "Start Sched", "-" }, { "End Sched", "-" }, { "Start Exp", "-" }, { "End Exp", "-" }, { "Start Reg", "-" }, { "End Reg", "-" }, { "Time Total", "-" }, { "Time Past", "-" }, { "Time ETA", "-" }, { "Throughput", "-" }, { " ", null }, { " ", null } }, new String[] { "", "" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.String.class }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } }); campaignTable.setToolTipText("Time Statistics related to running Campaign"); campaignTable.setAutoCreateRowSorter(true); campaignTable.setAutoscrolls(false); campaignTable.setDoubleBuffered(true); campaignTable.setEditingColumn(0); campaignTable.setEditingRow(0); campaignTable.setFocusable(false); campaignTable.setMaximumSize(new java.awt.Dimension(55, 180)); campaignTable.setMinimumSize(new java.awt.Dimension(55, 180)); campaignTable.setName("name"); // NOI18N campaignTable.setPreferredSize(new java.awt.Dimension(55, 180)); campaignTable.setRowHeight(15); campaignTable.setRowSelectionAllowed(false); campaignTable.setSelectionBackground(new java.awt.Color(51, 102, 255)); campaignTable.setShowGrid(false); campaignTable.setSize(new java.awt.Dimension(55, 160)); campaignScrollPane.setViewportView(campaignTable); campaignTable.getColumnModel().getColumn(0).setResizable(false); campaignTable.getColumnModel().getColumn(0).setPreferredWidth(30); campaignTable.getColumnModel().getColumn(1).setResizable(false); campaignTable.getColumnModel().getColumn(1).setPreferredWidth(75); turnoverStatsLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); turnoverStatsLabel.setForeground(new java.awt.Color(102, 102, 102)); turnoverStatsLabel.setText("Turnover"); turnoverStatsScrollPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); turnoverStatsScrollPane .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); turnoverStatsTable.setFont(new java.awt.Font("STHeiti", 0, 10)); turnoverStatsTable.setForeground(new java.awt.Color(102, 102, 102)); turnoverStatsTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { "Hourly", "", new Float(0.0) }, { "Progress", "", new Float(0.0) }, { "Total (excl.)", "", new Float(0.0) }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { " ", null, null }, { null, null, null } }, new String[] { "", "", "" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.String.class, java.lang.Float.class }; boolean[] canEdit = new boolean[] { false, false, false }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); turnoverStatsTable.setToolTipText("Financial Statistics"); turnoverStatsTable.setAutoCreateRowSorter(true); turnoverStatsTable.setAutoscrolls(false); turnoverStatsTable.setDoubleBuffered(true); turnoverStatsTable.setFocusable(false); turnoverStatsTable.setMaximumSize(new java.awt.Dimension(55, 180)); turnoverStatsTable.setMinimumSize(new java.awt.Dimension(55, 180)); turnoverStatsTable.setName("name"); // NOI18N turnoverStatsTable.setPreferredSize(new java.awt.Dimension(55, 180)); turnoverStatsTable.setRowHeight(15); turnoverStatsTable.setRowSelectionAllowed(false); turnoverStatsTable.setSelectionBackground(new java.awt.Color(51, 102, 255)); turnoverStatsTable.setShowGrid(false); turnoverStatsTable.setSize(new java.awt.Dimension(55, 160)); turnoverStatsScrollPane.setViewportView(turnoverStatsTable); turnoverStatsTable.getColumnModel().getColumn(0).setResizable(false); turnoverStatsTable.getColumnModel().getColumn(0).setPreferredWidth(60); turnoverStatsTable.getColumnModel().getColumn(1).setResizable(false); turnoverStatsTable.getColumnModel().getColumn(1).setPreferredWidth(10); turnoverStatsTable.getColumnModel().getColumn(2).setResizable(false); turnoverStatsTable.getColumnModel().getColumn(2).setPreferredWidth(50); org.jdesktop.layout.GroupLayout mainPanelLayout = new org.jdesktop.layout.GroupLayout(mainPanel); mainPanel.setLayout(mainPanelLayout); mainPanelLayout.setHorizontalGroup(mainPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(mainPanelLayout.createSequentialGroup().add(mainPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(mainPanelLayout.createSequentialGroup().add(mainPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(mainPanelLayout.createSequentialGroup().add(60, 60, 60).add(systemStatsLabel)) .add(mainPanelLayout.createSequentialGroup().addContainerGap().add(mainPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(systemStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE) .add(campaignScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE)))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(mainPanelLayout.createSequentialGroup().add(mainPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(turnoverStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 148, Short.MAX_VALUE) .add(orderStatsScrollPane, 0, 0, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)) .add(mainPanelLayout.createSequentialGroup().add(orderLabel).add(80, 80, 80)))) .add(org.jdesktop.layout.GroupLayout.TRAILING, mainPanelLayout.createSequentialGroup() .add(75, 75, 75).add(campaignLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 93, Short.MAX_VALUE) .add(turnoverStatsLabel).add(69, 69, 69))) .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING).add( org.jdesktop.layout.GroupLayout.LEADING, mainPanelLayout.createSequentialGroup() .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(phoneStatsScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 140, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(responseStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 161, Short.MAX_VALUE)) .add(org.jdesktop.layout.GroupLayout.LEADING, mainPanelLayout.createSequentialGroup().add(43, 43, 43).add(phoneStatsLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 90, Short.MAX_VALUE) .add(reponseStatsLabel).add(53, 53, 53))) .addContainerGap())); mainPanelLayout.setVerticalGroup(mainPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(mainPanelLayout.createSequentialGroup().add(mainPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(mainPanelLayout.createSequentialGroup() .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(reponseStatsLabel).add(phoneStatsLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(phoneStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 310, Short.MAX_VALUE) .add(responseStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 310, Short.MAX_VALUE))) .add(mainPanelLayout.createSequentialGroup() .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(systemStatsLabel).add(orderLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(mainPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(systemStatsScrollPane, 0, 0, Short.MAX_VALUE).add(orderStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 119, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(turnoverStatsLabel).add(campaignLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(mainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(turnoverStatsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 166, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.LEADING, campaignScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 166, Short.MAX_VALUE)))) .addContainerGap())); org.jdesktop.layout.GroupLayout statisticsPanelLayout = new org.jdesktop.layout.GroupLayout( statisticsPanel); statisticsPanel.setLayout(statisticsPanelLayout); statisticsPanelLayout.setHorizontalGroup( statisticsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(mainPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 662, Short.MAX_VALUE)); statisticsPanelLayout .setVerticalGroup(statisticsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(mainPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 335, Short.MAX_VALUE)); tabPane.addTab("Statistics", statisticsPanel); graphPanel.setEnabled(false); graphPanel.setFocusTraversalKeysEnabled(false); graphPanel.setFont(new java.awt.Font("STHeiti", 0, 12)); graphPanel.setNextFocusableComponent(phoneDisplayPanel); graphPanel.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { graphPanelKeyPressed(evt); } }); org.jdesktop.layout.GroupLayout graphInnerPanelLayout = new org.jdesktop.layout.GroupLayout( graphInnerPanel); graphInnerPanel.setLayout(graphInnerPanelLayout); graphInnerPanelLayout.setHorizontalGroup(graphInnerPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 662, Short.MAX_VALUE)); graphInnerPanelLayout.setVerticalGroup(graphInnerPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 323, Short.MAX_VALUE)); org.jdesktop.layout.GroupLayout graphPanelLayout = new org.jdesktop.layout.GroupLayout(graphPanel); graphPanel.setLayout(graphPanelLayout); graphPanelLayout.setHorizontalGroup(graphPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 662, Short.MAX_VALUE) .add(graphPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add( graphInnerPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); graphPanelLayout.setVerticalGroup(graphPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 335, Short.MAX_VALUE) .add(graphPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(graphPanelLayout.createSequentialGroup().addContainerGap() .add(graphInnerPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()))); tabPane.addTab("Graph", graphPanel); phoneDisplayTabPanel.setToolTipText("Display for all individual SoftPhones in Pool"); phoneDisplayTabPanel.setFocusTraversalKeysEnabled(false); phoneDisplayTabPanel.setFont(new java.awt.Font("STHeiti", 0, 12)); phoneDisplayTabPanel.setNextFocusableComponent(netConfigPanel); phoneDisplayTabPanel.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { phoneDisplayTabPanelKeyPressed(evt); } }); phoneDisplayPanel.setBackground(new java.awt.Color(255, 255, 255)); phoneDisplayPanel.setToolTipText(""); phoneDisplayPanel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseExited(java.awt.event.MouseEvent evt) { phoneDisplayPanelMouseExited(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { phoneDisplayPanelMouseEntered(evt); } }); softphoneInfoLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); softphoneInfoLabel.setForeground(new java.awt.Color(102, 102, 102)); softphoneInfoLabel.setToolTipText(""); proxyInfoLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); proxyInfoLabel.setForeground(new java.awt.Color(102, 102, 102)); proxyInfoLabel.setToolTipText(""); proxyInfoLabel.setHorizontalAlignment(SwingConstants.RIGHT); primaryStatusLabel.setFont(new java.awt.Font("STHeiti", 1, 24)); primaryStatusLabel.setForeground(new java.awt.Color(102, 102, 102)); primaryStatusLabel.setToolTipText(""); primaryStatusLabel.setHorizontalAlignment(SwingConstants.CENTER); primaryStatusDetailsLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); primaryStatusDetailsLabel.setForeground(new java.awt.Color(102, 102, 102)); primaryStatusDetailsLabel.setToolTipText(""); primaryStatusDetailsLabel.setHorizontalAlignment(SwingConstants.CENTER); secondaryStatusLabel.setFont(new java.awt.Font("STHeiti", 1, 24)); secondaryStatusLabel.setForeground(new java.awt.Color(102, 102, 102)); secondaryStatusLabel.setToolTipText(""); secondaryStatusLabel.setHorizontalAlignment(SwingConstants.CENTER); secondaryStatusDetailsLabel.setFont(new java.awt.Font("STHeiti", 0, 12)); secondaryStatusDetailsLabel.setForeground(new java.awt.Color(102, 102, 102)); secondaryStatusDetailsLabel.setToolTipText(""); secondaryStatusDetailsLabel.setHorizontalAlignment(SwingConstants.CENTER); onPanel.setBackground(new java.awt.Color(255, 255, 255)); onPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); onPanel.setToolTipText("Powered On"); onLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); onLabel.setForeground(new java.awt.Color(204, 204, 204)); onLabel.setText("ON"); org.jdesktop.layout.GroupLayout onPanelLayout = new org.jdesktop.layout.GroupLayout(onPanel); onPanel.setLayout(onPanelLayout); onPanelLayout .setHorizontalGroup(onPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, onPanelLayout.createSequentialGroup() .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(onLabel).addContainerGap())); onPanelLayout.setVerticalGroup( onPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(onLabel)); idlePanel.setBackground(new java.awt.Color(255, 255, 255)); idlePanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); idlePanel.setToolTipText("Phone is Ready"); idleLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); idleLabel.setForeground(new java.awt.Color(204, 204, 204)); idleLabel.setText("IDL"); org.jdesktop.layout.GroupLayout idlePanelLayout = new org.jdesktop.layout.GroupLayout(idlePanel); idlePanel.setLayout(idlePanelLayout); idlePanelLayout .setHorizontalGroup(idlePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, idlePanelLayout.createSequentialGroup() .addContainerGap(11, Short.MAX_VALUE).add(idleLabel).addContainerGap())); idlePanelLayout.setVerticalGroup( idlePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(idleLabel)); connectingPanel.setBackground(new java.awt.Color(255, 255, 255)); connectingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); connectingPanel.setToolTipText("Connecting Callout"); connectingLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); connectingLabel.setForeground(new java.awt.Color(204, 204, 204)); connectingLabel.setText("CON"); org.jdesktop.layout.GroupLayout connectingPanelLayout = new org.jdesktop.layout.GroupLayout( connectingPanel); connectingPanel.setLayout(connectingPanelLayout); connectingPanelLayout.setHorizontalGroup( connectingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(connectingPanelLayout.createSequentialGroup().addContainerGap().add(connectingLabel) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); connectingPanelLayout.setVerticalGroup(connectingPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(connectingLabel)); callingPanel.setBackground(new java.awt.Color(255, 255, 255)); callingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); callingPanel.setToolTipText("Calling"); callingLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); callingLabel.setForeground(new java.awt.Color(204, 204, 204)); callingLabel.setText("CLL"); org.jdesktop.layout.GroupLayout callingPanelLayout = new org.jdesktop.layout.GroupLayout(callingPanel); callingPanel.setLayout(callingPanelLayout); callingPanelLayout .setHorizontalGroup(callingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(callingPanelLayout.createSequentialGroup().addContainerGap().add(callingLabel) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); callingPanelLayout.setVerticalGroup( callingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(callingLabel)); ringingPanel.setBackground(new java.awt.Color(255, 255, 255)); ringingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); ringingPanel.setToolTipText("Ringing"); ringingLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); ringingLabel.setForeground(new java.awt.Color(204, 204, 204)); ringingLabel.setText("RNG"); org.jdesktop.layout.GroupLayout ringingPanelLayout = new org.jdesktop.layout.GroupLayout(ringingPanel); ringingPanel.setLayout(ringingPanelLayout); ringingPanelLayout .setHorizontalGroup(ringingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, ringingPanelLayout.createSequentialGroup() .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(ringingLabel).addContainerGap())); ringingPanelLayout.setVerticalGroup( ringingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(ringingLabel)); acceptingPanel.setBackground(new java.awt.Color(255, 255, 255)); acceptingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); acceptingPanel.setToolTipText("Accepting Incoming Call"); acceptingLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); acceptingLabel.setForeground(new java.awt.Color(204, 204, 204)); acceptingLabel.setText("ACC"); org.jdesktop.layout.GroupLayout acceptingPanelLayout = new org.jdesktop.layout.GroupLayout(acceptingPanel); acceptingPanel.setLayout(acceptingPanelLayout); acceptingPanelLayout.setHorizontalGroup( acceptingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(acceptingPanelLayout.createSequentialGroup().addContainerGap().add(acceptingLabel) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); acceptingPanelLayout.setVerticalGroup(acceptingPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(acceptingLabel)); talkingPanel.setBackground(new java.awt.Color(255, 255, 255)); talkingPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); talkingPanel.setToolTipText("Phonecall Established (Talking)"); talkingLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); talkingLabel.setForeground(new java.awt.Color(204, 204, 204)); talkingLabel.setText("TALK"); org.jdesktop.layout.GroupLayout talkingPanelLayout = new org.jdesktop.layout.GroupLayout(talkingPanel); talkingPanel.setLayout(talkingPanelLayout); talkingPanelLayout .setHorizontalGroup(talkingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(talkingPanelLayout.createSequentialGroup().addContainerGap().add(talkingLabel) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); talkingPanelLayout.setVerticalGroup( talkingPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(talkingLabel)); registeredPanel.setBackground(new java.awt.Color(255, 255, 255)); registeredPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); registeredPanel.setToolTipText("Registered with Proxy (Incoming Proxy Calls Enabled)"); registeredLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); registeredLabel.setForeground(new java.awt.Color(204, 204, 204)); registeredLabel.setText("REG"); org.jdesktop.layout.GroupLayout registeredPanelLayout = new org.jdesktop.layout.GroupLayout( registeredPanel); registeredPanel.setLayout(registeredPanelLayout); registeredPanelLayout.setHorizontalGroup( registeredPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(registeredPanelLayout.createSequentialGroup().addContainerGap().add(registeredLabel) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); registeredPanelLayout.setVerticalGroup(registeredPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(registeredLabel)); answerPanel.setBackground(new java.awt.Color(255, 255, 255)); answerPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); answerPanel.setToolTipText("Auto Answer Calls"); answerLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); answerLabel.setForeground(new java.awt.Color(204, 204, 204)); answerLabel.setText("ANS"); org.jdesktop.layout.GroupLayout answerPanelLayout = new org.jdesktop.layout.GroupLayout(answerPanel); answerPanel.setLayout(answerPanelLayout); answerPanelLayout .setHorizontalGroup(answerPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(answerPanelLayout.createSequentialGroup().addContainerGap().add(answerLabel) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); answerPanelLayout.setVerticalGroup( answerPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(answerLabel)); mutePanel.setBackground(new java.awt.Color(255, 255, 255)); mutePanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); mutePanel.setToolTipText("Mute Audio"); muteLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); muteLabel.setForeground(new java.awt.Color(204, 204, 204)); muteLabel.setText("MUT"); org.jdesktop.layout.GroupLayout mutePanelLayout = new org.jdesktop.layout.GroupLayout(mutePanel); mutePanel.setLayout(mutePanelLayout); mutePanelLayout .setHorizontalGroup(mutePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(mutePanelLayout.createSequentialGroup().addContainerGap().add(muteLabel) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); mutePanelLayout.setVerticalGroup( mutePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(muteLabel)); cancelPanel.setBackground(new java.awt.Color(255, 255, 255)); cancelPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); cancelPanel.setToolTipText("Auto Cancel Calls"); cancelLabel.setFont(new java.awt.Font("STHeiti", 1, 8)); cancelLabel.setForeground(new java.awt.Color(204, 204, 204)); cancelLabel.setText("CAN"); org.jdesktop.layout.GroupLayout cancelPanelLayout = new org.jdesktop.layout.GroupLayout(cancelPanel); cancelPanel.setLayout(cancelPanelLayout); cancelPanelLayout .setHorizontalGroup(cancelPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(cancelPanelLayout.createSequentialGroup().addContainerGap().add(cancelLabel) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); cancelPanelLayout.setVerticalGroup( cancelPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(cancelLabel)); org.jdesktop.layout.GroupLayout phoneDisplayPanelLayout = new org.jdesktop.layout.GroupLayout( phoneDisplayPanel); phoneDisplayPanel.setLayout(phoneDisplayPanelLayout); phoneDisplayPanelLayout.setHorizontalGroup(phoneDisplayPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(phoneDisplayPanelLayout.createSequentialGroup().addContainerGap().add(phoneDisplayPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(phoneDisplayPanelLayout.createSequentialGroup().add(phoneDisplayPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(primaryStatusLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE) .add(phoneDisplayPanelLayout.createSequentialGroup() .add(softphoneInfoLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 351, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(proxyInfoLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 287, Short.MAX_VALUE)) .add(primaryStatusDetailsLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE) .add(secondaryStatusDetailsLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE) .add(secondaryStatusLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE)) .addContainerGap()) .add(org.jdesktop.layout.GroupLayout.TRAILING, phoneDisplayPanelLayout.createSequentialGroup() .add(onPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(idlePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(connectingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(callingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(ringingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(acceptingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(talkingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(registeredPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(answerPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(cancelPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(mutePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(148, 148, 148))))); phoneDisplayPanelLayout.setVerticalGroup(phoneDisplayPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(phoneDisplayPanelLayout.createSequentialGroup().add(phoneDisplayPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(softphoneInfoLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(proxyInfoLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(24, 24, 24) .add(primaryStatusLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(primaryStatusDetailsLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(24, 24, 24) .add(secondaryStatusLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(secondaryStatusDetailsLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 143, Short.MAX_VALUE) .add(phoneDisplayPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(phoneDisplayPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(phoneDisplayPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(acceptingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.LEADING, phoneDisplayPanelLayout .createParallelGroup( org.jdesktop.layout.GroupLayout.TRAILING) .add(ringingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.LEADING, phoneDisplayPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.TRAILING) .add(callingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.LEADING, phoneDisplayPanelLayout .createParallelGroup( org.jdesktop.layout.GroupLayout.TRAILING) .add(connectingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.LEADING, phoneDisplayPanelLayout .createParallelGroup( org.jdesktop.layout.GroupLayout.TRAILING) .add(idlePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.LEADING, onPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))) .add(talkingPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(phoneDisplayPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(org.jdesktop.layout.GroupLayout.LEADING, registeredPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(answerPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(cancelPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(mutePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap())); org.jdesktop.layout.GroupLayout phoneDisplayTabPanelLayout = new org.jdesktop.layout.GroupLayout( phoneDisplayTabPanel); phoneDisplayTabPanel.setLayout(phoneDisplayTabPanelLayout); phoneDisplayTabPanelLayout.setHorizontalGroup( phoneDisplayTabPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add( phoneDisplayPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)); phoneDisplayTabPanelLayout.setVerticalGroup( phoneDisplayTabPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add( phoneDisplayPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)); tabPane.addTab("Display", phoneDisplayTabPanel); toolsInnerPanel.setBorder( javax.swing.BorderFactory.createTitledBorder(null, "Tools", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 14))); // NOI18N toolsInnerPanel.setToolTipText(""); toolsInnerPanel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { toolsInnerPanelMouseClicked(evt); } }); netManagerOutboundServerToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); netManagerOutboundServerToggleButton.setText("OutManagementClient"); netManagerOutboundServerToggleButton.setToolTipText("Outbound NetManager Server (Managed Mode)"); netManagerOutboundServerToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { netManagerOutboundServerToggleButtonActionPerformed(evt); } }); netManagerInboundServerToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); netManagerInboundServerToggleButton.setText("InManagementClient"); netManagerInboundServerToggleButton .setToolTipText("Start Inbound NetManager Server for CallCenter Manager"); netManagerInboundServerToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { netManagerInboundServerToggleButtonActionPerformed(evt); } }); controlsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Controls", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N displayLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); displayLabel.setText("Display"); enableDisplayCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10)); enableDisplayCheckBox.setToolTipText("Enable SoftPhones Display Feedback"); enableDisplayCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); enableDisplayCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); enableDisplayCheckBox.setIconTextGap(0); snmpLabel1.setFont(new java.awt.Font("STHeiti", 0, 10)); snmpLabel1.setText("Scan"); smoothCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10)); smoothCheckBox.setSelected(true); smoothCheckBox.setToolTipText("Smooth Meter Animation (disabling slightly increases performance)"); smoothCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); smoothCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); smoothCheckBox.setIconTextGap(0); scanCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10)); scanCheckBox.setToolTipText("Campaign Scan Phonenumbers Mode"); scanCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); scanCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); scanCheckBox.setIconTextGap(0); smoothLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); smoothLabel.setText("Smooth"); org.jdesktop.layout.GroupLayout controlsPanelLayout = new org.jdesktop.layout.GroupLayout(controlsPanel); controlsPanel.setLayout(controlsPanelLayout); controlsPanelLayout.setHorizontalGroup(controlsPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(controlsPanelLayout.createSequentialGroup().addContainerGap() .add(controlsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(displayLabel).add(enableDisplayCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(controlsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(snmpLabel1).add(scanCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(10, 10, 10) .add(controlsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(smoothLabel) .add(controlsPanelLayout.createSequentialGroup().add(6, 6, 6).add(smoothCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addContainerGap(183, Short.MAX_VALUE))); controlsPanelLayout.linkSize( new java.awt.Component[] { enableDisplayCheckBox, scanCheckBox, smoothCheckBox }, org.jdesktop.layout.GroupLayout.HORIZONTAL); controlsPanelLayout .setVerticalGroup(controlsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(controlsPanelLayout.createSequentialGroup().add(displayLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(enableDisplayCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 11, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(12, 12, 12)) .add(controlsPanelLayout.createSequentialGroup() .add(controlsPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(snmpLabel1).add(smoothLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(controlsPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(smoothCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 21, Short.MAX_VALUE) .add(scanCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 11, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap())); controlsPanelLayout.linkSize( new java.awt.Component[] { enableDisplayCheckBox, scanCheckBox, smoothCheckBox }, org.jdesktop.layout.GroupLayout.VERTICAL); lookAndFeelPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Look and Feel", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N lookAndFeelGroup.add(lookAndFeelRButtonMotif); lookAndFeelRButtonMotif.setFont(new java.awt.Font("STHeiti", 0, 8)); lookAndFeelRButtonMotif.setText("Motif"); lookAndFeelRButtonMotif.setToolTipText("Set Look & Feel"); lookAndFeelRButtonMotif.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lookAndFeelRButtonMotifMouseClicked(evt); } }); lookAndFeelGroup.add(lookAndFeelRButtonGTK); lookAndFeelRButtonGTK.setFont(new java.awt.Font("STHeiti", 0, 8)); lookAndFeelRButtonGTK.setText("GTK"); lookAndFeelRButtonGTK.setToolTipText("Set Look & Feel"); lookAndFeelRButtonGTK.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lookAndFeelRButtonGTKMouseClicked(evt); } }); lookAndFeelGroup.add(lookAndFeelRButtonNimbus); lookAndFeelRButtonNimbus.setFont(new java.awt.Font("STHeiti", 0, 8)); lookAndFeelRButtonNimbus.setSelected(true); lookAndFeelRButtonNimbus.setText("Nimbus"); lookAndFeelRButtonNimbus.setToolTipText("Set Look & Feel"); lookAndFeelRButtonNimbus.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lookAndFeelRButtonNimbusMouseClicked(evt); } }); lookAndFeelGroup.add(lookAndFeelRButtonWindows); lookAndFeelRButtonWindows.setFont(new java.awt.Font("STHeiti", 0, 8)); lookAndFeelRButtonWindows.setText("Windows"); lookAndFeelRButtonWindows.setToolTipText("Set Look & Feel"); lookAndFeelRButtonWindows.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lookAndFeelRButtonWindowsMouseClicked(evt); } }); org.jdesktop.layout.GroupLayout lookAndFeelPanelLayout = new org.jdesktop.layout.GroupLayout( lookAndFeelPanel); lookAndFeelPanel.setLayout(lookAndFeelPanelLayout); lookAndFeelPanelLayout.setHorizontalGroup(lookAndFeelPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(lookAndFeelPanelLayout.createSequentialGroup().add(19, 19, 19).add(lookAndFeelRButtonNimbus) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED).add(lookAndFeelRButtonWindows) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lookAndFeelRButtonGTK) .add(18, 18, 18).add(lookAndFeelRButtonMotif).addContainerGap(18, Short.MAX_VALUE))); lookAndFeelPanelLayout.setVerticalGroup(lookAndFeelPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(lookAndFeelPanelLayout.createSequentialGroup().addContainerGap() .add(lookAndFeelPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(lookAndFeelRButtonNimbus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(lookAndFeelRButtonWindows, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(lookAndFeelRButtonGTK, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(lookAndFeelRButtonMotif, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); org.jdesktop.layout.GroupLayout toolsInnerPanelLayout = new org.jdesktop.layout.GroupLayout( toolsInnerPanel); toolsInnerPanel.setLayout(toolsInnerPanelLayout); toolsInnerPanelLayout.setHorizontalGroup( toolsInnerPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(toolsInnerPanelLayout.createSequentialGroup().addContainerGap() .add(toolsInnerPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add(org.jdesktop.layout.GroupLayout.LEADING, lookAndFeelPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.LEADING, controlsPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.LEADING, toolsInnerPanelLayout.createSequentialGroup() .add(netManagerOutboundServerToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 153, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(netManagerInboundServerToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 153, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); toolsInnerPanelLayout.setVerticalGroup(toolsInnerPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(toolsInnerPanelLayout.createSequentialGroup().addContainerGap().add(toolsInnerPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(netManagerOutboundServerToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 37, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(netManagerInboundServerToggleButton)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(controlsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(lookAndFeelPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(75, Short.MAX_VALUE))); toolsInnerPanelLayout.linkSize(new java.awt.Component[] { netManagerInboundServerToggleButton, netManagerOutboundServerToggleButton }, org.jdesktop.layout.GroupLayout.VERTICAL); sipInfoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "SIP Information", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 12))); // NOI18N sipInfoPanel.setToolTipText(""); destinationScrollPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); destinationTextArea.setBackground(new java.awt.Color(204, 204, 204)); destinationTextArea.setColumns(1); destinationTextArea.setFont(new java.awt.Font("STHeiti", 0, 10)); destinationTextArea.setRows(16); destinationTextArea.setToolTipText("Telephone Addresses"); destinationTextArea.setEnabled(false); destinationTextArea.setMinimumSize(new java.awt.Dimension(330, 65)); destinationScrollPane.setViewportView(destinationTextArea); org.jdesktop.layout.GroupLayout sipInfoPanelLayout = new org.jdesktop.layout.GroupLayout(sipInfoPanel); sipInfoPanel.setLayout(sipInfoPanelLayout); sipInfoPanelLayout.setHorizontalGroup( sipInfoPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add( destinationScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 261, Short.MAX_VALUE)); sipInfoPanelLayout .setVerticalGroup(sipInfoPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(sipInfoPanelLayout .createSequentialGroup().addContainerGap().add(destinationScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 244, Short.MAX_VALUE) .addContainerGap())); org.jdesktop.layout.GroupLayout toolsPanelLayout = new org.jdesktop.layout.GroupLayout(toolsPanel); toolsPanel.setLayout(toolsPanelLayout); toolsPanelLayout .setHorizontalGroup(toolsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(toolsPanelLayout.createSequentialGroup() .add(toolsInnerPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(sipInfoPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(47, Short.MAX_VALUE))); toolsPanelLayout.setVerticalGroup(toolsPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(toolsPanelLayout.createSequentialGroup() .add(toolsInnerPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(54, 54, 54)) .add(toolsPanelLayout.createSequentialGroup() .add(sipInfoPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap())); toolsPanelLayout.linkSize(new java.awt.Component[] { sipInfoPanel, toolsInnerPanel }, org.jdesktop.layout.GroupLayout.VERTICAL); tabPane.addTab("Tools", toolsPanel); netConfigPanel.setToolTipText("Mainly Proxy Configuration"); netConfigPanel.setFocusTraversalKeysEnabled(false); netConfigPanel.setFont(new java.awt.Font("STHeiti", 0, 12)); netConfigPanel.setNextFocusableComponent(logPanel); netConfigPanel.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { netConfigPanelKeyPressed(evt); } }); authenticationPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Network Configuration", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 12))); // NOI18N authenticationPanel.setToolTipText(""); iconsLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); iconsLabel.setText("Icons"); iconsCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10)); iconsCheckBox.setSelected(true); iconsCheckBox.setToolTipText("Smooth needle movement Meters / Dials"); iconsCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); iconsCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); iconsCheckBox.setIconTextGap(0); clientIPLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); clientIPLabel.setText("Client"); clientIPField.setBackground(new java.awt.Color(204, 204, 204)); clientIPField.setFont(new java.awt.Font("STHeiti", 0, 10)); clientIPField.setToolTipText("Your computer's IP (Automatic)"); pubIPLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); pubIPLabel.setText("Pub IP"); pubIPField.setFont(new java.awt.Font("STHeiti", 0, 10)); pubIPField.setToolTipText( "Please fill in your public IP address (type: \"myip\" in google to find you public ip address)"); pubIPField.setNextFocusableComponent(usernameField); clientPortLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); clientPortLabel.setText("Port"); registerCheckBox.setFont(new java.awt.Font("STHeiti", 0, 10)); registerCheckBox.setToolTipText("Enable Automatic Proxy Login at startup"); registerCheckBox.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); registerCheckBox.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); registerCheckBox.setIconTextGap(0); registerLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); registerLabel.setText("Reg"); clientPortField.setBackground(new java.awt.Color(204, 204, 204)); clientPortField.setFont(new java.awt.Font("STHeiti", 0, 10)); clientPortField.setToolTipText("Client Port (Tip: \"auto\")"); clientPortField.setNextFocusableComponent(usernameField); domainLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); domainLabel.setText("Domain"); domainField.setFont(new java.awt.Font("STHeiti", 0, 10)); domainField.setToolTipText("Internet Telephone Provider Domain (Tip: sip1.budgetphone.nl)"); serverIPLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); serverIPLabel.setText("Server"); serverIPField.setFont(new java.awt.Font("STHeiti", 0, 10)); serverIPField.setToolTipText("Internet Telephone Provider Server (Tip: sip1.budgetphone.nl)"); serverIPField.setNextFocusableComponent(usernameField); serverPortLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); serverPortLabel.setText("Port"); serverPortField.setFont(new java.awt.Font("STHeiti", 0, 10)); serverPortField.setToolTipText("Internet Telephone Provider Port (Tip: \"5060\")"); serverPortField.setNextFocusableComponent(usernameField); pfixLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); pfixLabel.setText("PFix"); usersecretLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); usersecretLabel.setText("User"); suffixLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); suffixLabel.setText("SFix"); prefixField.setBackground(new java.awt.Color(204, 204, 204)); prefixField.setFont(new java.awt.Font("STHeiti", 0, 10)); prefixField.setToolTipText("Password Prefix (advanced usage normally not needed)"); prefixField.setNextFocusableComponent(usernameField); usernameField.setFont(new java.awt.Font("STHeiti", 0, 10)); usernameField.setToolTipText("Username (comes from your Internet Telephone Provider)"); suffixField.setBackground(new java.awt.Color(204, 204, 204)); suffixField.setFont(new java.awt.Font("STHeiti", 0, 10)); suffixField.setToolTipText("Password Suffix (advanced usage normally not needed)"); suffixField.setNextFocusableComponent(usernameField); saveConfigurationButton.setFont(new java.awt.Font("STHeiti", 0, 10)); saveConfigurationButton.setText("Save"); saveConfigurationButton.setToolTipText("Saves Config (Tip: Power Cycle again after Save)"); saveConfigurationButton.setFocusPainted(false); saveConfigurationButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { saveConfigurationButtonActionPerformed(evt); } }); toegangField.setFont(new java.awt.Font("STHeiti", 0, 10)); toegangField.setToolTipText("Password (comes from your Internet Telephone Provider)"); secretLabel.setFont(new java.awt.Font("STHeiti", 0, 10)); secretLabel.setText("Secr"); prefPhoneLinesPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Preferred number of CallCenter Phone Lines", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N prefPhoneLinesSlider.setFont(new java.awt.Font("STHeiti", 0, 8)); prefPhoneLinesSlider.setMajorTickSpacing(50); prefPhoneLinesSlider.setMaximum(500); prefPhoneLinesSlider.setMinimum(100); prefPhoneLinesSlider.setMinorTickSpacing(25); prefPhoneLinesSlider.setPaintLabels(true); prefPhoneLinesSlider.setPaintTicks(true); prefPhoneLinesSlider.setSnapToTicks(true); prefPhoneLinesSlider.setToolTipText("The number of preferred CallCenter phonelines"); prefPhoneLinesSlider.setValue(500); org.jdesktop.layout.GroupLayout prefPhoneLinesPanelLayout = new org.jdesktop.layout.GroupLayout( prefPhoneLinesPanel); prefPhoneLinesPanel.setLayout(prefPhoneLinesPanelLayout); prefPhoneLinesPanelLayout.setHorizontalGroup( prefPhoneLinesPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(prefPhoneLinesPanelLayout .createSequentialGroup().add(18, 18, 18).add(prefPhoneLinesSlider, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 383, Short.MAX_VALUE) .addContainerGap())); prefPhoneLinesPanelLayout.setVerticalGroup( prefPhoneLinesPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(prefPhoneLinesPanelLayout.createSequentialGroup() .add(prefPhoneLinesSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 34, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(7, Short.MAX_VALUE))); org.jdesktop.layout.GroupLayout authenticationPanelLayout = new org.jdesktop.layout.GroupLayout( authenticationPanel); authenticationPanel.setLayout(authenticationPanelLayout); authenticationPanelLayout.setHorizontalGroup(authenticationPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(authenticationPanelLayout.createSequentialGroup().addContainerGap() .add(authenticationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(authenticationPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(prefPhoneLinesPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(authenticationPanelLayout.createSequentialGroup() .add(authenticationPanelLayout .createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING, false) .add(clientIPLabel) .add(serverIPLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(domainLabel)) .add(13, 13, 13) .add(authenticationPanelLayout .createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(authenticationPanelLayout.createSequentialGroup() .add(authenticationPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.TRAILING) .add(authenticationPanelLayout .createSequentialGroup() .add(pfixLabel).add(21, 21, 21)) .add(prefixField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED) .add(authenticationPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(usernameField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 43, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(usersecretLabel)) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED) .add(authenticationPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(toegangField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 53, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(secretLabel)) .add(authenticationPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(authenticationPanelLayout .createSequentialGroup() .add(11, 11, 11).add(suffixLabel) .add(17, 17, 17)) .add(authenticationPanelLayout .createSequentialGroup() .addPreferredGap( org.jdesktop.layout.LayoutStyle.UNRELATED) .add(suffixField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 86, Short.MAX_VALUE)))) .add(serverIPField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 245, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.TRAILING, authenticationPanelLayout.createSequentialGroup() .add(clientIPField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 118, Short.MAX_VALUE) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED) .add(pubIPLabel) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED) .add(pubIPField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 85, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(domainField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 245, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(authenticationPanelLayout .createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(authenticationPanelLayout.createSequentialGroup() .add(authenticationPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(clientPortLabel).add(serverPortLabel)) .add(17, 17, 17) .add(authenticationPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.TRAILING) .add(org.jdesktop.layout.GroupLayout.LEADING, serverPortField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.LEADING, clientPortField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE))) .add(authenticationPanelLayout.createSequentialGroup().add( registerCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(24, 24, 24) .add(authenticationPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(iconsCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(iconsLabel))) .add(registerLabel)) .addContainerGap())) .add(org.jdesktop.layout.GroupLayout.TRAILING, authenticationPanelLayout.createSequentialGroup() .add(saveConfigurationButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 94, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(166, 166, 166))))); authenticationPanelLayout.linkSize(new java.awt.Component[] { clientPortLabel, serverPortLabel }, org.jdesktop.layout.GroupLayout.HORIZONTAL); authenticationPanelLayout.setVerticalGroup(authenticationPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(authenticationPanelLayout.createSequentialGroup().addContainerGap() .add(authenticationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(authenticationPanelLayout.createSequentialGroup() .add(authenticationPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(clientIPLabel).add(clientPortLabel) .add(clientIPField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(pubIPLabel).add(pubIPField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(authenticationPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(domainLabel).add(domainField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(authenticationPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(serverIPField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(serverIPLabel).add(serverPortLabel))) .add(authenticationPanelLayout.createSequentialGroup() .add(clientPortField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(47, 47, 47).add(serverPortField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(7, 7, 7) .add(authenticationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(authenticationPanelLayout.createSequentialGroup().add(suffixLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(authenticationPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.CENTER) .add(prefixField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(toegangField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(usernameField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(suffixField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(registerCheckBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(iconsCheckBox, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .add(authenticationPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(pfixLabel).add(usersecretLabel).add(secretLabel)) .add(registerLabel).add(iconsLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(prefPhoneLinesPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(saveConfigurationButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 15, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap())); authenticationPanelLayout.linkSize(new java.awt.Component[] { clientIPLabel, domainLabel, serverIPLabel }, org.jdesktop.layout.GroupLayout.VERTICAL); authenticationPanelLayout.linkSize( new java.awt.Component[] { clientIPField, clientPortField, domainField, prefixField, pubIPField, serverIPField, serverPortField, suffixField, toegangField, usernameField }, org.jdesktop.layout.GroupLayout.VERTICAL); authenticationPanelLayout.linkSize(new java.awt.Component[] { clientPortLabel, serverPortLabel }, org.jdesktop.layout.GroupLayout.VERTICAL); org.jdesktop.layout.GroupLayout netConfigPanelLayout = new org.jdesktop.layout.GroupLayout(netConfigPanel); netConfigPanel.setLayout(netConfigPanelLayout); netConfigPanelLayout.setHorizontalGroup( netConfigPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add( org.jdesktop.layout.GroupLayout.TRAILING, netConfigPanelLayout.createSequentialGroup().addContainerGap(114, Short.MAX_VALUE) .add(authenticationPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(111, 111, 111))); netConfigPanelLayout .setVerticalGroup(netConfigPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(netConfigPanelLayout.createSequentialGroup() .add(authenticationPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(67, Short.MAX_VALUE))); tabPane.addTab("Config", netConfigPanel); licensePanel.setName("licensePanel"); // NOI18N licensePanel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { licensePanelMouseClicked(evt); } }); licenseTypePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Type", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N licenseTypePanel.setToolTipText(""); licenseTypePanel.setFont(new java.awt.Font("STHeiti", 0, 13)); licenseTypePanel.setMaximumSize(new java.awt.Dimension(200, 239)); licenseTypePanel.setPreferredSize(new java.awt.Dimension(200, 239)); licenseTypePanel.setSize(new java.awt.Dimension(200, 239)); vergunningTypeList.setFont(new java.awt.Font("Courier New", 1, 12)); vergunningTypeList.setModel(new javax.swing.AbstractListModel() { String[] strings = { "Demo", "Standard", "Professional", "Enterprise" }; public int getSize() { return strings.length; } public Object getElementAt(int i) { return strings[i]; } }); vergunningTypeList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); vergunningTypeList.setToolTipText(""); vergunningTypeList.setSelectedIndices(new int[] { 0 }); vergunningTypeList.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { vergunningTypeListMouseClicked(evt); } }); jScrollPane1.setViewportView(vergunningTypeList); org.jdesktop.layout.GroupLayout licenseTypePanelLayout = new org.jdesktop.layout.GroupLayout( licenseTypePanel); licenseTypePanel.setLayout(licenseTypePanelLayout); licenseTypePanelLayout.setHorizontalGroup( licenseTypePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 116, Short.MAX_VALUE)); licenseTypePanelLayout.setVerticalGroup( licenseTypePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licenseTypePanelLayout.createSequentialGroup() .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 157, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(17, Short.MAX_VALUE))); licenseDatePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Start", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N licenseDatePanel.setToolTipText(""); licenseDatePanel.setFont(new java.awt.Font("STHeiti", 0, 13)); licenseDatePanel.setMaximumSize(new java.awt.Dimension(200, 239)); licenseDatePanel.setMinimumSize(new java.awt.Dimension(200, 239)); licenseDatePanel.setSize(new java.awt.Dimension(200, 239)); vergunningDateChooserPanel.setCurrentView(new datechooser.view.appearance.AppearancesList("Bordered", new datechooser.view.appearance.ViewAppearance("custom", new datechooser.view.appearance.swing.SwingCellAppearance( new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 255), false, true, new datechooser.view.appearance.swing.ButtonPainter()), new datechooser.view.appearance.swing.SwingCellAppearance( new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 255), true, true, new datechooser.view.appearance.swing.ButtonPainter()), new datechooser.view.appearance.swing.SwingCellAppearance( new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13), new java.awt.Color(0, 0, 255), new java.awt.Color(0, 0, 255), false, true, new datechooser.view.appearance.swing.ButtonPainter()), new datechooser.view.appearance.swing.SwingCellAppearance( new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13), new java.awt.Color(128, 128, 128), new java.awt.Color(0, 0, 255), false, true, new datechooser.view.appearance.swing.LabelPainter()), new datechooser.view.appearance.swing.SwingCellAppearance( new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 255), false, true, new datechooser.view.appearance.swing.LabelPainter()), new datechooser.view.appearance.swing.SwingCellAppearance( new java.awt.Font("Lucida Grande", java.awt.Font.PLAIN, 13), new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 0), false, false, new datechooser.view.appearance.swing.ButtonPainter()), (datechooser.view.BackRenderer) null, false, true))); vergunningDateChooserPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder( javax.swing.border.EtchedBorder.LOWERED, (java.awt.Color) null, (java.awt.Color) null)); vergunningDateChooserPanel.setLocale(new java.util.Locale("en", "", "")); vergunningDateChooserPanel.setNavigateFont(new java.awt.Font("STHeiti", java.awt.Font.PLAIN, 10)); vergunningDateChooserPanel.setBehavior(datechooser.model.multiple.MultyModelBehavior.SELECT_SINGLE); vergunningDateChooserPanel.addSelectionChangedListener(new datechooser.events.SelectionChangedListener() { public void onSelectionChange(datechooser.events.SelectionChangedEvent evt) { vergunningDateChooserPanelOnSelectionChange(evt); } }); org.jdesktop.layout.GroupLayout licenseDatePanelLayout = new org.jdesktop.layout.GroupLayout( licenseDatePanel); licenseDatePanel.setLayout(licenseDatePanelLayout); licenseDatePanelLayout.setHorizontalGroup( licenseDatePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add( org.jdesktop.layout.GroupLayout.TRAILING, licenseDatePanelLayout.createSequentialGroup() .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(vergunningDateChooserPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 220, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap())); licenseDatePanelLayout.setVerticalGroup( licenseDatePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licenseDatePanelLayout.createSequentialGroup() .add(vergunningDateChooserPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 155, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(19, Short.MAX_VALUE))); licensePeriodPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Period", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N licensePeriodPanel.setToolTipText(""); licensePeriodPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); licensePeriodPanel.setMaximumSize(new java.awt.Dimension(200, 239)); licensePeriodPanel.setPreferredSize(new java.awt.Dimension(200, 239)); licensePeriodPanel.setSize(new java.awt.Dimension(200, 239)); vergunningPeriodList.setFont(new java.awt.Font("Courier New", 1, 12)); vergunningPeriodList.setModel(new javax.swing.AbstractListModel() { String[] strings = { "Month", "Year" }; public int getSize() { return strings.length; } public Object getElementAt(int i) { return strings[i]; } }); vergunningPeriodList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); vergunningPeriodList.setToolTipText(""); vergunningPeriodList.setEnabled(false); vergunningPeriodList.setFocusable(false); vergunningPeriodList.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { vergunningPeriodListMouseClicked(evt); } }); licensePeriodScrollPane.setViewportView(vergunningPeriodList); org.jdesktop.layout.GroupLayout licensePeriodPanelLayout = new org.jdesktop.layout.GroupLayout( licensePeriodPanel); licensePeriodPanel.setLayout(licensePeriodPanelLayout); licensePeriodPanelLayout.setHorizontalGroup(licensePeriodPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licensePeriodScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE)); licensePeriodPanelLayout.setVerticalGroup( licensePeriodPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licensePeriodPanelLayout.createSequentialGroup() .add(licensePeriodScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 156, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(18, Short.MAX_VALUE))); activationCodePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Activation Code", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N activationCodePanel.setToolTipText(""); activationCodePanel.setFont(new java.awt.Font("STHeiti", 0, 13)); activationCodePanel.setMaximumSize(new java.awt.Dimension(200, 239)); activationCodePanel.setMinimumSize(new java.awt.Dimension(200, 239)); activationCodePanel.setSize(new java.awt.Dimension(200, 239)); activationCodeField.setBackground(new java.awt.Color(204, 204, 204)); activationCodeField.setFont(new java.awt.Font("Courier New", 1, 10)); activationCodeField.setToolTipText("Please give this ActivationCode to the Sales department"); activationCodeField.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR)); activationCodeField.setMaximumSize(new java.awt.Dimension(483, 20)); activationCodeField.setMinimumSize(new java.awt.Dimension(483, 20)); activationCodeField.setPreferredSize(new java.awt.Dimension(483, 20)); activationCodeField.setSize(new java.awt.Dimension(483, 20)); org.jdesktop.layout.GroupLayout activationCodePanelLayout = new org.jdesktop.layout.GroupLayout( activationCodePanel); activationCodePanel.setLayout(activationCodePanelLayout); activationCodePanelLayout .setHorizontalGroup( activationCodePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(activationCodePanelLayout.createSequentialGroup().add(activationCodeField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 461, Short.MAX_VALUE) .addContainerGap())); activationCodePanelLayout.setVerticalGroup( activationCodePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(activationCodePanelLayout.createSequentialGroup() .add(activationCodeField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(17, Short.MAX_VALUE))); licenseCodePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Code", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N licenseCodePanel.setToolTipText(""); licenseCodePanel.setFont(new java.awt.Font("STHeiti", 0, 13)); licenseCodePanel.setMaximumSize(new java.awt.Dimension(200, 239)); licenseCodePanel.setMinimumSize(new java.awt.Dimension(200, 239)); licenseCodePanel.setSize(new java.awt.Dimension(200, 239)); vergunningCodeField.setFont(new java.awt.Font("Courier New", 1, 10)); vergunningCodeField.setToolTipText( "Please fill in the LicenseCode here that you recieved from the Sales Department or Doubleclick to enter License Authorisation Code"); vergunningCodeField.setEnabled(false); vergunningCodeField.setMaximumSize(new java.awt.Dimension(483, 20)); vergunningCodeField.setMinimumSize(new java.awt.Dimension(483, 20)); vergunningCodeField.setPreferredSize(new java.awt.Dimension(483, 20)); vergunningCodeField.setSize(new java.awt.Dimension(483, 20)); vergunningCodeField.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { vergunningCodeFieldMouseClicked(evt); } }); vergunningCodeField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { vergunningCodeFieldActionPerformed(evt); } }); vergunningCodeField.addKeyListener(new java.awt.event.KeyAdapter() { public void keyReleased(java.awt.event.KeyEvent evt) { vergunningCodeFieldKeyReleased(evt); } }); org.jdesktop.layout.GroupLayout licenseCodePanelLayout = new org.jdesktop.layout.GroupLayout( licenseCodePanel); licenseCodePanel.setLayout(licenseCodePanelLayout); licenseCodePanelLayout .setHorizontalGroup( licenseCodePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licenseCodePanelLayout.createSequentialGroup().add(vergunningCodeField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 461, Short.MAX_VALUE) .addContainerGap())); licenseCodePanelLayout.setVerticalGroup( licenseCodePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licenseCodePanelLayout.createSequentialGroup() .add(vergunningCodeField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(17, Short.MAX_VALUE))); licenseDetailsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "License Details", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10))); // NOI18N licenseDetailsPanel.setToolTipText(""); licenseDetailsPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); licenseDetailsPanel.setMaximumSize(new java.awt.Dimension(200, 239)); licenseDetailsPanel.setPreferredSize(new java.awt.Dimension(200, 239)); licenseDetailsPanel.setSize(new java.awt.Dimension(200, 239)); licenseDetailsScrollPane .setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); licenseDetailsScrollPane .setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); licenseDetailsScrollPane.setFont(new java.awt.Font("STHeiti", 0, 13)); vergunningDetailsTable.setFont(new java.awt.Font("STHeiti", 0, 8)); vergunningDetailsTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { "Licensed", null }, { "Type", null }, { "Period", null }, { "Start Date", null }, { "End Date", null }, { "Phonelines", null }, { "Calls / Hour", null }, { "Calls / Run", null }, { " Digits", null }, { "", null } }, new String[] { "", "" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.String.class }; boolean[] canEdit = new boolean[] { true, false }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); vergunningDetailsTable.setToolTipText("Overall Status of all Phones in Pool"); vergunningDetailsTable.setAutoCreateRowSorter(true); vergunningDetailsTable.setAutoscrolls(false); vergunningDetailsTable.setDoubleBuffered(true); vergunningDetailsTable.setEditingColumn(0); vergunningDetailsTable.setEditingRow(0); vergunningDetailsTable.setFocusable(false); vergunningDetailsTable.setMaximumSize(new java.awt.Dimension(75, 190)); vergunningDetailsTable.setMinimumSize(new java.awt.Dimension(75, 190)); vergunningDetailsTable.setName("name"); // NOI18N vergunningDetailsTable.setPreferredSize(new java.awt.Dimension(75, 190)); vergunningDetailsTable.setRowSelectionAllowed(false); vergunningDetailsTable.setSelectionBackground(new java.awt.Color(51, 102, 255)); vergunningDetailsTable.setShowGrid(false); vergunningDetailsTable.setSize(new java.awt.Dimension(75, 190)); licenseDetailsScrollPane.setViewportView(vergunningDetailsTable); vergunningDetailsTable.getColumnModel().getColumn(0).setResizable(false); vergunningDetailsTable.getColumnModel().getColumn(0).setPreferredWidth(50); vergunningDetailsTable.getColumnModel().getColumn(1).setResizable(false); vergunningDetailsTable.getColumnModel().getColumn(1).setPreferredWidth(50); org.jdesktop.layout.GroupLayout licenseDetailsPanelLayout = new org.jdesktop.layout.GroupLayout( licenseDetailsPanel); licenseDetailsPanel.setLayout(licenseDetailsPanelLayout); licenseDetailsPanelLayout.setHorizontalGroup(licenseDetailsPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licenseDetailsScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 141, Short.MAX_VALUE)); licenseDetailsPanelLayout.setVerticalGroup( licenseDetailsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licenseDetailsPanelLayout.createSequentialGroup() .add(licenseDetailsScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 156, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(18, Short.MAX_VALUE))); applyVergunningButton.setFont(new java.awt.Font("STHeiti", 0, 14)); applyVergunningButton.setText("Apply License"); applyVergunningButton.setToolTipText("Apply LicenseCode"); applyVergunningButton.setEnabled(false); applyVergunningButton.setFocusPainted(false); applyVergunningButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { applyVergunningButtonActionPerformed(evt); } }); requestVergunningButton.setFont(new java.awt.Font("STHeiti", 0, 14)); requestVergunningButton.setText("Request License"); requestVergunningButton.setToolTipText("Request a License"); requestVergunningButton.setEnabled(false); requestVergunningButton.setFocusPainted(false); requestVergunningButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { requestVergunningButtonActionPerformed(evt); } }); org.jdesktop.layout.GroupLayout licensePanelLayout = new org.jdesktop.layout.GroupLayout(licensePanel); licensePanel.setLayout(licensePanelLayout); licensePanelLayout.setHorizontalGroup(licensePanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licensePanelLayout.createSequentialGroup().addContainerGap().add(licensePanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licensePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licensePanelLayout.createSequentialGroup() .add(licenseTypePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 128, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(licenseDatePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(licensePeriodPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 95, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(6, 6, 6)) .add(licensePanelLayout.createSequentialGroup() .add(activationCodePanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(licensePanelLayout.createSequentialGroup() .add(licenseCodePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(licensePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(requestVergunningButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(applyVergunningButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 153, Short.MAX_VALUE) .add(licenseDetailsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 153, Short.MAX_VALUE)) .add(56, 56, 56))); licensePanelLayout.linkSize(new java.awt.Component[] { activationCodePanel, licenseCodePanel }, org.jdesktop.layout.GroupLayout.HORIZONTAL); licensePanelLayout.setVerticalGroup(licensePanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licensePanelLayout.createSequentialGroup().add(licensePanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(licenseDatePanel, 0, 197, Short.MAX_VALUE) .add(licenseTypePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 197, Short.MAX_VALUE) .add(licensePeriodPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 197, Short.MAX_VALUE) .add(licenseDetailsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 197, Short.MAX_VALUE)) .add(5, 5, 5) .add(licensePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(requestVergunningButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 61, Short.MAX_VALUE) .add(activationCodePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(licensePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add(applyVergunningButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(licenseCodePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, Short.MAX_VALUE)) .addContainerGap())); licensePanelLayout.linkSize(new java.awt.Component[] { licenseDatePanel, licenseTypePanel }, org.jdesktop.layout.GroupLayout.VERTICAL); licensePanelLayout.linkSize(new java.awt.Component[] { activationCodePanel, licenseCodePanel }, org.jdesktop.layout.GroupLayout.VERTICAL); tabPane.addTab("License", licensePanel); logPanel.setToolTipText("Clicking clears Display"); logPanel.setFocusTraversalKeysEnabled(false); logPanel.setFont(new java.awt.Font("STHeiti", 0, 12)); logPanel.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { logPanelKeyPressed(evt); } }); logScrollPane.setForeground(new java.awt.Color(255, 255, 255)); logScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); logScrollPane.setDoubleBuffered(true); logScrollPane.setFont(new java.awt.Font("STHeiti", 0, 13)); textLogArea.setBackground(new java.awt.Color(51, 51, 51)); textLogArea.setColumns(20); textLogArea.setEditable(false); textLogArea.setFont(new java.awt.Font("Courier", 0, 8)); textLogArea.setForeground(new java.awt.Color(255, 255, 255)); textLogArea.setLineWrap(true); textLogArea.setRows(5); textLogArea.setToolTipText("Doubleclick to Clear"); textLogArea.setDoubleBuffered(true); textLogArea.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { textLogAreaMouseClicked(evt); } }); logScrollPane.setViewportView(textLogArea); org.jdesktop.layout.GroupLayout logPanelLayout = new org.jdesktop.layout.GroupLayout(logPanel); logPanel.setLayout(logPanelLayout); logPanelLayout .setHorizontalGroup(logPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(logScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 662, Short.MAX_VALUE)); logPanelLayout.setVerticalGroup(logPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, logScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 335, Short.MAX_VALUE)); tabPane.addTab("Log", logPanel); aboutPanel.setBackground(new java.awt.Color(51, 51, 51)); aboutPanel.setToolTipText("Background Information on this Product"); aboutPanel.setFocusTraversalKeysEnabled(false); aboutPanel.setFont(new java.awt.Font("STHeiti", 0, 12)); aboutPanel.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { aboutPanelKeyPressed(evt); } }); brandLabel.setFont(new java.awt.Font("STHeiti", 1, 24)); brandLabel.setForeground(new java.awt.Color(51, 51, 51)); brandLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); brandDescriptionLabel.setBackground(new java.awt.Color(51, 51, 51)); brandDescriptionLabel.setColumns(20); brandDescriptionLabel.setEditable(false); brandDescriptionLabel.setFont(new java.awt.Font("STHeiti", 0, 14)); brandDescriptionLabel.setForeground(new java.awt.Color(51, 51, 51)); brandDescriptionLabel.setLineWrap(true); brandDescriptionLabel.setRows(5); brandDescriptionLabel.setWrapStyleWord(true); brandDescriptionLabel.setAutoscrolls(false); brandDescriptionLabel.setBorder(null); brandDescriptionLabel.setDragEnabled(false); brandDescriptionLabel.setFocusable(false); productLabel.setFont(new java.awt.Font("STHeiti", 1, 24)); productLabel.setForeground(new java.awt.Color(51, 51, 51)); productLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); productDescriptionLabel.setBackground(new java.awt.Color(51, 51, 51)); productDescriptionLabel.setColumns(20); productDescriptionLabel.setEditable(false); productDescriptionLabel.setFont(new java.awt.Font("STHeiti", 0, 14)); productDescriptionLabel.setForeground(new java.awt.Color(51, 51, 51)); productDescriptionLabel.setLineWrap(true); productDescriptionLabel.setRows(5); productDescriptionLabel.setWrapStyleWord(true); productDescriptionLabel.setAutoscrolls(false); productDescriptionLabel.setBorder(null); productDescriptionLabel.setDragEnabled(false); productDescriptionLabel.setFocusable(false); copyrightLabel.setBackground(new java.awt.Color(51, 51, 51)); copyrightLabel.setColumns(20); copyrightLabel.setEditable(false); copyrightLabel.setFont(new java.awt.Font("STHeiti", 0, 14)); copyrightLabel.setForeground(new java.awt.Color(51, 51, 51)); copyrightLabel.setLineWrap(true); copyrightLabel.setRows(5); copyrightLabel.setWrapStyleWord(true); copyrightLabel.setAutoscrolls(false); copyrightLabel.setBorder(null); copyrightLabel.setDragEnabled(false); copyrightLabel.setFocusable(false); org.jdesktop.layout.GroupLayout aboutPanelLayout = new org.jdesktop.layout.GroupLayout(aboutPanel); aboutPanel.setLayout(aboutPanelLayout); aboutPanelLayout.setHorizontalGroup(aboutPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, aboutPanelLayout.createSequentialGroup().addContainerGap() .add(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(org.jdesktop.layout.GroupLayout.LEADING, productDescriptionLabel) .add(org.jdesktop.layout.GroupLayout.LEADING, brandLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.LEADING, brandDescriptionLabel) .add(org.jdesktop.layout.GroupLayout.LEADING, productLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE)) .add(22, 22, 22)) .add(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(aboutPanelLayout .createSequentialGroup().addContainerGap().add(copyrightLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 650, Short.MAX_VALUE) .addContainerGap()))); aboutPanelLayout .linkSize( new java.awt.Component[] { brandDescriptionLabel, brandLabel, copyrightLabel, productDescriptionLabel, productLabel }, org.jdesktop.layout.GroupLayout.HORIZONTAL); aboutPanelLayout .setVerticalGroup(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(aboutPanelLayout.createSequentialGroup().addContainerGap() .add(brandLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 27, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(brandDescriptionLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(productLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 34, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(productDescriptionLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(92, Short.MAX_VALUE)) .add(aboutPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(aboutPanelLayout.createSequentialGroup().add(277, 277, 277) .add(copyrightLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 36, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(22, Short.MAX_VALUE)))); tabPane.addTab("About", aboutPanel); displayPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("")); displayPanel.setToolTipText(""); displayPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); displayPanel.setMaximumSize(new java.awt.Dimension(695, 105)); displayPanel.setMinimumSize(new java.awt.Dimension(695, 105)); displayPanel.setPreferredSize(new java.awt.Dimension(695, 105)); displayPanel.setSize(new java.awt.Dimension(695, 105)); captionTable.setBackground(new java.awt.Color(240, 240, 240)); captionTable.setFont(new java.awt.Font("STHeiti", 0, 10)); captionTable.setForeground(new java.awt.Color(102, 102, 102)); captionTable.setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { "", null, null, null, null, null, null, null, null, null, null }, { null, null, null, null, null, null, null, null, null, null, null }, { null, null, null, null, null, null, null, null, null, null, null } }, new String[] { "", "", "", "", "", "", "", "", "", "", "" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class }; boolean[] canEdit = new boolean[] { false, false, false, false, false, false, false, false, false, false, false }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); captionTable.setToolTipText("CallCenter Statistics"); captionTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_ALL_COLUMNS); captionTable.setAutoscrolls(false); captionTable.setColumnSelectionAllowed(true); captionTable.setDoubleBuffered(true); captionTable.setEnabled(false); captionTable.setFocusable(false); captionTable.setIntercellSpacing(new java.awt.Dimension(0, 0)); captionTable.setMaximumSize(new java.awt.Dimension(660, 45)); captionTable.setMinimumSize(new java.awt.Dimension(660, 45)); captionTable.setPreferredSize(new java.awt.Dimension(660, 45)); captionTable.setRowHeight(15); captionTable.setRowSelectionAllowed(false); captionTable.setShowGrid(false); captionTable.setSize(new java.awt.Dimension(660, 45)); captionTable.setUpdateSelectionOnSort(false); captionTable.setVerifyInputWhenFocusTarget(false); statusBar.setBackground(new java.awt.Color(230, 230, 230)); statusBar.setBorder(javax.swing.BorderFactory.createEtchedBorder()); statusBar.setEditable(false); statusBar.setFont(new java.awt.Font("Synchro LET", 2, 14)); statusBar.setForeground(new java.awt.Color(102, 102, 102)); statusBar.setToolTipText("Status Bar"); statusBar.setMaximumSize(new java.awt.Dimension(500, 25)); statusBar.setMinimumSize(new java.awt.Dimension(500, 25)); statusBar.setPreferredSize(new java.awt.Dimension(500, 25)); statusBar.setSize(new java.awt.Dimension(500, 25)); org.jdesktop.layout.GroupLayout displayPanelLayout = new org.jdesktop.layout.GroupLayout(displayPanel); displayPanel.setLayout(displayPanelLayout); displayPanelLayout .setHorizontalGroup(displayPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(captionTable, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 683, Short.MAX_VALUE) .add(statusBar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 683, Short.MAX_VALUE)); displayPanelLayout .setVerticalGroup(displayPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(displayPanelLayout.createSequentialGroup() .add(captionTable, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(statusBar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 36, Short.MAX_VALUE) .addContainerGap())); captionTable.getColumnModel().getSelectionModel() .setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); captionTable.getColumnModel().getColumn(0).setResizable(false); captionTable.getColumnModel().getColumn(1).setResizable(false); captionTable.getColumnModel().getColumn(2).setResizable(false); captionTable.getColumnModel().getColumn(3).setResizable(false); captionTable.getColumnModel().getColumn(4).setResizable(false); captionTable.getColumnModel().getColumn(5).setResizable(false); captionTable.getColumnModel().getColumn(6).setResizable(false); captionTable.getColumnModel().getColumn(7).setResizable(false); captionTable.getColumnModel().getColumn(8).setResizable(false); captionTable.getColumnModel().getColumn(9).setResizable(false); captionTable.getColumnModel().getColumn(10).setResizable(false); controlButtonPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("STHeiti", 0, 13), new java.awt.Color(255, 255, 255))); // NOI18N controlButtonPanel.setMaximumSize(new java.awt.Dimension(695, 63)); controlButtonPanel.setMinimumSize(new java.awt.Dimension(695, 63)); controlButtonPanel.setPreferredSize(new java.awt.Dimension(695, 63)); controlButtonPanel.setSize(new java.awt.Dimension(695, 63)); callButton.setFont(new java.awt.Font("STHeiti", 0, 8)); callButton.setForeground(new java.awt.Color(51, 204, 0)); callButton.setText(""); callButton.setToolTipText("Call Button"); callButton.setEnabled(false); callButton.setFocusPainted(false); callButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { callButtonActionPerformed(evt); } }); serviceLoopProgressBar.setFont(new java.awt.Font("STHeiti", 0, 8)); serviceLoopProgressBar.setToolTipText("Service Progress"); serviceLoopProgressBar.setBorderPainted(false); serviceLoopProgressBar.setEnabled(false); serviceLoopProgressBar.setFocusTraversalKeysEnabled(false); serviceLoopProgressBar.setFocusable(false); serviceLoopProgressBar.setName("progressBar"); // NOI18N serviceLoopProgressBar.setOpaque(true); serviceLoopProgressBar.setStringPainted(true); autoSpeedToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); autoSpeedToggleButton.setSelected(true); autoSpeedToggleButton.setText(""); autoSpeedToggleButton.setToolTipText("Automatic Speed"); autoSpeedToggleButton.setEnabled(false); autoSpeedToggleButton.setFocusPainted(false); autoSpeedToggleButton.setFocusable(false); autoSpeedToggleButton.setMaximumSize(new java.awt.Dimension(55, 29)); autoSpeedToggleButton.setMinimumSize(new java.awt.Dimension(55, 29)); autoSpeedToggleButton.setPreferredSize(new java.awt.Dimension(55, 29)); autoSpeedToggleButton.setRequestFocusEnabled(false); autoSpeedToggleButton.setSize(new java.awt.Dimension(55, 29)); autoSpeedToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { autoSpeedToggleButtonActionPerformed(evt); } }); powerToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); powerToggleButton.setText(""); powerToggleButton.setToolTipText("Power Button"); powerToggleButton.setEnabled(false); powerToggleButton.setMaximumSize(new java.awt.Dimension(50, 29)); powerToggleButton.setMinimumSize(new java.awt.Dimension(50, 29)); powerToggleButton.setPreferredSize(new java.awt.Dimension(50, 29)); powerToggleButton.setSize(new java.awt.Dimension(55, 29)); powerToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { powerToggleButtonActionPerformed(evt); } }); runCampaignToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); runCampaignToggleButton.setText(""); runCampaignToggleButton.setToolTipText("Run / Pause Campaign"); runCampaignToggleButton.setEnabled(false); runCampaignToggleButton.setFocusPainted(false); runCampaignToggleButton.setFocusable(false); runCampaignToggleButton.setMaximumSize(new java.awt.Dimension(55, 29)); runCampaignToggleButton.setMinimumSize(new java.awt.Dimension(55, 29)); runCampaignToggleButton.setPreferredSize(new java.awt.Dimension(55, 29)); runCampaignToggleButton.setRequestFocusEnabled(false); runCampaignToggleButton.setSize(new java.awt.Dimension(55, 29)); runCampaignToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { runCampaignToggleButtonActionPerformed(evt); } }); endButton.setFont(new java.awt.Font("STHeiti", 0, 8)); endButton.setForeground(new java.awt.Color(255, 0, 0)); endButton.setText(""); endButton.setToolTipText("End Button"); endButton.setEnabled(false); endButton.setFocusPainted(false); endButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { endButtonActionPerformed(evt); } }); phoneButton.setFont(new java.awt.Font("STHeiti", 0, 8)); phoneButton.setForeground(new java.awt.Color(51, 51, 255)); phoneButton.setText(""); phoneButton.setToolTipText("SoftPhone"); phoneButton.setEnabled(false); phoneButton.setFocusPainted(false); phoneButton.setMaximumSize(new java.awt.Dimension(100, 29)); phoneButton.setMinimumSize(new java.awt.Dimension(100, 29)); phoneButton.setPreferredSize(new java.awt.Dimension(100, 29)); phoneButton.setSize(new java.awt.Dimension(35, 30)); phoneButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { phoneButtonActionPerformed(evt); } }); stopCampaignButton.setFont(new java.awt.Font("STHeiti", 0, 5)); stopCampaignButton.setText(""); stopCampaignButton.setToolTipText("Stop Campaign"); stopCampaignButton.setEnabled(false); stopCampaignButton.setFocusPainted(false); stopCampaignButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { stopCampaignButtonActionPerformed(evt); } }); muteAudioToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); muteAudioToggleButton.setText(""); muteAudioToggleButton.setToolTipText("Mute Audio"); muteAudioToggleButton.setAlignmentY(0.0F); muteAudioToggleButton.setEnabled(false); muteAudioToggleButton.setFocusable(false); muteAudioToggleButton.setMaximumSize(new java.awt.Dimension(100, 30)); muteAudioToggleButton.setMinimumSize(new java.awt.Dimension(100, 30)); muteAudioToggleButton.setPreferredSize(new java.awt.Dimension(100, 30)); muteAudioToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { muteAudioToggleButtonActionPerformed(evt); } }); campaignProgressBar.setFont(new java.awt.Font("STHeiti", 0, 8)); campaignProgressBar.setMaximum(1000); campaignProgressBar.setToolTipText("Campaign Progress"); campaignProgressBar.setBorderPainted(false); campaignProgressBar.setEnabled(false); campaignProgressBar.setFocusTraversalKeysEnabled(false); campaignProgressBar.setFocusable(false); campaignProgressBar.setName("campaignProgressBar"); // NOI18N campaignProgressBar.setOpaque(true); campaignProgressBar.setStringPainted(true); humanResponseSimulatorToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); humanResponseSimulatorToggleButton.setText(""); humanResponseSimulatorToggleButton.setToolTipText("Simulate Human Behavior (Inbound)"); humanResponseSimulatorToggleButton.setAlignmentY(0.0F); humanResponseSimulatorToggleButton.setEnabled(false); humanResponseSimulatorToggleButton.setFocusable(false); humanResponseSimulatorToggleButton.setMaximumSize(new java.awt.Dimension(100, 30)); humanResponseSimulatorToggleButton.setMinimumSize(new java.awt.Dimension(100, 30)); humanResponseSimulatorToggleButton.setPreferredSize(new java.awt.Dimension(100, 30)); humanResponseSimulatorToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { humanResponseSimulatorToggleButtonActionPerformed(evt); } }); registerToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); registerToggleButton.setText(""); registerToggleButton.setToolTipText("Register to PBX (Switchboard)"); registerToggleButton.setAlignmentY(0.0F); registerToggleButton.setEnabled(false); registerToggleButton.setFocusable(false); registerToggleButton.setMaximumSize(new java.awt.Dimension(100, 30)); registerToggleButton.setMinimumSize(new java.awt.Dimension(100, 30)); registerToggleButton.setPreferredSize(new java.awt.Dimension(100, 30)); registerToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { registerToggleButtonActionPerformed(evt); } }); campaignComboBox.setFont(new java.awt.Font("STHeiti", 0, 8)); campaignComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "" })); campaignComboBox.setToolTipText("Choose Campaign"); campaignComboBox.setEnabled(false); campaignComboBox.setFocusable(false); campaignComboBox.setMinimumSize(new java.awt.Dimension(70, 35)); campaignComboBox.setPreferredSize(new java.awt.Dimension(70, 35)); campaignComboBox.setSize(new java.awt.Dimension(70, 35)); campaignComboBox.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { campaignComboBoxActionPerformed(evt); } }); debugToggleButton.setFont(new java.awt.Font("STHeiti", 0, 8)); debugToggleButton.setText(""); debugToggleButton.setToolTipText("Debugging"); debugToggleButton.setAlignmentY(0.0F); debugToggleButton.setEnabled(false); debugToggleButton.setFocusable(false); debugToggleButton.setMaximumSize(new java.awt.Dimension(100, 30)); debugToggleButton.setMinimumSize(new java.awt.Dimension(100, 30)); debugToggleButton.setPreferredSize(new java.awt.Dimension(100, 30)); debugToggleButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { debugToggleButtonActionPerformed(evt); } }); resizeWindowButton.setFont(new java.awt.Font("STHeiti", 0, 8)); resizeWindowButton.setText(""); resizeWindowButton.setToolTipText("Hide Controls"); resizeWindowButton.setFocusPainted(false); resizeWindowButton.setMaximumSize(new java.awt.Dimension(100, 29)); resizeWindowButton.setMinimumSize(new java.awt.Dimension(100, 29)); resizeWindowButton.setPreferredSize(new java.awt.Dimension(100, 29)); resizeWindowButton.setSize(new java.awt.Dimension(35, 30)); resizeWindowButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { resizeWindowButtonActionPerformed(evt); } }); org.jdesktop.layout.GroupLayout controlButtonPanelLayout = new org.jdesktop.layout.GroupLayout( controlButtonPanel); controlButtonPanel.setLayout(controlButtonPanelLayout); controlButtonPanelLayout.setHorizontalGroup(controlButtonPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(controlButtonPanelLayout.createSequentialGroup().addContainerGap() .add(controlButtonPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(controlButtonPanelLayout.createSequentialGroup() .add(registerToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 38, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(humanResponseSimulatorToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 30, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(muteAudioToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 32, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(debugToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 32, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(serviceLoopProgressBar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .add(9, 9, 9) .add(controlButtonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(controlButtonPanelLayout.createSequentialGroup() .add(phoneButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(powerToggleButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 99, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(resizeWindowButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 46, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(campaignComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(runCampaignToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 38, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(stopCampaignButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(callButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 34, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(endButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 32, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(autoSpeedToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 36, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(7, 7, 7)) .add(controlButtonPanelLayout .createSequentialGroup().add(campaignProgressBar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 492, Short.MAX_VALUE) .addContainerGap())))); controlButtonPanelLayout .linkSize( new java.awt.Component[] { debugToggleButton, humanResponseSimulatorToggleButton, muteAudioToggleButton, registerToggleButton }, org.jdesktop.layout.GroupLayout.HORIZONTAL); controlButtonPanelLayout .linkSize( new java.awt.Component[] { autoSpeedToggleButton, callButton, endButton, phoneButton, runCampaignToggleButton, stopCampaignButton }, org.jdesktop.layout.GroupLayout.HORIZONTAL); controlButtonPanelLayout.setVerticalGroup(controlButtonPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(controlButtonPanelLayout.createSequentialGroup().addContainerGap().add(controlButtonPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(controlButtonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(debugToggleButton, 0, 0, Short.MAX_VALUE) .add(phoneButton, 0, 0, Short.MAX_VALUE) .add(powerToggleButton, 0, 0, Short.MAX_VALUE)) .add(registerToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 21, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(humanResponseSimulatorToggleButton, 0, 0, Short.MAX_VALUE) .add(muteAudioToggleButton, 0, 0, Short.MAX_VALUE) .add(autoSpeedToggleButton, 0, 0, Short.MAX_VALUE) .add(runCampaignToggleButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 21, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(stopCampaignButton, 0, 0, Short.MAX_VALUE).add(endButton, 0, 0, Short.MAX_VALUE) .add(callButton, 0, 0, Short.MAX_VALUE).add(campaignComboBox, 0, 0, Short.MAX_VALUE) .add(resizeWindowButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(controlButtonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(serviceLoopProgressBar, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(campaignProgressBar, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(9, 9, 9))); controlButtonPanelLayout .linkSize( new java.awt.Component[] { autoSpeedToggleButton, callButton, campaignComboBox, debugToggleButton, endButton, humanResponseSimulatorToggleButton, muteAudioToggleButton, phoneButton, powerToggleButton, registerToggleButton, resizeWindowButton, runCampaignToggleButton, stopCampaignButton }, org.jdesktop.layout.GroupLayout.VERTICAL); controlSliderPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("STHeiti", 0, 10), new java.awt.Color(51, 51, 51))); // NOI18N controlSliderPanel.setToolTipText(""); controlSliderPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); controlSliderPanel.setMaximumSize(new java.awt.Dimension(695, 220)); controlSliderPanel.setMinimumSize(new java.awt.Dimension(695, 0)); controlSliderPanel.setPreferredSize(new java.awt.Dimension(695, 220)); controlSliderPanel.setSize(new java.awt.Dimension(695, 220)); buttonPanel.setToolTipText(""); buttonPanel.setFont(new java.awt.Font("STHeiti", 0, 10)); buttonPanel.setMaximumSize(new java.awt.Dimension(670, 32767)); buttonPanel.setMinimumSize(new java.awt.Dimension(670, 0)); buttonPanel.setPreferredSize(new java.awt.Dimension(670, 252)); outboundSliderPanel.setToolTipText(""); outboundSliderPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); outboundSliderPanel.setOpaque(false); outboundSliderPanel.setPreferredSize(new java.awt.Dimension(304, 190)); vmUsageThresholdLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); vmUsageThresholdLabel.setText("CPU %"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); vmUsagePauseValue.setFont(new java.awt.Font("STHeiti", 0, 8)); vmUsagePauseValue.setText("0"); vmUsagePauseValue.setHorizontalAlignment(SwingConstants.CENTER); vmUsageThresholdSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); vmUsageThresholdSlider.setMajorTickSpacing(10); vmUsageThresholdSlider.setMinorTickSpacing(1); vmUsageThresholdSlider.setOrientation(javax.swing.JSlider.VERTICAL); vmUsageThresholdSlider.setPaintLabels(true); vmUsageThresholdSlider.setPaintTicks(true); vmUsageThresholdSlider.setSnapToTicks(true); vmUsageThresholdSlider.setToolTipText("VM Usage Threshold (Pause Campaign)"); vmUsageThresholdSlider.setValue(100); vmUsageThresholdSlider.setFocusable(false); vmUsageThresholdSlider.setMaximumSize(new java.awt.Dimension(40, 150)); vmUsageThresholdSlider.setMinimumSize(new java.awt.Dimension(40, 150)); vmUsageThresholdSlider.setPreferredSize(new java.awt.Dimension(40, 150)); vmUsageThresholdSlider.setSize(new java.awt.Dimension(40, 150)); vmUsageThresholdSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { vmUsageThresholdSliderStateChanged(evt); } }); memFreeThresholdLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); memFreeThresholdLabel.setText("MF MB"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); memFreeThresholdValue.setFont(new java.awt.Font("STHeiti", 0, 8)); memFreeThresholdValue.setText("0"); memFreeThresholdValue.setHorizontalAlignment(SwingConstants.CENTER); memFreeThresholdSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); memFreeThresholdSlider.setMajorTickSpacing(10); memFreeThresholdSlider.setMinorTickSpacing(1); memFreeThresholdSlider.setOrientation(javax.swing.JSlider.VERTICAL); memFreeThresholdSlider.setPaintLabels(true); memFreeThresholdSlider.setPaintTicks(true); memFreeThresholdSlider.setSnapToTicks(true); memFreeThresholdSlider.setToolTipText("Memory Free Threshold (Pause Campaign)"); memFreeThresholdSlider.setValue(5); memFreeThresholdSlider.setFocusable(false); memFreeThresholdSlider.setMaximumSize(new java.awt.Dimension(40, 150)); memFreeThresholdSlider.setMinimumSize(new java.awt.Dimension(40, 150)); memFreeThresholdSlider.setPreferredSize(new java.awt.Dimension(40, 150)); memFreeThresholdSlider.setSize(new java.awt.Dimension(40, 150)); memFreeThresholdSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { memFreeThresholdSliderStateChanged(evt); } }); heapMemFreeThresholdLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); heapMemFreeThresholdLabel.setText("HMF MB"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); heapMemFreeThresholdValue.setFont(new java.awt.Font("STHeiti", 0, 8)); heapMemFreeThresholdValue.setText("0"); heapMemFreeThresholdValue.setHorizontalAlignment(SwingConstants.CENTER); heapMemFreeThresholdSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); heapMemFreeThresholdSlider.setMajorTickSpacing(10); heapMemFreeThresholdSlider.setMinorTickSpacing(1); heapMemFreeThresholdSlider.setOrientation(javax.swing.JSlider.VERTICAL); heapMemFreeThresholdSlider.setPaintLabels(true); heapMemFreeThresholdSlider.setPaintTicks(true); heapMemFreeThresholdSlider.setSnapToTicks(true); heapMemFreeThresholdSlider.setToolTipText("HeapMemory Free Threshold (Pause Campaign)"); heapMemFreeThresholdSlider.setValue(0); heapMemFreeThresholdSlider.setFocusable(false); heapMemFreeThresholdSlider.setMaximumSize(new java.awt.Dimension(40, 150)); heapMemFreeThresholdSlider.setMinimumSize(new java.awt.Dimension(40, 150)); heapMemFreeThresholdSlider.setPreferredSize(new java.awt.Dimension(40, 150)); heapMemFreeThresholdSlider.setSize(new java.awt.Dimension(40, 150)); heapMemFreeThresholdSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { heapMemFreeThresholdSliderStateChanged(evt); } }); connectingTallyLimitLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); connectingTallyLimitLabel.setText("CON"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); connectingTallyLimitValue.setFont(new java.awt.Font("STHeiti", 0, 8)); connectingTallyLimitValue.setText("0"); heapMemFreeThresholdValue.setHorizontalAlignment(SwingConstants.CENTER); connectingTallyLimitSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); connectingTallyLimitSlider.setMajorTickSpacing(10); connectingTallyLimitSlider.setMinorTickSpacing(1); connectingTallyLimitSlider.setOrientation(javax.swing.JSlider.VERTICAL); connectingTallyLimitSlider.setPaintLabels(true); connectingTallyLimitSlider.setPaintTicks(true); connectingTallyLimitSlider.setSnapToTicks(true); connectingTallyLimitSlider.setToolTipText("Concurrent Connecting States Maximum (Pause Campaign)"); connectingTallyLimitSlider.setValue(10); connectingTallyLimitSlider.setFocusable(false); connectingTallyLimitSlider.setMaximumSize(new java.awt.Dimension(40, 150)); connectingTallyLimitSlider.setMinimumSize(new java.awt.Dimension(40, 150)); connectingTallyLimitSlider.setName(""); // NOI18N connectingTallyLimitSlider.setPreferredSize(new java.awt.Dimension(40, 150)); connectingTallyLimitSlider.setSize(new java.awt.Dimension(40, 150)); connectingTallyLimitSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { connectingTallyLimitSliderStateChanged(evt); } }); callingTallyLimitLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); callingTallyLimitLabel.setText("CALL"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); callingTallyLimitValue.setFont(new java.awt.Font("STHeiti", 0, 8)); callingTallyLimitValue.setText("0"); callingTallyLimitValue.setHorizontalAlignment(SwingConstants.CENTER); callingTallyLimitSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); callingTallyLimitSlider.setMajorTickSpacing(10); callingTallyLimitSlider.setMaximum(200); callingTallyLimitSlider.setMinorTickSpacing(5); callingTallyLimitSlider.setOrientation(javax.swing.JSlider.VERTICAL); callingTallyLimitSlider.setPaintLabels(true); callingTallyLimitSlider.setPaintTicks(true); callingTallyLimitSlider.setSnapToTicks(true); callingTallyLimitSlider.setToolTipText("Concurrent Calls Maximum (Pause Campaign)"); callingTallyLimitSlider.setValue(100); callingTallyLimitSlider.setExtent(20); callingTallyLimitSlider.setFocusable(false); callingTallyLimitSlider.setMaximumSize(new java.awt.Dimension(40, 150)); callingTallyLimitSlider.setMinimumSize(new java.awt.Dimension(40, 150)); callingTallyLimitSlider.setPreferredSize(new java.awt.Dimension(40, 150)); callingTallyLimitSlider.setSize(new java.awt.Dimension(40, 150)); callingTallyLimitSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { callingTallyLimitSliderStateChanged(evt); } }); establishedTallyLimitLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); establishedTallyLimitLabel.setText("EST"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); establishedTallyLimitValue.setFont(new java.awt.Font("STHeiti", 0, 8)); establishedTallyLimitValue.setText("0"); establishedTallyLimitValue.setHorizontalAlignment(SwingConstants.CENTER); establishedTallyLimitSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); establishedTallyLimitSlider.setMajorTickSpacing(10); establishedTallyLimitSlider.setMaximum(200); establishedTallyLimitSlider.setMinorTickSpacing(5); establishedTallyLimitSlider.setOrientation(javax.swing.JSlider.VERTICAL); establishedTallyLimitSlider.setPaintLabels(true); establishedTallyLimitSlider.setPaintTicks(true); establishedTallyLimitSlider.setSnapToTicks(true); establishedTallyLimitSlider.setToolTipText("Concurrent Established Calls Maximum (Pause Campaign)"); establishedTallyLimitSlider.setFocusable(false); establishedTallyLimitSlider.setMaximumSize(new java.awt.Dimension(40, 150)); establishedTallyLimitSlider.setMinimumSize(new java.awt.Dimension(40, 150)); establishedTallyLimitSlider.setPreferredSize(new java.awt.Dimension(40, 150)); establishedTallyLimitSlider.setSize(new java.awt.Dimension(40, 150)); establishedTallyLimitSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { establishedTallyLimitSliderStateChanged(evt); } }); callSpeedLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); callSpeedLabel.setText("Speed"); callSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); callSpeedValue.setFont(new java.awt.Font("STHeiti", 0, 8)); callSpeedValue.setText("0"); callSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); callSpeedSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); callSpeedSlider.setMajorTickSpacing(1000); callSpeedSlider.setMaximum(10000); callSpeedSlider.setMinimum(350); callSpeedSlider.setMinorTickSpacing(1); callSpeedSlider.setOrientation(javax.swing.JSlider.VERTICAL); callSpeedSlider.setPaintLabels(true); callSpeedSlider.setPaintTicks(true); callSpeedSlider.setSnapToTicks(true); callSpeedSlider.setToolTipText("Automated Outbound Call Rate (mSec)"); callSpeedSlider.setFocusable(false); callSpeedSlider.setInverted(true); callSpeedSlider.setMaximumSize(new java.awt.Dimension(40, 150)); callSpeedSlider.setMinimumSize(new java.awt.Dimension(40, 150)); callSpeedSlider.setPreferredSize(new java.awt.Dimension(40, 150)); callSpeedSlider.setSize(new java.awt.Dimension(40, 150)); callSpeedSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { callSpeedSliderStateChanged(evt); } }); org.jdesktop.layout.GroupLayout outboundSliderPanelLayout = new org.jdesktop.layout.GroupLayout( outboundSliderPanel); outboundSliderPanel.setLayout(outboundSliderPanelLayout); outboundSliderPanelLayout.setHorizontalGroup(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(outboundSliderPanelLayout.createSequentialGroup().addContainerGap() .add(outboundSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(outboundSliderPanelLayout.createSequentialGroup() .add(vmUsageThresholdSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(memFreeThresholdSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(heapMemFreeThresholdSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(connectingTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(callingTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(establishedTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(callSpeedSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap()) .add(outboundSliderPanelLayout.createSequentialGroup() .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(outboundSliderPanelLayout.createSequentialGroup() .add(vmUsageThresholdLabel).add(14, 14, 14)) .add(vmUsagePauseValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 30, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(10, 10, 10) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(outboundSliderPanelLayout.createSequentialGroup() .add(memFreeThresholdValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(16, 16, 16)) .add(outboundSliderPanelLayout.createSequentialGroup() .add(memFreeThresholdLabel).add(11, 11, 11))) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(heapMemFreeThresholdLabel).add(heapMemFreeThresholdValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(outboundSliderPanelLayout.createSequentialGroup() .add(connectingTallyLimitLabel).add(7, 7, 7)) .add(connectingTallyLimitValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(18, 18, 18) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, callingTallyLimitLabel) .add(org.jdesktop.layout.GroupLayout.TRAILING, callingTallyLimitValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(18, 18, 18) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(establishedTallyLimitLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 29, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(establishedTallyLimitValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 19, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(callSpeedValue, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(callSpeedLabel)) .add(28, 28, 28))))); outboundSliderPanelLayout.linkSize( new java.awt.Component[] { connectingTallyLimitSlider, heapMemFreeThresholdSlider }, org.jdesktop.layout.GroupLayout.HORIZONTAL); outboundSliderPanelLayout.setVerticalGroup(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(outboundSliderPanelLayout.createSequentialGroup().addContainerGap() .add(outboundSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(vmUsageThresholdLabel) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(outboundSliderPanelLayout .createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(outboundSliderPanelLayout.createSequentialGroup() .add(memFreeThresholdLabel) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED) .add(memFreeThresholdValue)) .add(outboundSliderPanelLayout.createSequentialGroup() .add(15, 15, 15).add(heapMemFreeThresholdValue)) .add(heapMemFreeThresholdLabel) .add(outboundSliderPanelLayout.createSequentialGroup() .add(connectingTallyLimitLabel) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED) .add(connectingTallyLimitValue))) .add(vmUsagePauseValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(outboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(outboundSliderPanelLayout.createSequentialGroup() .add(establishedTallyLimitLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(establishedTallyLimitValue)) .add(outboundSliderPanelLayout.createSequentialGroup() .add(callingTallyLimitLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(callingTallyLimitValue))) .add(outboundSliderPanelLayout.createSequentialGroup().add(callSpeedLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(callSpeedValue))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(outboundSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(establishedTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(callingTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(connectingTallyLimitSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(heapMemFreeThresholdSlider, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE) .add(memFreeThresholdSlider, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE) .add(vmUsageThresholdSlider, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE) .add(callSpeedSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(186, 186, 186))); performanceMeterPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Calls per Hour", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.TOP, new java.awt.Font("STHeiti", 0, 10), new java.awt.Color(102, 102, 102))); // NOI18N performanceMeterPanel.setToolTipText("Call Speed & VM Workload"); performanceMeterPanel.setFocusable(false); performanceMeterPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); performanceMeterPanel.setMaximumSize(new java.awt.Dimension(190, 190)); performanceMeterPanel.setMinimumSize(new java.awt.Dimension(190, 190)); performanceMeterPanel.setPreferredSize(new java.awt.Dimension(190, 190)); performanceMeterPanel.setSize(new java.awt.Dimension(190, 190)); org.jdesktop.layout.GroupLayout performanceMeterPanelLayout = new org.jdesktop.layout.GroupLayout( performanceMeterPanel); performanceMeterPanel.setLayout(performanceMeterPanelLayout); performanceMeterPanelLayout.setHorizontalGroup(performanceMeterPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 176, Short.MAX_VALUE)); performanceMeterPanelLayout.setVerticalGroup(performanceMeterPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(0, 167, Short.MAX_VALUE)); inboundSliderPanel.setToolTipText(""); inboundSliderPanel.setFont(new java.awt.Font("STHeiti", 0, 13)); inboundSliderPanel.setMaximumSize(new java.awt.Dimension(190, 190)); inboundSliderPanel.setMinimumSize(new java.awt.Dimension(190, 190)); inboundSliderPanel.setOpaque(false); inboundSliderPanel.setPreferredSize(new java.awt.Dimension(190, 190)); inboundSliderPanel.setSize(new java.awt.Dimension(190, 190)); registerSpeedLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); registerSpeedLabel.setText("Speed"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); inboundRingingResponseDelayLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); inboundRingingResponseDelayLabel.setText("RngDlay"); inboundRingingResponseDelayLabel.setToolTipText("Auto Ringing Response Delay Limit in mSec"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); inboundRingingResponseBusyRatioLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); inboundRingingResponseBusyRatioLabel.setText("Busy %"); inboundRingingResponseBusyRatioLabel .setToolTipText("The Ratio Between Answering or Denying inbound Phonecalls (bottom is deny)"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); inboundEndDelayLabel.setFont(new java.awt.Font("STHeiti", 0, 8)); inboundEndDelayLabel.setText("EndDlay"); inboundEndDelayLabel.setToolTipText("Auto Ringing Response Delay Limit in mSec"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); inboundEndDelayValue.setFont(new java.awt.Font("STHeiti", 0, 8)); inboundEndDelayValue.setText("0"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); registerSpeedValue.setFont(new java.awt.Font("STHeiti", 0, 8)); registerSpeedValue.setText("0"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); inboundRingingResponseDelayValue.setFont(new java.awt.Font("STHeiti", 0, 8)); inboundRingingResponseDelayValue.setText("0"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); inboundRingingResponseBusyRatioValue.setFont(new java.awt.Font("STHeiti", 0, 8)); inboundRingingResponseBusyRatioValue.setText("0"); registerSpeedValue.setHorizontalAlignment(SwingConstants.CENTER); registerSpeedSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); registerSpeedSlider.setMajorTickSpacing(10); registerSpeedSlider.setMinorTickSpacing(1); registerSpeedSlider.setOrientation(javax.swing.JSlider.VERTICAL); registerSpeedSlider.setPaintLabels(true); registerSpeedSlider.setPaintTicks(true); registerSpeedSlider.setSnapToTicks(true); registerSpeedSlider.setToolTipText("Register Speed"); registerSpeedSlider.setValue(20); registerSpeedSlider.setFocusable(false); registerSpeedSlider.setInverted(true); registerSpeedSlider.setMaximumSize(new java.awt.Dimension(40, 150)); registerSpeedSlider.setMinimumSize(new java.awt.Dimension(40, 150)); registerSpeedSlider.setName(""); // NOI18N registerSpeedSlider.setPreferredSize(new java.awt.Dimension(40, 150)); registerSpeedSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { registerSpeedSliderStateChanged(evt); } }); inboundRingingResponseDelaySlider.setFont(new java.awt.Font("STHeiti", 0, 5)); inboundRingingResponseDelaySlider.setMajorTickSpacing(5000); inboundRingingResponseDelaySlider.setMaximum(60000); inboundRingingResponseDelaySlider.setMinorTickSpacing(1000); inboundRingingResponseDelaySlider.setOrientation(javax.swing.JSlider.VERTICAL); inboundRingingResponseDelaySlider.setPaintLabels(true); inboundRingingResponseDelaySlider.setPaintTicks(true); inboundRingingResponseDelaySlider.setSnapToTicks(true); inboundRingingResponseDelaySlider.setToolTipText("Random Ring Delay"); inboundRingingResponseDelaySlider.setValue(30000); inboundRingingResponseDelaySlider.setFocusable(false); inboundRingingResponseDelaySlider.setMaximumSize(new java.awt.Dimension(40, 150)); inboundRingingResponseDelaySlider.setMinimumSize(new java.awt.Dimension(40, 150)); inboundRingingResponseDelaySlider.setName(""); // NOI18N inboundRingingResponseDelaySlider.setPreferredSize(new java.awt.Dimension(40, 150)); inboundRingingResponseDelaySlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { inboundRingingResponseDelaySliderStateChanged(evt); } }); inboundRingingResponseBusyRatioSlider.setFont(new java.awt.Font("STHeiti", 0, 5)); inboundRingingResponseBusyRatioSlider.setMajorTickSpacing(10); inboundRingingResponseBusyRatioSlider.setMinorTickSpacing(1); inboundRingingResponseBusyRatioSlider.setOrientation(javax.swing.JSlider.VERTICAL); inboundRingingResponseBusyRatioSlider.setPaintLabels(true); inboundRingingResponseBusyRatioSlider.setPaintTicks(true); inboundRingingResponseBusyRatioSlider.setSnapToTicks(true); inboundRingingResponseBusyRatioSlider.setToolTipText("Busy Percentage"); inboundRingingResponseBusyRatioSlider.setValue(10); inboundRingingResponseBusyRatioSlider.setFocusable(false); inboundRingingResponseBusyRatioSlider.setMaximumSize(new java.awt.Dimension(40, 150)); inboundRingingResponseBusyRatioSlider.setMinimumSize(new java.awt.Dimension(40, 150)); inboundRingingResponseBusyRatioSlider.setName(""); // NOI18N inboundRingingResponseBusyRatioSlider.setPreferredSize(new java.awt.Dimension(40, 150)); inboundRingingResponseBusyRatioSlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { inboundRingingResponseBusyRatioSliderStateChanged(evt); } }); inboundEndDelaySlider.setFont(new java.awt.Font("STHeiti", 0, 5)); inboundEndDelaySlider.setMajorTickSpacing(6000); inboundEndDelaySlider.setMaximum(60000); inboundEndDelaySlider.setMinimum(1000); inboundEndDelaySlider.setMinorTickSpacing(1000); inboundEndDelaySlider.setOrientation(javax.swing.JSlider.VERTICAL); inboundEndDelaySlider.setPaintLabels(true); inboundEndDelaySlider.setPaintTicks(true); inboundEndDelaySlider.setSnapToTicks(true); inboundEndDelaySlider.setToolTipText("Random End Call Delay"); inboundEndDelaySlider.setValue(30000); inboundEndDelaySlider.setFocusable(false); inboundEndDelaySlider.setMaximumSize(new java.awt.Dimension(40, 150)); inboundEndDelaySlider.setMinimumSize(new java.awt.Dimension(40, 150)); inboundEndDelaySlider.setName(""); // NOI18N inboundEndDelaySlider.setPreferredSize(new java.awt.Dimension(40, 150)); inboundEndDelaySlider.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { inboundEndDelaySliderStateChanged(evt); } }); org.jdesktop.layout.GroupLayout inboundSliderPanelLayout = new org.jdesktop.layout.GroupLayout( inboundSliderPanel); inboundSliderPanel.setLayout(inboundSliderPanelLayout); inboundSliderPanelLayout.setHorizontalGroup(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(inboundSliderPanelLayout.createSequentialGroup().addContainerGap().add(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(inboundSliderPanelLayout.createSequentialGroup() .add(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(registerSpeedLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(registerSpeedValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(inboundSliderPanelLayout.createSequentialGroup().add(2, 2, 2).add( inboundRingingResponseDelayLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(inboundRingingResponseDelayValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 29, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(inboundRingingResponseBusyRatioLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(inboundSliderPanelLayout.createSequentialGroup().add(2, 2, 2).add( inboundRingingResponseBusyRatioValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 29, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(inboundEndDelayValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 29, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(inboundEndDelayLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(inboundSliderPanelLayout.createSequentialGroup() .add(registerSpeedSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 34, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(inboundRingingResponseDelaySlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(inboundRingingResponseBusyRatioSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(inboundEndDelaySlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); inboundSliderPanelLayout.setVerticalGroup(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(inboundSliderPanelLayout.createSequentialGroup() .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(inboundSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(inboundSliderPanelLayout.createSequentialGroup() .add(inboundRingingResponseDelayLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(inboundRingingResponseDelayValue)) .add(inboundSliderPanelLayout.createSequentialGroup() .add(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(inboundSliderPanelLayout.createSequentialGroup() .add(registerSpeedLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(registerSpeedValue)) .add(inboundSliderPanelLayout.createSequentialGroup() .add(inboundRingingResponseBusyRatioLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(inboundRingingResponseBusyRatioValue)) .add(inboundSliderPanelLayout.createSequentialGroup() .add(inboundEndDelayLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(inboundEndDelayValue))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(inboundSliderPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(org.jdesktop.layout.GroupLayout.LEADING, inboundEndDelaySlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.LEADING, inboundSliderPanelLayout .createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE) .add(registerSpeedSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(inboundRingingResponseDelaySlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(inboundRingingResponseBusyRatioSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))))); org.jdesktop.layout.GroupLayout buttonPanelLayout = new org.jdesktop.layout.GroupLayout(buttonPanel); buttonPanel.setLayout(buttonPanelLayout); buttonPanelLayout .setHorizontalGroup(buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, buttonPanelLayout.createSequentialGroup().addContainerGap() .add(inboundSliderPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 164, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(12, 12, 12) .add(performanceMeterPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 188, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(outboundSliderPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 288, Short.MAX_VALUE) .addContainerGap())); buttonPanelLayout.setVerticalGroup(buttonPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(buttonPanelLayout.createSequentialGroup().addContainerGap().add(buttonPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(performanceMeterPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add(org.jdesktop.layout.GroupLayout.LEADING, inboundSliderPanel, 0, 186, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.LEADING, outboundSliderPanel, 0, 186, Short.MAX_VALUE))) .addContainerGap(12, Short.MAX_VALUE))); org.jdesktop.layout.GroupLayout controlSliderPanelLayout = new org.jdesktop.layout.GroupLayout( controlSliderPanel); controlSliderPanel.setLayout(controlSliderPanelLayout); controlSliderPanelLayout.setHorizontalGroup( controlSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(controlSliderPanelLayout.createSequentialGroup() .add(buttonPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(13, Short.MAX_VALUE))); controlSliderPanelLayout.setVerticalGroup( controlSliderPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(buttonPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 208, Short.MAX_VALUE)); org.jdesktop.layout.GroupLayout colorMaskPanelLayout = new org.jdesktop.layout.GroupLayout(colorMaskPanel); colorMaskPanel.setLayout(colorMaskPanelLayout); colorMaskPanelLayout.setHorizontalGroup(colorMaskPanelLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(colorMaskPanelLayout.createSequentialGroup().addContainerGap() .add(colorMaskPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(controlSliderPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(tabPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(displayPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(controlButtonPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap(9, Short.MAX_VALUE))); colorMaskPanelLayout .setVerticalGroup(colorMaskPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(colorMaskPanelLayout.createSequentialGroup() .add(tabPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(displayPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(controlButtonPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(controlSliderPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(32, Short.MAX_VALUE))); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add( colorMaskPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)); layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add( colorMaskPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)); pack(); }