🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Activating and showing components?

#1724
From: Ralph Steins
Date: Wed, 20 Aug 2003 17:41
10 lines
1405 bytes
ok, it worked. Let's mention, that the first tab has index 0.
Thanx.
"Tor Iver Wilhelmsen (TeamB)" <tor.wilhelmsen@ergo.no> schrieb im
Newsbeitrag news:uisosy1y3.fsf@ergo.no...
> "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: <3f43b2c3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f435dfe@newsgroups.borland.com> <uisosy1y3.fsf@ergo.no>

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 11:12:07 PST
From: "Ralph Steins" <steinsrst@aol.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <3f435dfe@newsgroups.borland.com> <uisosy1y3.fsf@ergo.no>
Subject: Re: Activating and showing components?
Date: Wed, 20 Aug 2003 19:41:25 +0200
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 145.254.129.165
Message-ID: <3f43b2c3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061401283 145.254.129.165 (20 Aug 2003 10:41:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail