Re: how to fire JTree child node event
- From: Brandon McCombs <none@xxxxxxxx>
- Date: Tue, 26 Dec 2006 22:58:12 -0500
William Z. wrote:
I have a JTree where each node displays a specific view when selected.
I'd like to somehow fire an event to default the app which view to
display when opened.
How do I fire an event for a JTree as if the user clicked on a specific
child node?
You don't have to fire an event because the JTree will do that for you. All you have to do is setup a TreeExpansionListener and TreeSelectionListener.
.
- Follow-Ups:
- Re: how to fire JTree child node event
- From: William Z.
- Re: how to fire JTree child node event
- References:
- how to fire JTree child node event
- From: William Z.
- how to fire JTree child node event
- Prev by Date: how to fire JTree child node event
- Next by Date: Re: how to fire JTree child node event
- Previous by thread: how to fire JTree child node event
- Next by thread: Re: how to fire JTree child node event
- Index(es):
Relevant Pages
|