Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #497

Re: how to fire JTree chi

From "William Z." <william.z.@THRWHITE.remove-dii-this>
Subject Re: how to fire JTree chi
Message-ID <1167206536.978107.191080@73g2000cwn.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <4591ef5b$0$8962$4c368faf@roadrunner.com>
Date 2011-04-27 15:27 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
>
> 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.

How so? You mean if I select a node by clicking on it w/ the mouse? I
don't want to have to select a node with the mouse. As soon as my app
initializes, I wan't to programmatically fire an event to do this
automatically.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

how to fire JTree child n "William Z." <william.z.@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: how to fire JTree chi "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
    Re: how to fire JTree chi "William Z." <william.z.@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: how to fire JTree chi "Ingo Buescher" <ingo.buescher@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000

csiph-web