divider locations on splitpanes

J

Jake

I've got a frame w/ several split panes.

The user opens the application up to a size of about 800x600 and the
dividers locations are proportionately set as I would like them to be.

But when the app is maximized to full screen, my set divider locations
that were once split at 80% open up at 50%.

How do I fixed this?
 
D

Daniele Futtorovic

I've got a frame w/ several split panes.

The user opens the application up to a size of about 800x600 and the
dividers locations are proportionately set as I would like them to be.

But when the app is maximized to full screen, my set divider locations
that were once split at 80% open up at 50%.

How do I fixed this?

RTFM?

<http://java.sun.com/javase/6/docs/api/javax/swing/JSplitPane.html#setResizeWeight(double)>

<http://java.sun.com/docs/books/tutorial/uiswing/components/splitpane.html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,079
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top