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

Image paseted on JButton is displayed incorrectly at Motif L&F.

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified

      Run the attached program.
      file : ButtonTest$1.class ButtonTest.class UIManagerMenu.class banana.gif
             ButtonTest$2.class ButtonTest.java UIManagerMenu.java broccoli.gif

      -------------
      Size of JButton arranged by GridLayout becomes small, then image pasted on
      JButton is displayed incorrectly at Motif Look & Feel.

      In case of Motif Look & Feel, image is displayed out of JButton's size.
      In another case, image is displayed correctly.

            jeff Jeff Dinkins
            eishidasunw Etsuko Ishida (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: