Article View: borland.public.jbuilder.java.swing
Article #1531Re: More than one button in a JtabbedPane
From: Valentino Kyriakides
Date: Mon, 27 Oct 2003 16:29
Date: Mon, 27 Oct 2003 16:29
28 lines
2195 bytes
2195 bytes
"Tony" <tonl@freenet.co.uk> schrieb im Newsbeitrag news:3f9d2d40@newsgroups.borland.com... > > Hi, > > I'm trying to place three buttons at the bottom of a jtabbedpane (i.e. > apply, check, and cancel). The present layout is border layout and won't > let me place more than one button in the "SOUTH" position at the bottom. I > temporarily tried to invoke other layouts (i.e. gridbag) but if I do I get > warnings during compilation and when I run the 3 tabbed panes I've created > completely disappear. Is there someway I can get 3 buttons in the "SOUTH" > position in border layout (i.e. a button group perhaps - how would I create > one if this would work)? Any help would be very welcome. > You can setup nested panels and layouts and thus you maybe want to make use of these composition capabilities. For example, where you try to place three buttons to the south position of your jtabbedpane with border layout, place instead another panel into that south position, which will then contain your three buttons. Assign to that panel also a layout like border or horiz. flow etc. Your JBuilder online help system should give you the needed infos, look at it's section entitled "Designing Applications with JBuilder" and it's sub-sections. -Valentino
Technical Details
Message-ID:
<3f9d4764$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3f9d2d40@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,fd993ebaa5b75ad9 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-10-27 08:28:40 PST From: "Valentino Kyriakides" <vkyr@nospam-ision.net> Newsgroups: borland.public.jbuilder.java.swing References: <3f9d2d40@newsgroups.borland.com> Subject: Re: More than one button in a JtabbedPane Date: Mon, 27 Oct 2003 17:29:37 +0100 Lines: 31 Organization: Kyriakides X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 80.171.10.137 Message-ID: <3f9d4764$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067272036 80.171.10.137 (27 Oct 2003 08:27:16 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail