Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Swing / AWT / SWT
Several JPanels in a scrollable object
Barry Brashear
Ranch Hand
Posts: 303
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is it possible to place several JPanels in an object that is scrollable?
Will a JScrollPane handle this?
Michael Dunn
Ranch Hand
Posts: 4632
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
>Is it possible to place several JPanels in an object that is scrollable?
yes
>Will a JScrollPane handle this?
yes
Barry Brashear
Ranch Hand
Posts: 303
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How do you do this?
Michael Dunn
Ranch Hand
Posts: 4632
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
>How do you do this?
say you have 5 panels
create a 'holding' panel, set up as gridlayout(5,1)
add all the panels to the holding panel
add the holding panel to the scrollpane
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Selecting JPanels
Program design--to inner-class or not to inner-class?
h:dataTable performance
Focus on JPanel
JPanel/JTabbedPane Focus question
More...