Click to See Complete Forum and Search --> : JScrollPanes in a JTabbedPane


lisa alben
September 12th, 2000, 06:14 PM
I have a JTabbedPane with 3 tabs (panels) each composed with a JScrollPane. The data in the scroll panes are changing based on user input. However, the 2nd tab's scroll bar is limited by the size of the first scroll pane. So, the user is not able to view all the 2nd panel's content.

Any suggestions would be _greatly_ appreciated!

Phill
September 14th, 2000, 04:47 AM
Hi
Its hard to tell what is going on without seeing
the code, but here is a question.
Are they all SWING components?
Its best to use all Swing components(dont mix awt
with swing, unless it is absolutely necessary).
If you are using Panel's try using JPanel's
and all SWING components.
If this doesnt work, you can Email or paste some code to this message Thread.
Phill
kashmir@zip.com.au