Article View: borland.public.jbuilder.java.swing
Article #10659Re: How to use a buttongroup on a JToolBar
From: Tor Iver Wilhelmsen
Date: Thu, 26 Aug 1999 00:00
Date: Thu, 26 Aug 1999 00:00
11 lines
853 bytes
853 bytes
Dave Ludwig <davel@sisconet.com> writes: > ButtonGroup buttonGroup1 = new ButtonGroup(); > > buttonGroup1.add(viewCButton); > buttonGroup1.add(viewBoButton); > toolBar.add(buttonGroup1); A ButtonGroup is not a graphical component - just add the buttons themselves to the toolbar, the ButtonGroup will do its work when you start pressing the buttons.
Technical Details
Message-ID:
<uyaezf4km.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37C4422D.66A4623C@sisconet.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,8570aac81751c3a8 X-Google-Attributes: gid111d45,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: How to use a buttongroup on a JToolBar Date: 1999/08/26 Message-ID: <uyaezf4km.fsf@sds.no> X-Deja-AN: 517332542 Sender: towi@SDSA1761 References: <37C4422D.66A4623C@sisconet.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing