Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > divider locations on splitpanes

Reply
Thread Tools

divider locations on splitpanes

 
 
Jake
Guest
Posts: n/a
 
      05-17-2008

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?
 
Reply With Quote
 
 
 
 
Daniele Futtorovic
Guest
Posts: n/a
 
      05-22-2008
On 2008-05-17 20:36 +0100, Jake allegedly wrote:
> 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>

--
DF.
to reply privately, change the top-level domain
in the FROM address from "invalid" to "net"
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MCU clock divider vs. VHDL divider Matt Clement VHDL 3 04-28-2006 01:24 PM
vhdl divider hafiz_zim@hotmail.com VHDL 2 01-09-2005 04:06 PM
Frequency divider Patrick VHDL 6 05-21-2004 05:32 AM
clk divider Schmigz VHDL 7 04-15-2004 08:23 AM
SOS : 4-bit binary divider circuit PLEASE!!!!!!! kpk VHDL 37 01-06-2004 02:53 PM



Advertisments