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

JButton draws background and border on mouse pressed in GTK l&f

XMLWordPrintable

      Run one of the signed applets or java web start applications with JRE 1.6.0 in GTK l&f. When you see security dialog, try clicking on "More Information..." - it is a JButton.
      Press down mouse key - you'll see that background color changes to darker, and border gets painted. If I drag pressed mouse away from the JButton, and then release mouse button, background of JButton is painted to a lighter gray color then original background color was. "More information" button has setBorderPainted(false), empty border of 5 pixels and setContentAreaFilled(false) properties set. In metal l&f the button has no border and background does not change when button is pressed.
      Attached are two screenshots with described problem.
      ###@###.### 2005-07-12 18:43:13 GMT

            peterz Peter Zhelezniakov
            mafishersunw Margarita Fisher (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: