Click here to Skip to main content
11,790,904 members (67,505 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Java netbeans
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 at 23-Apr-13 12:14pm
JScrollPane works? I want user to switch between different GUI, not scrolling.
Shubhashish_Mandal at 24-Apr-13 8:12am
did you try it !! Or just guessing..
Valentine1993 at 24-Apr-13 8:46am
Yup i try it and it's working now. I just confused myself previously. Thanks!
Shubhashish_Mandal at 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
0 OriginalGriff 410
1 ppolymorphe 385
2 Richard MacCutchan 118
3 Jochen Arndt 80
4 Maciej Los 70
0 OriginalGriff 1,329
1 Maciej Los 835
2 ppolymorphe 780
3 KrunalRohit 686
4 CPallini 661

Advertise | Privacy | Mobile
Web01 | 2.8.1509028.1 | Last Updated 23 Apr 2013
Copyright © CodeProject, 1999-2015
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