Article View: comp.lang.java.programmer
Article #292Re: Dynamic Tabbed Panes in JBuilder?
From: Thomas Weidenfeller
Date: Mon, 01 Jul 2002 09:00
Date: Mon, 01 Jul 2002 09:00
20 lines
1807 bytes
1807 bytes
ramon@conexus.net (Ramon F Herrera) writes: > I want to use several JTabbedPanes for my output, but I don't > know exactly how to achieve this using JBuilder's IDE. You take the editor, and implement it, instead of using the GUI builder. GUI builders usually fall short if you have to have a dynamically changing layout. > Shuould I prepare a maximum of, say, 6 Tabbed Panes and only > use as many as actually needed? Well, I wouldn't do it, but you can try. But you will have to dynamically remove and add JPanels to the JTabbedPane, because otherwise the unused JPanels will still appear as tabs on the JTabbedPane. So I don't think you will gain much. Write a simple loop that adds one panel for each of your results to the tabbed pane. /Thomas
Technical Details
Message-ID:
<afp5mk$qaj$2@newstoo.ericsson.se>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.algonet.se!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erix.ericsson.se!newstoo.ericsson.se!not-for-mailReferences:
<c9bc36ff.0206301505.3e6c9d45@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,d78f72d12b0d3a85 X-Google-Attributes: gid10a146,public X-Google-Thread: fa3e3,d78f72d12b0d3a85 X-Google-Attributes: gidfa3e3,public X-Google-ArrivalTime: 2002-07-01 02:04:06 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.algonet.se!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erix.ericsson.se!newstoo.ericsson.se!not-for-mail From: nobody@eed.ericsson.invalid (Thomas Weidenfeller) Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.ide Subject: Re: Dynamic Tabbed Panes in JBuilder? Date: 1 Jul 2002 09:00:04 GMT Organization: Ericsson Eurolab Deutschland GmbH, Germany Lines: 20 Message-ID: <afp5mk$qaj$2@newstoo.ericsson.se> References: <c9bc36ff.0206301505.3e6c9d45@posting.google.com> NNTP-Posting-Host: aquis74.eed.ericsson.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 1.0b.1