JMenuItem should check L&F icons in the image observer

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P5
    • None
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: