Swing: JTabbedPanes

From: Logical (logic_at_privacy.net)
Date: 04/28/04


Date: Wed, 28 Apr 2004 14:21:04 +1000

Hi

I'm using tabs for different 'modes' of operation. What I need to know is
how to 'listen' for when a tab is selected.

The Tutorial on JTabbedPanes makes no mention of it, only that the keyboard
and mouse listeners for changing a tab have been taken care of for us when
using JTabbedPane.

Any help greatly appreciated.



Relevant Pages

  • Re: Swing: JTabbedPanes
    ... > how to 'listen' for when a tab is selected. ... > The Tutorial on JTabbedPanes makes no mention of it, ... > and mouse listeners for changing a tab have been taken care of for us when ... Josef Garvi "Reversing desertification through drought tolerant trees" ...
    (comp.lang.java.gui)
  • Re: [Swing] how to relay events to other components
    ... The panel associated with the tab contains several ... and it handles the event by calling refresh() on the sub-panels. ... > B provides A with a list of listeners collected from C,D+E. ... custom Event subclass, and have B fire its own custom events, which C, ...
    (comp.lang.java.programmer)
  • Re: Swing: JTabbedPanes
    ... > how to 'listen' for when a tab is selected. ... > The Tutorial on JTabbedPanes makes no mention of it, ... > and mouse listeners for changing a tab have been taken care of for us when ... Remove _NOSPAM to reply by mail ...
    (comp.lang.java.gui)
  • Re: Swing: JTabbedPanes
    ... HTH, ... > how to 'listen' for when a tab is selected. ... > The Tutorial on JTabbedPanes makes no mention of it, ... > and mouse listeners for changing a tab have been taken care of for us when ...
    (comp.lang.java.gui)