aspose file tools*
The moose likes Beginning Java and the fly likes GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "GUI" Watch "GUI" New topic
Author

GUI

Lucia Short
Greenhorn

Joined: Aug 19, 2007
Posts: 13
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

Joined: Aug 31, 2004
Posts: 11343

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?


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Lucia Short
Greenhorn

Joined: Aug 19, 2007
Posts: 13
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

Joined: Aug 19, 2007
Posts: 13
I figured this out. Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GUI