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.

Bug 66748

Summary: save multiple Run properties values?
Product: java Reporter: _ gsporar <gsporar>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: wadechandler
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ gsporar 2005-10-13 21:02:44 UTC
On a regular (non-freeform) J2SE project if I right-click the project and choose
Properties I can then modify the Run properties.  All four fields (Main Class,
Arguments, etc.) are all text fields.  It would be nice if they were editable
drop-down comboboxes instead.  And then have NB remember the different values
that the user has specified. So that if I delete an entry by typing over it, I
can get back to that entry later by selecting it from the combobox.

For my own selfish needs this would make demos easier.  I frequently need to
change the VM options and I have to type everything all over again (or save to
an external file and then copy/paste).  

Beyond my needs, it would be a (small) step towards providing "run profiles"
similar to the feature that Eclipse provides.
Comment 1 Tomas Zezula 2005-10-14 08:50:39 UTC
Increasing priority of this enhancement.
Comment 2 _ wadechandler 2006-01-04 18:48:56 UTC
I think it would be nice to not only have this option available in the project
properties, but to also add a context menu to any class with a main method which
allows the user to set arguments for running/debugging.  This would make it much
faster and easier...working on a class...add a main method...have a context menu
right in the code and on the class node and java file node in the
explorer....now either way I want I can setup the runtime/debug time parameters
to use when I run or debug the file.  The full class name and the arguments can
then be added to the project based drop down where currently the single class
resides.
Comment 3 Jesse Glick 2006-02-03 16:51:28 UTC

*** This issue has been marked as a duplicate of 49636 ***