• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Head First Java - Beat Box - Instruments Invisible

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
A wop bop a lu bob a womp bam boom. Tutti frutti ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic