Jump to content

  • Log In with Google      Sign In   
  • Create Account

Judd Steven Garcia

Member Since 23 Feb 2012
Offline Last Active Nov 24 2014 06:01 AM

Topics I've Started

JPanel switching? Please help a newbie...

23 February 2012 - 04:02 PM

Hello! I need help in trying to switch JPanels in one JFrame. So far my game has two JPanels. One(MainMenu) is the main menu and the other is the actual game(GameFrame). I would like it so that when I push the ENTER key from the main menu, it removes the MainMenu panel and switch it to the GameFrame panel. I am suppose to use a CardLayout but I have not found any tutorial that I understand. Any help would be appreciated. Thank you!

Java Sound please help?

23 February 2012 - 05:25 AM

Hello! I am fairly new to Java and need help in being able to play sound for a game project I am working in. I don't know where to start. I am also having a problem switching between my JPanel MainMenu to the JPanel GameFrame. I believe I am suppose to use a CardLayout. I have not found any tutorial that I can understand. Please help