Click here to Skip to main content
13,087,797 members (83,214 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 23-Apr-13 3:21am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can try it :
1. Add JScrollPane in to your JFrame or JPanel
2. Switch you interface by adding/removing the JPanel from JScrollPane
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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 23 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100