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?


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.
.



Relevant Pages

  • RE: More on Shatter
    ... Latency for the WM_TIMER message is irrelevant. ... load, and you code an app to fire WM_TIMER's at every 50ms, your WM_TIMERS ... > try to do real-time things (as I wager most applications ...
    (Vuln-Dev)
  • Re: Todays initial news reports....
    ... My son was at the display with the family of a friend, ... release, based on the investigation, which the Fairfax County Fire Dept. ... Hope that you can see the video, because it records shells being fired ... sandbags to open a hole? ...
    (rec.pyrotechnics)
  • Re: Fire service, bonfire night, safety checks and paranoia!
    ... > Last Nov 5th my family and I went along to a local firework display. ... > engine pulls up on the service road and several fireman disembark and wander ... > arrange fire safety checks just then. ...
    (uk.legal)
  • Re: Problem with a "simple" script
    ... ready to fire on a touch or a click? ... invoke my hex-editor to display the ASCII codes of the special ... on my machine, the script was displayed in Notepad, not executed. ... Now I've got to go back to my original problem and see if I can ...
    (microsoft.public.scripting.wsh)
  • Re: chimps show good understanding of fire
    ... display," she said. ... dominant male did the same sort of thing, but it was towards the fire, ... never heard before [the fire dance] and I've never heard since," ...
    (talk.origins)