posted 22 years ago
I wanna make a editor which container a file explore
1.i use a JSplit widge
2.put a JTabbedPane widge on the left of the JSplit widge
3.put a JPanel widget on the JTabbedPane.
4.put a JScrollPane widge on the JPanel
5.put a JTree on the JScrollPane widget.
my question is when i click the nodes on the JTree widget,the widget alway change its size auto.I have put the JTree widget in the JScrollPane widget already,I am puzzled why it's size be changed auto not but appear vertical scrollbar?
Sun Certified Java Programmer<br />Sun Certified Web Component Developer