aspose file tools*
The moose likes Beginning Java and the fly likes Using External Data(need help before Monday) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Using External Data(need help before Monday)" Watch "Using External Data(need help before Monday)" New topic
Author

Using External Data(need help before Monday)

joey whitewolfe
Greenhorn

Joined: Sep 07, 2002
Posts: 11
Help! I can't get it to work! do you have any suggestions? all I need it to do is save any information in a dat.file and if I haven't told you yet I'm only in High school, you guys helped me with the telephone program could you help me with this one
[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ September 14, 2002: Message edited by: Dirk Schreckmann ]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
When you say that you can't get it to work, what do you mean exactly? Which part is causing you a problem? What should that part do and what is it actually doing? Why do you think that it's doing that?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Joey, like what did you have in mind when you wrote this program? What's the heat about Monday? Assignment?
-Barry


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
joey whitewolfe
Greenhorn

Joined: Sep 07, 2002
Posts: 11
it was a weekend project and is due monday
the exit the program button doesn't work I tried adding code to it but then it doesn't compile here is the second change which runs but like i said the exit button doesn't exit the program

(edited by Cindy to format code)
[ September 16, 2002: Message edited by: Cindy Glass ]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Do NOT use if(arg == "Submit"), use if(arg.equals("Submit")).
You have defined a variable "code", so maybe you should
put if(code.equals("E")) System.exit(0); somewhere.
[ September 16, 2002: Message edited by: Barry Gaunt ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using External Data(need help before Monday)