|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: May 2006
Location: Illinois
Posts: 235
|
Trying to make Java program exit
I'm in a Java intro class at college and I'm stuck trying to exit a program after an "if" statement is found to be false. The java file is attached as a word document and the the line I want to exit after is highlighted. If anyone could help me, that would be great.
-Nevermind, I figured it out. I used System.exit(1);
__________________
ASUS M4A785TD-V EVO 785G | AMD Phenom II X4 955 | 2 x 2GB G.Skill Ripjaws DDR3 1600 | AMD Radeon HD 6970 | Lite-On DVD-RW | Western Digital Caviar Black 750GB | Antec Sonata III | Corsair AX850 | Windows 7 Home Premium 64-bit Biostar NF61S-M2 TE | AMD Athlon 64 X2 5000+ | 2 x 2GB OCZ Reaper DDR2 6400 | Radeon HD 4850 | Lite-On DVD-RW | Seagate Barracuda 120GB | Antec Sonata II | Antec EarthWatts 500W | Ubuntu 11.04 64-bit Last edited by baseballer10p; 03-27-2007 at 05:56 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Not Spam "7558a6eff9ea0f08bfc105e22ed5" Folder | nydev | Windows Legacy Support (XP and earlier) | 2 | 02-02-2007 12:20 PM |
| Make a program use more memory in XP-how? even possible? | antgross@pacbell.net | Software Discussion & Support | 1 | 09-13-2004 05:44 PM |
| Java graphing program | w00t | Web Design / Development | 5 | 08-05-2004 11:37 AM |
| HOW do i make a program i written with visual basic 6 run with out visual basic 6 | jaxson | Web Design / Development | 6 | 07-08-2003 09:39 AM |
| Suvival Guide: Checking your emails QUICKLY without an email program | Statica | Internet, Web Applications, & The Cloud | 9 | 02-22-2003 05:33 AM |