wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Program Works, But Why Does It Hang At The End? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Program Works, But Why Does It Hang At The End?" Watch "Program Works, But Why Does It Hang At The End?" New topic
Author

Program Works, But Why Does It Hang At The End?

Bob Nedwor
hangman
Ranch Hand

Joined: Aug 17, 2005
Posts: 215

Please help. I got this cool Midi program out the K&B Head First Java Book p. 389 and it works great but it hangs at the end and I need to use Ctrl C to get my command prompt back. I can fix it but I have to add about six lines of code and I am not sure that is the best way. Can anyone else suggest the proper way to make the program exit gracefully? Thanks so much for any hints... I am a new SCJP, but a Sequencer newbie.

---Bob




Bob N
SCJP - 1.4
SCJD - (B&S) Used 1.5 And It Runs On Solaris10
SCWCD - Thanks to HFSJ!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Program Works, But Why Does It Hang At The End?
 
Similar Threads
Head First Code
MiniMusicPlayer2 class in Head First Java book (Chapter 12)
Java Class hangs after run
MidiEvent Issues.
MiniMusicPlayer HFJ