Article View: borland.public.jbuilder.java.swing
Article #11486Re: Component Grouping ?
From: Matt Krevs
Date: Wed, 26 May 1999 00:00
Date: Wed, 26 May 1999 00:00
22 lines
1292 bytes
1292 bytes
Whenever I want to group a set of components I place them within a JPanel and then I add the JPanel to the top level container. If you also want a groupbox around the components, then set the border of the JPanel to....ummmm...I cant remember the exact border. Look in the Swing border package. Sohan Mendis <sohan@maxtrak.com> wrote in message news:7if99u$7110@forums.borland.com... > Apart from the Box class , is there a way of grouping components ? > > Within a Box , we can have either vertical or horizontal set of components. > Its bit restrictive. > > Cannt we group a set of components scattered around a panel. Just like a > frame in VB. or Group box in VC++. > > > Sohan > >
Technical Details
Message-ID:
<7ifah4$7c9@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7if99u$7110@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e0645eaf3b47a4be X-Google-Attributes: gid111d45,public From: "Matt Krevs" <mattkrevs@flex.com.au> Subject: Re: Component Grouping ? Date: 1999/05/26 Message-ID: <7ifah4$7c9@forums.borland.com> X-Deja-AN: 482092312 References: <7if99u$7110@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Reply-To: "Matt Krevs" <mattkrevs@flex.com.au> Newsgroups: borland.public.jbuilder.java.swing