🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Activating and showing components?

#1723
From: Tor Iver Wilhelmsen (TeamB)
Date: Wed, 20 Aug 2003 11:59
6 lines
1174 bytes
"Ralph Steins" <steinsrst@aol.com> writes:

> how can i activate a component by programm code?
> I have multiple tabs in a jTabpanel and want to switch to another tab.

setSelectedIndex(int) is the one you want.
Technical Details
Message-ID: <uisosy1y3.fsf@ergo.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f435dfe@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e4e4dc0935fe9b34
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-08-20 05:11:00 PST
Sender: towi@SDSA3850
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Activating and showing components?
References: <3f435dfe@newsgroups.borland.com>
From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB))
Date: 20 Aug 2003 13:59:32 +0200
Message-ID: <uisosy1y3.fsf@ergo.no>
Lines: 6
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 139.105.7.229
X-Trace: newsgroups.borland.com 1061380800 139.105.7.229 (20 Aug 2003 05:00:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail