Click here to Skip to main content
11,410,529 members (58,904 online)
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 Sergey Alexandrovich Kryukov 8,885
1 OriginalGriff 6,915
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web02 | 2.8.150414.5 | 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