Hi All,
I'm building an explorer type GUI
split pane /
left side = tree view /
then depending upon which node the user selects, the right
side will either be a jtable or a jtextarea
What's the best way of doing this - so the jtable & jtextarea will
occupy the same location, but only 1 of them will be visible at anyone time
- use a layered pane ?
TIA
Bill
Thomas Weidenfeller - 31 May 2006 13:54 GMT
> then depending upon which node the user selects, the right
> side will either be a jtable or a jtextarea
JPanel with a CardLayout.
/Thomas

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
Bill - 31 May 2006 23:52 GMT
Thanks
Bill
>> then depending upon which node the user selects, the
>> right side will either be a jtable or a jtextarea
>
> JPanel with a CardLayout.
>
> /Thomas