Article View: borland.public.jbuilder.java.swing
Article #1001JTabbedPane listener - detecting tab add and remove
From: Bill D. Pirkle
Date: Fri, 20 Aug 2004 20:50
Date: Fri, 20 Aug 2004 20:50
12 lines
1167 bytes
1167 bytes
Hi all, Is there a way to listen for tab additions and removals to a JTabbedPane? I read the help and Googled but all I found was how to listen for tab selection changes. (I realize that what I'm trying to listen for isn't a standard user-generated event, and there are several ways to accomplish what I'm after. But a listener would be the cleanest, if such a thing exists.) Bill D. Pirkle
Technical Details
Message-ID:
<41266305.232819877@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,e6a16ff7bb5ebb64,start 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: JTabbedPane listener - detecting tab add and remove Date: Fri, 20 Aug 2004 20:50:59 GMT Message-ID: <41266305.232819877@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 65.40.210.98 X-Trace: newsgroups.borland.com 1093035064 65.40.210.98 (20 Aug 2004 13:51:04 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail