JDK-4156235 : Action needs ability to handle toggle states
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1998-07-10
  • Updated: 1998-10-02
  • Resolved: 1998-10-02
Related Reports
Duplicate :  
Description

Name: rm29839			Date: 07/10/98


I really like the Action interface and its use, but I would like to see the idea expanded (slightly) to include the ability to represent 
JToggleButtons and JCheckboxMenuItems so you could class setSelected(boolean) and isSelected() on the Action.  
(This might best be described as an AbstractToggleAction class or some such thing to avoid changing the Action interface, 
but support would need to be added to JMenu, JToolbar, etc.)
(Review ID: 34817)
======================================================================

Comments
EVALUATION This is a duplicate
11-06-2004