Forums Register Login

Resizing JPanel components

+Pie Number of slices to send: Send
Hi,
I have a JPanel which sits on a tabbedPane, the panel has a JTree on the left and a JTextArea on the right, both were added using the BorderLayout so are sized to fit. Is it possible to allow the user to adjust the size of the JTree during runtime?
Thanks
+Pie Number of slices to send: Send
Using a JSplitPane will do this...
+Pie Number of slices to send: Send
Thanks Nathan that worked nicely
My, my, aren't you a big fella. Here, have a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1059 times.
Similar Threads
JTree
JTree not updating
JTree Expansion
JTree resizing issue
JTree ToolTip
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 20:27:20.