This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 247971
Collapse All | Expand All

(-)java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties (-1 / +1 lines)
Lines 183-189 Link Here
183
LBL_CustomizeRun_Run_Working_Directory_Browse_Title=Browse Working Directory
183
LBL_CustomizeRun_Run_Working_Directory_Browse_Title=Browse Working Directory
184
LBL_CustomizeRun_Run_VM_Options=&VM Options:
184
LBL_CustomizeRun_Run_VM_Options=&VM Options:
185
LBL_CustomizeRun_Run_VM_Options_Example=(e.g. -Xms10m)
185
LBL_CustomizeRun_Run_VM_Options_Example=(e.g. -Xms10m)
186
LBL_CustomizeRun_Run_VM_Options_JButton=C&ustomize
186
LBL_CustomizeRun_Run_VM_Options_JButton=C&ustomize...
187
LBL_ChooseMainClass_OK=Select Main Class
187
LBL_ChooseMainClass_OK=Select Main Class
188
LBL_ChooseMainClass_Title=Browse Main Classes
188
LBL_ChooseMainClass_Title=Browse Main Classes
189
189
(-)java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/CustomizerRun.form (+3 lines)
Lines 296-301 Link Here
296
                <Property name="lineWrap" type="boolean" value="true"/>
296
                <Property name="lineWrap" type="boolean" value="true"/>
297
                <Property name="rows" type="int" value="5"/>
297
                <Property name="rows" type="int" value="5"/>
298
              </Properties>
298
              </Properties>
299
              <Events>
300
                <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="jTextVMOptionsKeyPressed"/>
301
              </Events>
299
            </Component>
302
            </Component>
300
          </SubComponents>
303
          </SubComponents>
301
        </Container>
304
        </Container>
(-)java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/CustomizerRun.java (+20 lines)
Lines 72-77 Link Here
72
import java.awt.event.ActionListener;
72
import java.awt.event.ActionListener;
73
import java.awt.event.ItemEvent;
73
import java.awt.event.ItemEvent;
74
import java.awt.event.ItemListener;
74
import java.awt.event.ItemListener;
75
import java.awt.event.KeyEvent;
75
import java.awt.event.MouseEvent;
76
import java.awt.event.MouseEvent;
76
import java.io.File;
77
import java.io.File;
77
import java.text.Collator;
78
import java.text.Collator;
Lines 355-360 Link Here
355
        jTextVMOptions.setColumns(20);
356
        jTextVMOptions.setColumns(20);
356
        jTextVMOptions.setLineWrap(true);
357
        jTextVMOptions.setLineWrap(true);
357
        jTextVMOptions.setRows(5);
358
        jTextVMOptions.setRows(5);
359
        jTextVMOptions.addKeyListener(new java.awt.event.KeyAdapter() {
360
            public void keyPressed(java.awt.event.KeyEvent evt) {
361
                jTextVMOptionsKeyPressed(evt);
362
            }
363
        });
358
        jScrollPane1.setViewportView(jTextVMOptions);
364
        jScrollPane1.setViewportView(jTextVMOptions);
359
365
360
        gridBagConstraints = new java.awt.GridBagConstraints();
366
        gridBagConstraints = new java.awt.GridBagConstraints();
Lines 653-658 Link Here
653
        }
659
        }
654
    }//GEN-LAST:event_platformActionPerformed
660
    }//GEN-LAST:event_platformActionPerformed
655
661
662
    private void jTextVMOptionsKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTextVMOptionsKeyPressed
663
        if (evt.getKeyCode() == KeyEvent.VK_ENTER) {
664
            evt.consume();
665
        }
666
        if (evt.getKeyCode() == KeyEvent.VK_TAB) {
667
            if (evt.getModifiers() > 0) {
668
                jTextVMOptions.transferFocusBackward();
669
            } else {
670
                jTextVMOptions.transferFocus();
671
            }
672
            evt.consume();
673
        }
674
    }//GEN-LAST:event_jTextVMOptionsKeyPressed
675
656
    private void configChanged(String activeConfig) {
676
    private void configChanged(String activeConfig) {
657
        DefaultComboBoxModel model = new DefaultComboBoxModel();
677
        DefaultComboBoxModel model = new DefaultComboBoxModel();
658
        model.addElement("");
678
        model.addElement("");

Return to bug 247971