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.
Currently if you want to run a Java class and need to add additional JVM configuration you have to go to the "Set Project Configuration" combo box and change an existing configuration, or create a new configuration. If you want to run a different class you must fill the "Main Class:" field or select the class that you want to run. An easier way to do this would be to create a new item on the editor's context menu called "Create Run Configuration...", or something like that, so the user can directly create a new configuration from the current file, without the need to fill the entire path to the current class or to select a class from the project.