Detecting Focus In A Tabbed Pane



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?

Thanks!

Hal
.



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: Is it possible to change the superclass of one class dyn
    ... I just want to change the behavior of one plugin without changing it's ... I think changing the original source code of that plugin ... isn't too bad if we can't change the super class dynamically. ... subclass, not the superclass. ...
    (comp.lang.ruby)
  • Re: The Sci-Fi Rejection Letter That Time Forgot
    ... nations have stockpiled arsenals of these incredible bombs and the time the story is set. ...
    (rec.arts.sf.written)
  • Re: calling subclass constructor question
    ... In Han Kang wrote: ... I was wondering...I have an super class which is the superclass for 5 other classes. ... It smells after bad design here - you might consider providing more dtail on the problem you want to solve by this, thus we might be able to suggest a more viable solution ...
    (comp.lang.python)
  • RE: copied music cds have a skip in last 18 seconds
    ... If installing all missing Windows Updates doesn't fix your problem ... xiowan.......in tucson ...
    (microsoft.public.windows.mediacenter)