🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11952

Re: JTabbed Pane events

#11952
From: Matt Krevs
Date: Fri, 19 Mar 1999 00:00
22 lines
1124 bytes
Havent done it myself but my guess would be

tabbedPane.getModel().addChangeListener( your listener ).

You should then be forwarded changeEvents when the user changes tabs.

Just a guess.

If the above is wrong then I would try

tabbedPane.addChangeListener( your listener );

davie mcnabb wrote in message <36F11FF2.7A28D034@hotmail.com>...
>I would love to be able to detect when a user selects a different pane.
>However I'm not sure which event would be the one to use can anyone help
>by :
>
>Specifying which type of event I should be looking for.  And which
>listener I should use to deal with it.
>
>Ta
>
Technical Details
Message-ID: <7crt54$9r514@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36F11FF2.7A28D034@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,764eac05edd044c
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: Re: JTabbed Pane events
Date: 1999/03/19
Message-ID: <7crt54$9r514@forums.borland.com>
X-Deja-AN: 456259456
References: <36F11FF2.7A28D034@hotmail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing