Is there a particular reason for that?

It sounds like a sane default to me that a SplitPane should use the sizes of 
it's children in it's preferredSize
calculation?

-- Noel

Greg Brown wrote:
> You are correct - SplitPane does not have a preferred size (or rather, it has 
> a preferred size of 0x0). It relies on
> being given an explicit size by its parent. Giving the Frame a preferred size 
> as Chris suggested is the right solution.
> G
>
>

Reply via email to