Search code examples
javaswingjframejdialogcardlayout

JFrame + JDialog's to JFrame


I have a game. Menu via JFrame, game via JDialog, but I want to create one frame (1280x1024) and have all my menus, pop-ups and game be in one window.

Is it possible?


Solution

  • Sure ! Take a look to JMenuBar and JInternalFrame :)