posted 19 years ago
I use swing JFrame now,and want to activate another Frame after press the button on the original one, but my program ran very wield, that my new frame showed up but I can not see anything on it. But if I move the size of the frame, then everything on the frame showed up.
could any of you guys can figure out what's wrong with me Frame?
I used setVisible(true) and setSize(300, 300) in the end of frame launch mathod.