allow toolbar to display alternative widgets
Toolbar in the framework would be enhanced if the sort order were something that
could be set by plugins, and if plugins could register more than just buttons as
widgets for the toolbar. This goes beyond the capabilities of the current
Action interface, so it'll require an alternative approach.
Updated by Dan Higgins over 21 years ago
The bug fix described here may not be needed as of Java 1.3. The Action class
was changed in Java 1.3 as described in
It is now recommended that Components be added to Toolbars, menus, etc. and that
the 'setAction' command then be used on the component to attach an Action. or as
stated in the Java Tutorial " as of v 1.3, you can invoke setAction [(in the API
reference documentation)] on all menu items and buttons. We no longer recommend
using the tool bar and menu add(Action) methods."