🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Activating and showing components?

#1722
From: Ralph Steins
Date: Wed, 20 Aug 2003 11:39
14 lines
1296 bytes
how can i activate a component by programm code?
I have multiple tabs in a jTabpanel and want to switch to another tab.

I tried
tabPanel.requestFocus();

but nothing happened.

setvisible(true) displays the content of the panel over the actual panel...
not good. ;-)

I think it's easy if you know it...

Thanx
Technical Details
Message-ID: <3f435dfe@newsgroups.borland.com>
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!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e4e4dc0935fe9b34,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-08-20 05:11:00 PST
From: "Ralph Steins" <steinsrst@aol.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Activating and showing components?
Date: Wed, 20 Aug 2003 13:39:44 +0200
Lines: 16
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.132.74
Message-ID: <3f435dfe@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061379582 145.254.132.74 (20 Aug 2003 04:39:42 -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!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail