Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > BlueJ Arguments

Reply
Thread Tools

BlueJ Arguments

 
 
Edward Rice
Guest
Posts: n/a
 
      07-03-2003
I am a newbie at a Java IDE called BlueJ (www.bluej.org). I have come
across the problem that I do not know how to send arguments to the
program in BlueJ, but I do know how to send arguments using a command
line prompt. Could someone give me some advice?

Thanks in advance,
Edward Rice
 
Reply With Quote
 
 
 
 
Steve Horsley
Guest
Posts: n/a
 
      07-04-2003
On Thu, 03 Jul 2003 15:07:51 -0700, Edward Rice wrote:

> I am a newbie at a Java IDE called BlueJ (www.bluej.org). I have come
> across the problem that I do not know how to send arguments to the
> program in BlueJ, but I do know how to send arguments using a command
> line prompt. Could someone give me some advice?
>
> Thanks in advance,
> Edward Rice


Command line starting of a program calls the public static void
main(String[]) mothod. You can do this in BlueJ by right-clicking the
class's icon and selecting the main method. Bluej then presents you with a
dialog where you can specify the contents of the array. Type the arguments
in between the braces, remembering to put commas between them and to put
every String value in double-quotes like this:
{"arg1","arg 2", "arg three"}
then click OK.

Steve
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Bluej-announce] NetBeans IDE 5.0 BlueJ Edition Released IchBin Java 0 07-29-2006 04:13 AM
NetBeans IDE 5.0 - BlueJ Edition Reaches Beta IchBin Java 0 05-18-2006 01:20 AM
NetBeans IDE to Provide Support for Leading Educational Tool: BlueJ IchBin Java 0 03-15-2006 06:25 PM
trouble installing BlueJ - no Java system installed Tim923 Java 13 02-03-2005 07:43 PM
Re: bluej help Steve Horsley Java 1 10-21-2003 10:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57