jdk/test/javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.xml
author kshefov
Tue, 01 Oct 2013 13:45:51 +0400
changeset 20440 19aa1ffadb9a
permissions -rw-r--r--
8012461: [TEST_BUG] closed/javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java doesn't release mouse button Reviewed-by: serb, alexsch Contributed-by: vera.akulova@oracle.com

<synth>
  <style id="backingStyle">
    <font name="Dialog" size="12" />
    
    <state>
      <color value="green" type="BACKGROUND" />
      <color value="black" type="FOREGROUND" />
    </state>
  </style>
  <bind style="backingStyle" type="REGION" key=".*" />

  <style id="buttonStyle">
    <state value="PRESSED and MOUSE_OVER">
      <imagePainter method="buttonBackground" path="red.gif" center="true" />
    </state>
  </style>
  <bind style="buttonStyle" type="REGION" key="Button" />
</synth>