• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
hangman
Ranch Hand
Posts: 215
Eclipse IDE Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!