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

Replace Window.applyResourceBundle, deprecate ComponentOrientation.getOrientatio

XMLWordPrintable

    • beta2
    • generic
    • generic

      java.awt.Window has two methods applyResourceBundle. These methods are poorly defined: They promise to "apply the settings in the given ResourceBundle to this Window", but don't say which settings will be applied (apart from "currently" component orientation - but what will happen to my window in the future?), what "applying these settings" really means, and how the settings are specified in the resource bundle.

      These methods should be deprecated and replaced with a method applyComponentOrientation, which is specified to call setComponentOrientation for this Window and all components contained within it, but not for other windows owned by it.

            nlindenbsunw Norbert Lindenberg (Inactive)
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: