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

JMenuItem should check L&F icons in the image observer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 9
    • client-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved: