JDK-4760439 : Provide method AbstractAction.getName()
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2002-10-09
  • Updated: 2002-10-09
  • Resolved: 2002-10-09
Related Reports
Duplicate :  
Description

Name: sv35042			Date: 10/09/2002


FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)


FULL OPERATING SYSTEM VERSION :
Linux swhkw1086 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT
2001
i686 unknown

A DESCRIPTION OF THE PROBLEM :
It is inconvenient to use

action.getValue(Action.NAME)

in order to determine the name of an Action. You should
provide a convenience method AbstractAction.getName()
which does it.

This bug can be reproduced always.

CUSTOMER WORKAROUND :
Use action.getValue(Action.NAME)
(Review ID: 144615) 
======================================================================

Comments
EVALUATION There will be included in the Tiger RFE 4491747 to improve Actions. ###@###.### 2002-10-09
09-10-2002