I am developing a game, where you first get to the main screen, there are multiple selections to go, for example, Singleplayer, Twoplayer, Credits, etc.
I have one big p
Cardlayout actually is screwy while refocusing.
@op, try calling requestFocusInWindow() after the new jpanel was added