Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
What type of layout/ method should I do to switch from Interface A (Assuming Facebook Login) to Interface B (Assuming Facebook Home) to Interface C (Assuming Privacy Control) in JAVA. Facebook is just an example. I try card layout but lots of tutorial seems out of date. Sigh. I'm using Netbean too!
Posted

1 solution

You can try it :
1. Add JScrollPane in to your JFrame or JPanel
2. Switch you interface by adding/removing the JPanel from JScrollPane
 
Share this answer
 
Comments
Valentine1993 23-Apr-13 12:14pm    
JScrollPane works? I want user to switch between different GUI, not scrolling.
Shubhashish_Mandal 24-Apr-13 8:12am    
did you try it !! Or just guessing..
Valentine1993 24-Apr-13 8:46am    
Yup i try it and it's working now. I just confused myself previously. Thanks!
Shubhashish_Mandal 25-Apr-13 11:18am    
welcome

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900