Re: how to fire JTree child node event
- From: Ingo Buescher <usenet-2005@xxxxxxxxxxxx>
- Date: Sat, 30 Dec 2006 12:17:00 +0100
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?
If I understand you correctly the following methods in JTree might help:
void setSelectionPath(TreePath path)
void setSelectionRow(int row)
IB
.
- References:
- how to fire JTree child node event
- From: William Z.
- how to fire JTree child node event
- Prev by Date: Re: Java Swing Grid
- Next by Date: Creating custom LayoutManager in NetBeans?
- Previous by thread: Re: how to fire JTree child node event
- Next by thread: apple.awt.brushmetallook on Windows?
- Index(es):