Do you call setVisible(true) before you add anything to the frame?
Wait until after you have added components to it.
Type: Posts; User: Norm
Do you call setVisible(true) before you add anything to the frame?
Wait until after you have added components to it.
And pass it as an argument to the method that needs it.