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

JMenuItem should check L&F icons in the image observer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None

      Description

      JMenuItem inherits imageUpdate() method from AbstractButton which knows nothing about the menu item icons and so returns false for the icons loading.
      This issue is obscured because usually ImageIcon calls getProperty() method with null image observer on image and forces the image loading.

      This problems appears in the MultiResolutionBufferedImage where ImageIcon loads the base image but a resolution variant on HiDPI display has not been loaded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexsch Alexandr Scherbatiy
                Reporter:
                alexsch Alexandr Scherbatiy
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: