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


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

Re: Detecting Focus In A

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this>
Subject Re: Detecting Focus In A
Message-ID <46572cda$1@dnews.tpgi.com.au> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <GLudnduP67v9_svbnZ2dnUVZ_g-dnZ2d@comcast.com>
References <GLudnduP67v9_svbnZ2dnUVZ_g-dnZ2d@comcast.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 21
Date Wed, 27 Apr 2011 15:34:46 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918486 96.60.20.240 (Wed, 27 Apr 2011 10:34:46 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:34:46 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1688

Show key headers only | View raw


  To: comp.lang.java.gui

"Hal Vaughan" <hal@thresholddigital.com> wrote in message 
news:GLudnduP67v9_svbnZ2dnUVZ_g-dnZ2d@comcast.com...
>I have a superclass, guiModule, that is a super class for several panes I'm
> using that are in a JTabbedPane.  In the superclass I have specified that
> it implements FocusListener and have the focusGained() method in it.  I
> would have thought that when I selected a particular tab on the
> JTabbedPane, that particular class would have the focusGained() method
> called, but that isn't happening.
>
> What do I use or what kind of listener do I need so each panel can detect
> when it is selected by clicking on the corresponding tab?


ChangeListener()

---
 * 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 | Find similar | Unroll thread


Thread

Detecting Focus In A Tabb "Hal Vaughan" <hal.vaughan@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
  Re: Detecting Focus In A "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000

csiph-web