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 ]
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?
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 ]
Joined: Aug 03, 2002
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 ]