Results 1 to 2 of 2
Thread: Guidance needed
- 03-23-2010, 04:25 PM #1
Member
- Join Date
- Mar 2010
- Posts
- 6
- Rep Power
- 0
Guidance needed
I have started a project to create a game.
I have 5 jframes so far.
- login
- 4 game screens
Is this the correct way to go about this.
Or should i have 1 jframe and 4 panels , my worry is it looking messy and ultimately confusing .
My other question is.
How can i load a new class and hide the previous panel.
Such as this scenario.
- Login
- Enter Details
- Submit Details
- Variables Induced
- Load new jframe ( or jpanel??)
- Hide previous jframe.
Thank you.
-
Look at using one JFrame and a CardLayout to help you swap JPanels. The tutorials can show you how to do this.
Similar Threads
-
help needed
By silversurfer2in in forum New To JavaReplies: 22Last Post: 02-25-2010, 01:35 PM -
Ambitious Noob Here - Needing Guidance
By DizzyEwok in forum New To JavaReplies: 14Last Post: 06-28-2009, 09:25 PM -
need guidance in component placement
By rdtindsm in forum AWT / SwingReplies: 2Last Post: 05-10-2009, 04:14 PM -
Guidance in writing a compiler
By Jeremy in forum Advanced JavaReplies: 2Last Post: 11-28-2008, 11:25 PM -
Guidance
By gizdev in forum New To JavaReplies: 5Last Post: 09-07-2008, 07:14 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks