-
Enhancement
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta2
-
sparc
-
solaris_7
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;
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;