Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
Load my program with a Jtree expanded
Sammy Bill
Ranch Hand
Posts: 96
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
When I load my program, my Jtree is Collapsed. What should i do in order to have the Jtree expanded on startup?
Thanks
Michael Dunn
Ranch Hand
Posts: 4632
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
> What should i do in order to have the Jtree expanded on startup?
you start with google perhaps?
the keywords are not hard:
JTree expand
here's one of the sites with an example
http://www.rgagnon.com/javadetails/java-0210.html
Rob Spoor
Sheriff
Posts: 22783
131
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Truncation of text in JTree
JTree
JTree
JTree - collapsePath issue
JTree Auto Expand By Default
More...