🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTabbedPane listener - detecting tab add and remove

#1008
From: Bill D. Pirkle
Date: Fri, 27 Aug 2004 16:32
13 lines
1548 bytes
On Fri, 27 Aug 2004 09:06:33 -0600, Tad Frysinger
<tadfrysinger@comcast.net> wrote:

>All you can really do with the provided mechanics is add a change 
>listener to the model. But that only fires stateChange events when the 
>index is switched - which could happen on an add or remove, or somply 
>switching tabs. I think you're into subclassing to add the behavior you 
>want - I'd probably use a subclassed model to differentiate between 
>"switching" due to adding/removing tabs, or just siwtching between them.
>
>Tad Frysinger (TeamB)

Thanks Tad!
Technical Details
Message-ID: <412f61ef.32571465@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <41266305.232819877@newsgroups.borland.com> <412f4df9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,e6a16ff7bb5ebb64
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: mbpirkle@NOSPAM.att.net (Bill D. Pirkle)
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: JTabbedPane listener - detecting tab add and remove
Date: Fri, 27 Aug 2004 16:32:04 GMT
Message-ID: <412f61ef.32571465@newsgroups.borland.com>
References: <41266305.232819877@newsgroups.borland.com> <412f4df9$1@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 67.76.63.232
X-Trace: newsgroups.borland.com 1093624337 67.76.63.232 (27 Aug 2004 09:32:17 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail