🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8618

Re: JToolbar

#8618
From: Jeroen Zwartepoorte
Date: Thu, 03 Aug 2000 00:00
24 lines
1154 bytes
JToolBar toolBar = new JToolBar();
toolBar.add(firstButton);
toolBar.add(secondButton);
toolBar.addSeparator();    // This adds add visual separator (grouping)
toolBar.add(thirdButton);
etc.

Don't know if you can have buttons either aligned LEFT or RIGHT in the same
JToolBar.

Jeroen

"Sven Goetgeluck" <sven.goetgeluck@pandora.be> wrote in message
news:39889e2d_2@dnews...
> Hi
> want to make toolbar like in explorer
> buttons grouped and a divider between
> is tis possible?
> also want to control the posisiton of the buttons
> fe
> 5 buttons on left and one image of button at right
> how can i do this?
>
>
Technical Details
Message-ID: <8mbppb$3hu11@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39889e2d_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,a82a9f3c7473642a
X-Google-Attributes: gid111d45,public
From: "Jeroen Zwartepoorte" <Jeroen@xs4all.nl>
Subject: Re: JToolbar
Date: 2000/08/03
Message-ID: <8mbppb$3hu11@bornews.borland.com>
X-Deja-AN: 654008764
References: <39889e2d_2@dnews>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing