This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 102700 - JToolBar.Separator should be in the palette
Summary: JToolBar.Separator should be in the palette
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 28016 126494 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-27 08:14 UTC by ecmel
Modified: 2008-02-01 14:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ecmel 2007-04-27 08:14:25 UTC
JToolBar.Separator is not in the Matisse palette. If an ordinary separator is 
used in JToolBar, it will not change its orientation (horiz-vert) along with 
the the toolbar.

A workaround is :

public class JToolBarSeparator extends JToolBar.Separator {
    
    public JToolBarSeparator() {    
    }
    
}
Comment 1 Tomas Pavek 2007-08-03 15:04:55 UTC
I've made the JSeparator to change to JToolBar.Separator when added to JToolBar.

/cvs/form/src/org/netbeans/modules/form/MetaComponentCreator.java
new revision: 1.105; previous revision: 1.104
Comment 2 Tomas Pavek 2007-08-03 15:47:19 UTC
*** Issue 28016 has been marked as a duplicate of this issue. ***
Comment 3 Jan Stola 2008-02-01 14:08:14 UTC
*** Issue 126494 has been marked as a duplicate of this issue. ***