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: | DropDownButtonFactory buttons do not honor action enablement | ||
---|---|---|---|
Product: | platform | Reporter: | _ tboudreau <tboudreau> |
Component: | Window System | Assignee: | issues@platform <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ tboudreau
2010-01-23 21:32:19 UTC
(In reply to comment #0) > Create a JButton using DropDownButtonFactory, in an implementation of > Presenter.Toolbar. > > Call setAction(this) on the button. > > The button tracks the enabled state of the action, but the popup menu and its > contents are enabled all the time. But there are use cases where (some) actions in the dropdown menu should be enabled even though the default button is disabled (e.g. NetBeans Debug button). Feel free to provide a patch and reopen, thanks. |