i am completely new to the game dev world and i want to make a little game that have 2 frame :a Frame that render the game (it is a map containing things)a JFrame to play or pause the game.(so there is no interaction between the user and the Frame, the Frame is just here to show the user how the map)

I tried to begin a little thing with GAGE2D and this is what i have done.I have one problem, while the map is rendered on the Frame i dont have access to the JFrame who is completely grey and doesnt respond.

what i want is to be able to click on a button in the JFrame while the Frame is rendered.

// Variables declaration - do not modifyprivatejavax.swing.JButtonjButton1;privatejavax.swing.JButtonjButton2;privatejavax.swing.JMenujMenu1;privatejavax.swing.JMenuBarjMenuBar1;privatejavax.swing.JMenuItemjMenuItem1;privatejavax.swing.JMenuItemjMenuItem2;privatejavax.swing.JMenuItemjMenuItem3;privatejavax.swing.JPaneljPanel1;privatejavax.swing.JTabbedPanejTabbedPane1;privatejavax.swing.JTabbedPanejTabbedPane2;privatejavax.swing.JTabbedPanejTabbedPane3;// End of variables declaration

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org