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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Regading SplitPanes

843804Oct 27 2004 — edited Oct 4 2006
Hi

Can anyone please let me know the way to use JSplitPane to accomplsh the following task.

I have JFrame to hold four panels as four quardants and should be able to resize the panels by dragging the divider of the splitpanes.

if I drag the horizontal divider down the top-right ,top-left panels should increase in size and bottom-right ,bottom-left panels should decrease in size and viceversa

if I drag the vertical divider right the top-left ,bottom-left panels should increase in size and top-right ,bottom-right panels should decrease in size and viceversa.

Can anyone send me the code to acheive this task

Thanks In Advance
Sharmila




Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 1 2006
Added on Oct 27 2004
7 comments
218 views