Link to home
Start Free TrialLog in
Avatar of srinath
srinath

asked on

How to hide a node on a JTree

How can I hide a node in a JTree?
Avatar of shchuka
shchuka

I'm not sure it's possible at all.  (Assuming, you are talking about the swint JTree component.)  The only node you can hide is the root node.  Use the .setRootVisible(boolean b) method to do so.
ASKER CERTIFIED SOLUTION
Avatar of msmolyak
msmolyak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial