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

Refactor the fix for #6824395

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 7
    • 7
    • client-libs
    • None

      Fix for #6824395 introduces a new method
      sun.swing.SwingUtilities2.getViewport(Component component)
      which returns the parent JViewport for the passed component

      CR #6878399 asks to move this method to the public API area

      After additional investigation it turned out that new method
      SwingUtilities.getParentViewport() will make it difficult
      to make custom components compatible for both JDK 6 and JDK 7

      Once a component start using SwingUtilities.getParentViewport()
      it will not compile for JDK 6 any more

            alexp Alexander Potochkin (Inactive)
            alexp Alexander Potochkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: