There is a tree in the left container of JSplitPane. When the tree
loads data nodes, the split pane will
automatically set its location to avoid tree container displaying
horizontal scroll bar.
I want to turn this function off. Pls tell me how to do it. Thank you.
Allen - 17 Jul 2006 08:34 GMT
> There is a tree in the left container of JSplitPane. When the tree
> loads data nodes, the split pane will
> automatically set its location to avoid tree container displaying
> horizontal scroll bar.
>
> I want to turn this function off. Pls tell me how to do it. Thank you.
Sorry. It is because I call JSplitPane.resetToPreferredSizes();
I forget this call. :)