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.
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.
Increasing priority of this enhancement.
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.
*** This issue has been marked as a duplicate of 49636 ***