Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4468474

JFormattedTextField constants don't follow java naming conventions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • 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;

            svioletsunw Scott Violet (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: