private boolean _loadResourceBundle() { String f_strMethod = "_loadResourceBundle()"; /* MEMO: trim() not necessary */ try { String strValue = null; // TEXTS strValue = _s_rbeResources.getString("text_this"); setText(strValue); strValue = _s_rbeResources.getString("text_left"); this._mimLeft.setText(strValue); strValue = _s_rbeResources.getString("text_center"); this._mimCenter.setText(strValue); strValue = _s_rbeResources.getString("text_right"); this._mimRight.setText(strValue); } catch (java.util.MissingResourceException excMissingResource) { excMissingResource.printStackTrace(); MySystem.s_printOutError( this, f_strMethod, "excMissingResource caught," + _f_s_strBundleFileLong); return false; } return true; }
static { final String f_strWhere = "com.google.code.p.keytooliui.shared.swing.menu.METextAlignmentEditorText"; try { _s_rbeResources = java.util.ResourceBundle.getBundle( _f_s_strBundleFileShort, java.util.Locale.getDefault()); } catch (java.util.MissingResourceException excMissingResource) { excMissingResource.printStackTrace(); MySystem.s_printOutExit(f_strWhere, _f_s_strBundleFileLong + "excMissingResource caught"); } }
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; jLabel1 = new javax.swing.JLabel(); projectLocation = new javax.swing.JTextField(); sourceRootsPanel = new javax.swing.JPanel(); jLabel2 = new javax.swing.JLabel(); jScrollPane1 = new javax.swing.JScrollPane(); sourceRoots = new ResizableRowHeightTable(); addSourceRoot = new javax.swing.JButton(); removeSourceRoot = new javax.swing.JButton(); upSourceRoot = new javax.swing.JButton(); downSourceRoot = new javax.swing.JButton(); testRootsPanel = new javax.swing.JPanel(); jLabel3 = new javax.swing.JLabel(); jScrollPane2 = new javax.swing.JScrollPane(); testRoots = new ResizableRowHeightTable(); addTestRoot = new javax.swing.JButton(); removeTestRoot = new javax.swing.JButton(); upTestRoot = new javax.swing.JButton(); downTestRoot = new javax.swing.JButton(); jPanel1 = new javax.swing.JPanel(); jLabel4 = new javax.swing.JLabel(); sourceLevel = new javax.swing.JComboBox(); includeExcludeButton = new javax.swing.JButton(); jLabel5 = new javax.swing.JLabel(); encoding = new javax.swing.JComboBox(); jPanel2 = new javax.swing.JPanel(); setLayout(new java.awt.GridBagLayout()); jLabel1.setDisplayedMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_ProjectFolder") .charAt(0)); jLabel1.setLabelFor(projectLocation); java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle"); // NOI18N jLabel1.setText(bundle.getString("CTL_ProjectFolder")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 12); add(jLabel1, gridBagConstraints); projectLocation.setEditable(false); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.weightx = 1.0; add(projectLocation, gridBagConstraints); projectLocation .getAccessibleContext() .setAccessibleDescription( bundle.getString("AD_CustomizerSources_projectLocation")); // NOI18N sourceRootsPanel.setLayout(new java.awt.GridBagLayout()); jLabel2.setDisplayedMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_SourceRoots") .charAt(0)); jLabel2.setLabelFor(sourceRoots); jLabel2.setText(bundle.getString("CTL_SourceRoots")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 0, 6, 0); sourceRootsPanel.add(jLabel2, gridBagConstraints); jScrollPane1.setPreferredSize(new java.awt.Dimension(450, 150)); sourceRoots.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { {null, null}, {null, null}, {null, null}, {null, null} }, new String[] {"Package Folder", "Label"}) { Class[] types = new Class[] {java.lang.Object.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]; } }); jScrollPane1.setViewportView(sourceRoots); sourceRoots .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_CustomizerSources_sourceRoots")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 0.5; gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 12); sourceRootsPanel.add(jScrollPane1, gridBagConstraints); addSourceRoot.setMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_AddSourceRoot") .charAt(0)); addSourceRoot.setText(bundle.getString("CTL_AddSourceRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; sourceRootsPanel.add(addSourceRoot, gridBagConstraints); addSourceRoot .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_CustomizerSources_addSourceRoot")); // NOI18N removeSourceRoot.setMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_RemoveSourceRoot") .charAt(0)); removeSourceRoot.setText(bundle.getString("CTL_RemoveSourceRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(6, 0, 0, 0); sourceRootsPanel.add(removeSourceRoot, gridBagConstraints); removeSourceRoot .getAccessibleContext() .setAccessibleDescription( bundle.getString("AD_CustomizerSources_removeSourceRoot")); // NOI18N upSourceRoot.setMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_UpSourceRoot") .charAt(0)); upSourceRoot.setText(bundle.getString("CTL_UpSourceRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0); sourceRootsPanel.add(upSourceRoot, gridBagConstraints); upSourceRoot .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_CustomizerSources_upSourceRoot")); // NOI18N downSourceRoot.setMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_DownSourceRoot") .charAt(0)); downSourceRoot.setText(bundle.getString("CTL_DownSourceRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 4; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(6, 0, 0, 0); sourceRootsPanel.add(downSourceRoot, gridBagConstraints); downSourceRoot .getAccessibleContext() .setAccessibleDescription( bundle.getString("AD_CustomizerSources_downSourceRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 0.45; gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0); add(sourceRootsPanel, gridBagConstraints); testRootsPanel.setLayout(new java.awt.GridBagLayout()); jLabel3.setDisplayedMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_TestRoots") .charAt(0)); jLabel3.setLabelFor(testRoots); jLabel3.setText(bundle.getString("CTL_TestRoots")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(0, 0, 6, 0); testRootsPanel.add(jLabel3, gridBagConstraints); jScrollPane2.setPreferredSize(new java.awt.Dimension(450, 150)); testRoots.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { {null, null}, {null, null}, {null, null}, {null, null} }, new String[] {"Package Folder", "Label"}) { Class[] types = new Class[] {java.lang.Object.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]; } }); jScrollPane2.setViewportView(testRoots); testRoots .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_CustomizerSources_testRoots")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 0.5; testRootsPanel.add(jScrollPane2, gridBagConstraints); addTestRoot.setMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_AddTestRoot") .charAt(0)); addTestRoot.setText(bundle.getString("CTL_AddTestRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(0, 12, 6, 0); testRootsPanel.add(addTestRoot, gridBagConstraints); addTestRoot .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_CustomizerSources_addTestRoot")); // NOI18N removeTestRoot.setMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_RemoveTestRoot") .charAt(0)); removeTestRoot.setText(bundle.getString("CTL_RemoveTestRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0); testRootsPanel.add(removeTestRoot, gridBagConstraints); removeTestRoot .getAccessibleContext() .setAccessibleDescription( bundle.getString("AD_CustomizerSources_removeTestRoot")); // NOI18N upTestRoot.setMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_UpTestRoot") .charAt(0)); upTestRoot.setText(bundle.getString("CTL_UpTestRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(0, 12, 6, 0); testRootsPanel.add(upTestRoot, gridBagConstraints); upTestRoot .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_CustomizerSources_upTestRoot")); // NOI18N downTestRoot.setMnemonic( java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle") .getString("MNE_DownTestRoot") .charAt(0)); downTestRoot.setText(bundle.getString("CTL_DownTestRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 4; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0); testRootsPanel.add(downTestRoot, gridBagConstraints); downTestRoot .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_CustomizerSources_downTestRoot")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 0.45; gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0); add(testRootsPanel, gridBagConstraints); jPanel1.setLayout(new java.awt.GridBagLayout()); jLabel4.setLabelFor(sourceLevel); org.openide.awt.Mnemonics.setLocalizedText( jLabel4, bundle.getString("TXT_SourceLevel")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 12); jPanel1.add(jLabel4, gridBagConstraints); sourceLevel.setModel(new javax.swing.DefaultComboBoxModel(new String[] {"1.4", "1.5"})); sourceLevel.setMinimumSize(this.sourceLevel.getPreferredSize()); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.weightx = 1.0; jPanel1.add(sourceLevel, gridBagConstraints); sourceLevel .getAccessibleContext() .setAccessibleName(bundle.getString("AN_SourceLevel")); // NOI18N sourceLevel .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_SourceLevel")); // NOI18N org.openide.awt.Mnemonics.setLocalizedText( includeExcludeButton, org.openide.util.NbBundle.getMessage( CustomizerSources.class, "CustomizerSources.includeExcludeButton")); // NOI18N includeExcludeButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { includeExcludeButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; jPanel1.add(includeExcludeButton, gridBagConstraints); includeExcludeButton .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getMessage( CustomizerSources.class, "AD_CustomizerSources_Include")); // NOI18N jLabel5.setLabelFor(encoding); org.openide.awt.Mnemonics.setLocalizedText( jLabel5, org.openide.util.NbBundle.getMessage(CustomizerSources.class, "TXT_Encoding")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 12); jPanel1.add(jLabel5, gridBagConstraints); jLabel5 .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getMessage( CustomizerSources.class, "AD_CustomizerSources_Encoding")); // NOI18N encoding.setModel( new javax.swing.DefaultComboBoxModel( new String[] {"Item 1", "Item 2", "Item 3", "Item 4"})); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 0); jPanel1.add(encoding, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weightx = 1.0; jPanel1.add(jPanel2, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0); add(jPanel1, gridBagConstraints); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; configSep = new javax.swing.JSeparator(); configPanel = new javax.swing.JPanel(); configLabel = new javax.swing.JLabel(); configCombo = new javax.swing.JComboBox(); configNew = new javax.swing.JButton(); configDel = new javax.swing.JButton(); mainPanel = new javax.swing.JPanel(); jLabelMainClass = new javax.swing.JLabel(); jTextFieldMainClass = new javax.swing.JTextField(); jButtonMainClass = new javax.swing.JButton(); jLabelArgs = new javax.swing.JLabel(); jTextFieldArgs = new javax.swing.JTextField(); jLabelWorkingDirectory = new javax.swing.JLabel(); jTextWorkingDirectory = new javax.swing.JTextField(); jButtonWorkingDirectoryBrowse = new javax.swing.JButton(); jLabelVMOptions = new javax.swing.JLabel(); jTextVMOptions = new javax.swing.JTextField(); jLabelVMOptionsExample = new javax.swing.JLabel(); customizeOptionsButton = new javax.swing.JButton(); extPanel = new javax.swing.JPanel(); setLayout(new java.awt.GridBagLayout()); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(6, 0, 6, 0); add(configSep, gridBagConstraints); configPanel.setLayout(new java.awt.GridBagLayout()); configLabel.setLabelFor(configCombo); org.openide.awt.Mnemonics.setLocalizedText( configLabel, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "CustomizerRun.configLabel")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(2, 0, 2, 0); configPanel.add(configLabel, gridBagConstraints); configLabel .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getMessage( CustomizerRun.class, "AD_CustomizerRun_Cfg")); // NOI18N configCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] {"<default>"})); configCombo.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { configComboActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 0); configPanel.add(configCombo, gridBagConstraints); org.openide.awt.Mnemonics.setLocalizedText( configNew, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "CustomizerRun.configNew")); // NOI18N configNew.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { configNewActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 0); configPanel.add(configNew, gridBagConstraints); configNew .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getMessage( CustomizerRun.class, "AD_CustomizerRun_NewCfg")); // NOI18N org.openide.awt.Mnemonics.setLocalizedText( configDel, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "CustomizerRun.configDelete")); // NOI18N configDel.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { configDelActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 0); configPanel.add(configDel, gridBagConstraints); configDel .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getMessage( CustomizerRun.class, "AD_CustomizerRun_DeleteCfg")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.insets = new java.awt.Insets(6, 0, 6, 0); add(configPanel, gridBagConstraints); mainPanel.setLayout(new java.awt.GridBagLayout()); jLabelMainClass.setLabelFor(jTextFieldMainClass); org.openide.awt.Mnemonics.setLocalizedText( jLabelMainClass, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "LBL_CustomizeRun_Run_MainClass_JLabel")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0); mainPanel.add(jLabelMainClass, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(0, 12, 5, 0); mainPanel.add(jTextFieldMainClass, gridBagConstraints); jTextFieldMainClass .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getBundle(CustomizerRun.class) .getString("AD_jTextFieldMainClass")); // NOI18N org.openide.awt.Mnemonics.setLocalizedText( jButtonMainClass, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "LBL_CustomizeRun_Run_MainClass_JButton")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 6, 5, 0); mainPanel.add(jButtonMainClass, gridBagConstraints); jButtonMainClass .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getBundle(CustomizerRun.class) .getString("AD_jButtonMainClass")); // NOI18N jLabelArgs.setLabelFor(jTextFieldArgs); org.openide.awt.Mnemonics.setLocalizedText( jLabelArgs, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "LBL_CustomizeRun_Run_Args_JLabel")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0); mainPanel.add(jLabelArgs, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0); mainPanel.add(jTextFieldArgs, gridBagConstraints); jTextFieldArgs .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getBundle(CustomizerRun.class) .getString("AD_jTextFieldArgs")); // NOI18N jLabelWorkingDirectory.setLabelFor(jTextWorkingDirectory); org.openide.awt.Mnemonics.setLocalizedText( jLabelWorkingDirectory, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "LBL_CustomizeRun_Run_Working_Directory")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridy = 2; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0); mainPanel.add(jLabelWorkingDirectory, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridy = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(0, 12, 5, 0); mainPanel.add(jTextWorkingDirectory, gridBagConstraints); java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle( "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle"); // NOI18N jTextWorkingDirectory .getAccessibleContext() .setAccessibleDescription( bundle.getString("AD_CustomizeRun_Run_Working_Directory ")); // NOI18N org.openide.awt.Mnemonics.setLocalizedText( jButtonWorkingDirectoryBrowse, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "LBL_CustomizeRun_Run_Working_Directory_Browse")); // NOI18N jButtonWorkingDirectoryBrowse.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonWorkingDirectoryBrowseActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 6, 5, 0); mainPanel.add(jButtonWorkingDirectoryBrowse, gridBagConstraints); jButtonWorkingDirectoryBrowse .getAccessibleContext() .setAccessibleDescription( bundle.getString("AD_CustomizeRun_Run_Working_Directory_Browse")); // NOI18N jLabelVMOptions.setLabelFor(jTextVMOptions); org.openide.awt.Mnemonics.setLocalizedText( jLabelVMOptions, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0); mainPanel.add(jLabelVMOptions, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0); mainPanel.add(jTextVMOptions, gridBagConstraints); jTextVMOptions .getAccessibleContext() .setAccessibleDescription(bundle.getString("AD_CustomizeRun_Run_VM_Options")); // NOI18N jLabelVMOptionsExample.setLabelFor(jTextFieldMainClass); org.openide.awt.Mnemonics.setLocalizedText( jLabelVMOptionsExample, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options_Example")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 4; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.weighty = 1.0; gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0); mainPanel.add(jLabelVMOptionsExample, gridBagConstraints); jLabelVMOptionsExample .getAccessibleContext() .setAccessibleDescription( bundle.getString("LBL_CustomizeRun_Run_VM_Options_Example")); // NOI18N org.openide.awt.Mnemonics.setLocalizedText( customizeOptionsButton, org.openide.util.NbBundle.getMessage( CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options_JButton")); // NOI18N customizeOptionsButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { customizeVMOptionsByDialog(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.gridheight = java.awt.GridBagConstraints.RELATIVE; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 6, 0, 0); mainPanel.add(customizeOptionsButton, gridBagConstraints); customizeOptionsButton .getAccessibleContext() .setAccessibleName( org.openide.util.NbBundle.getMessage( CustomizerRun.class, "AN_CustomizeRun_Run_VM_Options_JButton")); // NOI18N customizeOptionsButton .getAccessibleContext() .setAccessibleDescription( org.openide.util.NbBundle.getMessage( CustomizerRun.class, "AD_CustomizeRun_Run_VM_Options_Customize")); // NOI18N gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(6, 0, 6, 0); add(mainPanel, gridBagConstraints); extPanel.setLayout(new java.awt.GridBagLayout()); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 5; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; add(extPanel, gridBagConstraints); } // </editor-fold>//GEN-END:initComponents