Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java netbeans
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 23-Apr-13 4:21am

1 solution

Rate this: bad
good
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
  Permalink  
Comments
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
   
welcome

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

  Print Answers RSS
0 OriginalGriff 365
1 Sergey Alexandrovich Kryukov 319
2 CPallini 275
3 DamithSL 214
4 Maciej Los 185
0 OriginalGriff 5,455
1 DamithSL 4,457
2 Maciej Los 3,885
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,115


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