[Bluej-discuss] Running Main with a Key Command
Todd O'Bryan
toddobryan at mac.com
Sat Oct 7 14:21:24 BST 2006
If you're in the terminal/console, you can run
java MainClassName
From within BlueJ, right-click on the main class, and choose the
main method. You'll have to enter a String array since the main
method always takes a String array.
In the code pad, you could do
MainClassName.main(new String[] {"arg1", "arg2"})
HTH,
Todd
On Oct 7, 2006, at 5:45 AM, Chris Share wrote:
> Hi,
>
> I'm new to BlueJ. I'm a C programmer using Java/BlueJ for some
> prototyping.
>
> I was wondering if there was a way to run a project's main method
> using
> key commands?
>
> Cheers,
>
> Chris
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
More information about the bluej-discuss
mailing list