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.
Summary: | IllegalArgumentException -> JToolBar: Test action: pick toolbar out of frame, close toolbar | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Marian Mirilovic <mmirilovic> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | CLOSED INVALID | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IllegalArgumentException : frame with AbsoluteLayout
IllegalArgumentException : frame with GridBagLayout |
Description
Marian Mirilovic
2001-05-10 10:43:30 UTC
Created attachment 1339 [details]
IllegalArgumentException : frame with AbsoluteLayout
Created attachment 1340 [details]
IllegalArgumentException : frame with GridBagLayout
This is a problem of how JToolBar behaves - it tries to add itself back to the container, but it is designed to be used only with BorderLayout, for other layout managers it cannot provide layout constraints - and some layout managers don't allow adding components without constraints. We could change the AbsoluteLayout, but such a change is hardly justifiable (not even thinking about other layout managers). It's up to the developer to use JToolBar correctly. So I'm marking this invalid. Resolved for 3.3.x or earlier, no new info since then -> closing. Resolved for 3.3.x or earlier, no new info since then -> closing. |