posted 14 years ago
I'm writing a program that first uses a KeyListener and that all goes well and fine. but after a certain number of keypresses I want a slider and button to appear. I've tried just about everything: creating the later components at the beginning and then hiding them (then making them appear), creating the components as I need them, etc. etc. However, I've been unable to get the components to appear when I need them. It seems they go into a blackhole after being hidden or disabled...any suggestions?