Link to home
Create AccountLog in
Avatar of tblackwe
tblackwe

asked on

JTree- simulating a selection event

Is there a way that I can simulate a TreeSelectionEvent in my code.  I would like to have some events occur without the user having to explicitly select a node.
ASKER CERTIFIED SOLUTION
Avatar of sadhu
sadhu

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of heyhey_
heyhey_

>> I would like to have some events occur without the user having to explicitly select a node.


just call your event-handling method directly ?
Avatar of tblackwe

ASKER

Thanks sadhu....that worked perfectly.