File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Load my program with a Jtree expanded
Joined: Dec 29, 2008
Jun 09, 2009 11:44:22
When I load my program, my Jtree is Collapsed. What should i do in order to have the Jtree expanded on startup?
Joined: Jun 09, 2003
Jun 09, 2009 12:24:46
> What should i do in order to have the Jtree expanded on startup?
you start with google perhaps?
the keywords are not hard:
here's one of the sites with an example
Joined: Oct 27, 2005
Jun 09, 2009 12:39:29
Or check the API. There are methods in JTree to expand TreePaths and (hint, hint!) rows.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Load my program with a Jtree expanded
Truncation of text in JTree
JTree - collapsePath issue
JTree Auto Expand By Default
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014