add separator to toolbar

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

add separator to toolbar

Postby mkornatzki » Fri Nov 27, 2009 12:57 am

Hi,

how can or can i set in the designer a separator to a toolbar as toolbar.addSeparator?
i know, it is possible to use a new instance of separator and add this to the toolbar but it is different to addSeparator.

regards,
michael
mkornatzki
 
Posts: 121
Joined: Wed Oct 15, 2008 3:57 am

Re: add separator to toolbar

Postby Eric Clayberg » Mon Nov 30, 2009 7:39 pm

mkornatzki wrote:how can or can i set in th designer a separator to a toolbar as toolbar.addSeparator?

The only way to do that is via the Source view.

mkornatzki wrote:i know, it is possible to use a new instance of separator and add this to the toolbar but it is different to addSeparator.

Yes. You can easily add a JSeparator to the toolbar.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest