Once upon a time, . . . prior to 1.5, using JFrame's contentPane was the recommended approach. Read the notes for JFrame 1.4 and compare them to the notes for JFrame 1.5. Even after 1.5, obtaining...
Type: Posts; User: GregBrannon
Once upon a time, . . . prior to 1.5, using JFrame's contentPane was the recommended approach. Read the notes for JFrame 1.4 and compare them to the notes for JFrame 1.5. Even after 1.5, obtaining...
Not everything I did must be done in the exact order I did it. I normally do it in that order, because it makes sense to me. The pack() does need to be called after the components have been added...
You were doing some weird things, your variables had confusing names, and I was getting confused. I think you're creating JPanels you don't need, putting them on top of each other (which really...
Post an example that demonstrates the problem. There are a number of possible causes and cures.