Hi,

"Jayakrishnan Nair" <[EMAIL PROTECTED]> writes:

> While writing a large program, I put public static void main() in
> different classes, so that I can run them independently. If I need to
> switch the main program, I have to customize jde-run-application-class
> each time. Usually I am switching between a list of say 5 programs. So
> it would be convenient if in the customize window I can enter a list and
> select one from that as the main program to run.

You know that you can specify the class to jde-run without
customizing?

,----[ C-h f jde-run RET ]
| jde-run is an interactive Lisp function in `jde-run'.
| (jde-run PREFIX)
| 
| Run the Java application specified by `jde-run-executable', if
| not the null string. Otherwise run the class specified by
| `jde-run-application-class', if non-null; otherwise the class in the
| current buffer. Specifying a prefix argument, e.g., C-u C-c C-v C-r,
| causes this command to prompt you to enter arguments to be passed to
| the application's main method.  Specifying a minus prefix argument,
| i.e., C-u - C-c C-v C-r, causes this command to prompt you to also
| enter the name of the application's main class.  Note that you can use
| `jde-run-read-app-args' to cause the command to prompt you for
| application arguments by default (i.e., without having to specify a
| prefix argument). This command creates a comint buffer to allow you to
| interact with the program.
`----

Ole
-- 
Ole Arndt                     http://www.sugarshark.com

Reply via email to