Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-27-2007, 04:29 PM   #1
Member (8 bit)
 
baseballer10p's Avatar
 
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);
Attached Files
File Type: doc clock.doc (24.5 KB, 25 views)
__________________
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.
baseballer10p is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -5. The time now is 07:26 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2