The Source for Java Technology Collaboration

Home » java.net Forums » Java Desktop Technologies » SwingLabs

Thread: MultiSplitLayout and JXMultiSplitPane questions ...

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Last Post: Dec 1, 2008 4:06 PM by: kleopatra
Guest
MultiSplitLayout and JXMultiSplitPane questions ...
Posted: Dec 1, 2008 4:06 PM
  Click to reply to this thread Reply



kleopatra
Re: MultiSplitLayout and JXMultiSplitPane questions ...
Posted: Dec 1, 2008 4:06 PM   in response to: Guest
  Click to reply to this thread Reply


Yet another update (before needing some sleep ;-)

Just committed two visual test methods in JXMultiSplitPaneIssues. Both
have an action to replace a component in the multiLayout (the upper
right in the example), one revalidates as usual, the other uses
layoutByWeight. Expected ideal (could be my misconception, of course)
behaviour is to not change any child sizes in both. But then, the one
with a revalidate might change a bit because the contained component is
different, so might have a bit of different pref size. The other should
keep the relative size constant - but doesn't always: sometimes
(initially and after having resized the frame) the replaced container
doesn't quite fill its slot. Which re/in/validate methods to call, was a
bit a guessing game - much helps much <g>. That could well be a (my)
user error.

Thoughts?

Thanks!
Jeanette

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net





 XML java.net RSS