Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Scrolling over (on top of) the SplitPane divider

843804Nov 21 2004 — edited Nov 22 2004
Hi,

In my app I have a vertical SplitPane. The left component is a JTree. The right component is a JTabbedPane. Each Item being added to this JTabbedPane is a ScrollPane which contains a Canvas on which I have my chart drawn. My problem is that when I drag the horizontal scrollbar to the right, the Canvas is scrolled over (i.e. on top of) the divider and if I dragged the scrollbar far right enough the chart on the right will completely cover the JTree as it move left.

I would really appreciate if anyone could tell me how I could make the chart on the right moves under (rather than above) the divider as it move left.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2004
Added on Nov 21 2004
5 comments
90 views