• Post Reply Bookmark Topic Watch Topic
  • New Topic

Head First Java - Beat Box - Instruments Invisible  RSS feed

 
Aaron Eaton
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

I'm using the Head First Java book and I'm understanding this language for the first time. I've run into the first problem that the errata or my own elbow-grease haven't been able to resolve.

Chapter 13 - Code Kitchen creates a "Beat Box"

I have a background JPanel with an East and West component. The nameBox on the West side is being drawn, but then disappears when the checkboxes are generated. If I resize the window (using the mouse) I can see the names appearing as the panel is re-drawn, but they disappear again once the checkboxes are placed.

Any ideas?

-Aaron.

code:

 
Campbell Ritchie
Marshal
Posts: 55772
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.
I copied and pasted your posting, and didn't get your problem. Now, I can't get any music out of it, but that is presumably because I don't have the requisite midi resources.
CR
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!