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

GTK L&F ignores set/getBackground and other properties of most UI controls

    XMLWordPrintable

    Details

    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      x86
    • OS:
      linux_oracle_6.0, linux_redhat_6.1

      Description

      Calls to setBackground on various Swing components are ignored on GTK L&F and has no effect on resulting UI. Also properties like icons of buttons are ignored.

      get/setBacground are core Component API methods and must work in all L&F implementations.

      See attached test application and differences between GTK and Metal implementations - run "RefuseBackgroundFrame.java".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pbansal Pankaj Bansal
              Reporter:
              dsimoneksunw David Simonek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: