Re: how to fire JTree child node event



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
.