Menu

Commit [r5249]  Maximize  Restore  History

This implements feature request 970724:

Simplify Running ACM Java Programs

There is a new option in Preferences/Interactions Pane
called "Smart Run ('java') Command". If enabled (default),
the "Run" button and the "java" command in the Interactions
Pane detects if the class (a) is an ACM Java Task Force
program (subclass of acm.program.Program) or (b) an applet.
If (a), then it runs the program's main method, but inserts
"code=MyClass" as argument 0. If (b), it starts the
applet viewer. Otherwise, the "java" command behaves just
as before.

mgricken 2010-05-08

changed /trunk/drjava/src/edu/rice/cs/drjava/config/OptionConstants.java
changed /trunk/drjava/src/edu/rice/cs/drjava/model/compiler/JavacCompiler.java
changed /trunk/drjava/src/edu/rice/cs/drjava/ui/config/ConfigFrame.java
/trunk/drjava/src/edu/rice/cs/drjava/config/OptionConstants.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/drjava/model/compiler/JavacCompiler.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/drjava/ui/config/ConfigFrame.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB