Article View: borland.public.jbuilder.java.swing
Article #1534Re: More than one button in a JtabbedPane
From: Tony
Date: Mon, 27 Oct 2003 20:54
Date: Mon, 27 Oct 2003 20:54
39 lines
2475 bytes
2475 bytes
Thanks for your advice Valentino, it was pretty straight forward to do in Jbuilder design view. Cheers --- Tony. Valentino Kyriakides wrote: > > "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:
<3f9d7682@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f9d2d40@newsgroups.borland.com> <3f9d4764$1@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 12:09:23 PST Message-ID: <3f9d7682@newsgroups.borland.com> From: Tony <tonl@freenet.co.uk> Subject: Re: More than one button in a JtabbedPane Newsgroups: borland.public.jbuilder.java.swing Reply-To: tonl@freenet.co.uk Mail-Copies-To: tonl@freenet.co.uk Date: Mon, 27 Oct 2003 20:54:08 +0000 References: <3f9d2d40@newsgroups.borland.com> <3f9d4764$1@newsgroups.borland.com> Lines: 40 Organization: Home User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 217.28.135.248 X-Trace: newsgroups.borland.com 1067284099 217.28.135.248 (27 Oct 2003 11:48:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail