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

Reg: Images which are not set are picked from LAF for buttons - GTK

XMLWordPrintable

    • b09
    • generic
    • generic, solaris

      When default and selected icon is set for JRadioButton, JCheckBox, JToggleButton etc in GTK LAF, the rest of the images are picked from GTK LAF. This creates improper behaviour for the component.

      Once a custom default and selected image is set, the component should not load the other images from LAF. This will create inconsistency in UI.

      This was working fine in 1.4.2. Its introduced in Tiger.
      This behaviour can be noted in SwingSet demo -> DirectionPanel.java

      Copy all files to a directory.
      Compile and run attached CustomButtonGTKTest.java
      Roll the mouse over the components, the component changes to default LAF settings. Refer to the attached screenshot.

            joutwatesunw Joshua Outwater (Inactive)
            rmenonsunw Rakesh Menon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: