Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #338
| From | "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Right Click on JTree |
| Message-ID | <1165423703.450526.59700@80g2000cwy.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <zNldh.108317$Cu4.1588096@wagner.videotron.net> |
| Date | 2011-04-27 15:26 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui On Dec 5, 4:47 pm, "Oliver Wong" <o...@castortech.com> wrote: > "Jason Cavett" <jason.cav...@gmail.com> wrote in messagenews:1165351204.994336.171460@16g2000cwy.googlegroups.com... > > > > > How do I determine everything that is selected?JTree.getSelectionPaths(): > > http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JTree.html#getSel...() > > - Oliver That works with left click. If I'm using the right click, though, it doesn't seem to have the same functionality. I've decided that's okay, though. I'm going to keep the functionality the way it is because, after showing it to one of the testers, they agreed it made more sense the way it is right now. Thanks for your help. --- * 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 | Next — Previous in thread | Find similar
Re: Right Click on JTree "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: Right Click on JTree "Oliver Wong" <oliver.wong@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: Right Click on JTree "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
csiph-web