United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4468474 : JFormattedTextField constants don't follow java naming conventions

Details
Type:
Enhancement
Submit Date:
2001-06-11
Status:
Resolved
Updated Date:
2001-06-22
Project Name:
JDK
Resolved Date:
2001-06-22
Component:
client-libs
OS:
solaris_7
Sub-Component:
javax.swing
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
1.4.0 (beta2)

Related Reports

Sub Tasks

Description
JFormattedTextField defines the following constants:

    public static final int CommitValueOnFocusLost = 0;
    public static final int CommitOrRevertValueOnFocusLost = 1;
    public static final int RevertValueOnFocusLost = 2;
    public static final int PersistValueOnFocusLost = 3;

which do not follow the java naming conventions.
As we are going to change them, they can be shortened to the following:

    public static final int COMMIT = 0;
    public static final int COMMIT_OR_REVERT = 1;
    public static final int REVERT = 2;
    public static final int PERSIST = 3;

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
merlin-beta2

FIXED IN:
merlin-beta2

INTEGRATED IN:
merlin-beta2


                                     
2004-06-14
EVALUATION

Yes, these constants should change.
scott.violet@eng 2001-06-11

The constants have been changed to match those in the description.
scott.violet@eng 2001-06-15
                                     
2001-06-11



Hardware and Software, Engineered to Work Together