This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GUI

 
Lucia Short
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I added a gui to my program and it doesn't work. Well, I checked it "stand alone" and it worked, but when I add it to my program it gives me a message to the command line:

USAGE: java com.myprogram.gui.MyClass <dataFilePath>

I am confused.
How can I solve this?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lucia Short:
...I am confused...

I am confused too. Can you show us exactly what your command prompt looks like? Including the commands you entered?
 
Lucia Short
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is exactly my prompt and the answer from the command line:

c:\JavaFolder>java -cp ..\classes com.mybank.gui.ATVClient
USAGE: java com.mybank.gui.ATMClient <dataFilePath>

c:\JavaFolder>

That's it.
 
Lucia Short
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured this out. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic