Article View: comp.lang.java.programmer
Article #288Re: How to select a tabbed pane?
From: Robert Mahnke
Date: Thu, 04 Jul 2002 23:52
Date: Thu, 04 Jul 2002 23:52
13 lines
1662 bytes
1662 bytes
> I have created a JTabbedPane, and I added 3 JPanels to it. > At run time, the first (leftmost) panel is selected, but I would > like to have the last panel selected. > > How do I select a panel programmatically? JTabbedPane#setSelectedComponent(Component c) JTappedPane#setSelectedIndex(int index) Robert -- Hompage und FAQ von de.comp.lang.java: www.dclj.de
Technical Details
Message-ID:
<3D24DFAB.8000600@web.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!deine.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<c9bc36ff.0207041541.34aaf11d@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,12cb7a9e6d21887e X-Google-Attributes: gid10a146,public X-Google-Thread: fa3e3,12cb7a9e6d21887e X-Google-Attributes: gidfa3e3,public X-Google-Thread: 10fd6d,12cb7a9e6d21887e X-Google-Attributes: gid10fd6d,public X-Google-ArrivalTime: 2002-07-04 16:49:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!deine.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Robert Mahnke <Robert.Mahnke@web.de> Newsgroups: comp.lang.java.programmer,comp.lang.java.gui,borland.public.jbuilder.ide Subject: Re: How to select a tabbed pane? Date: Fri, 05 Jul 2002 01:52:11 +0200 Organization: T-Online Lines: 14 Message-ID: <3D24DFAB.8000600@web.de> References: <c9bc36ff.0207041541.34aaf11d@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1025826526 02 7816 Bl5-brMSSSAV1v 020704 23:48:46 X-Complaints-To: abuse@t-online.com X-Sender: 520093204510-0001@t-dialin.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en