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

Deprecate java.awt.ComponentOrientation.getOrientation(ResourceBundle)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs
    • generic
    • generic

      The method java.awt.ComponentOrientation.getOrientation(ResourceBundle) uses a convoluted approach to get a component orientation from a rather random collection of sources. Having this method in our API doesn't serve a real need, it just confuses developers. Smart developers will either call getOrientation(Locale) if they want to rely on the J2RE's defaults, or produce a component orientation of their own choice in their own way.

      The method should be deprecated, with a recommendation to use getOrientation(Locale).

            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: