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

When de-selecting the "Opaque" checkbox,the pink background is not shown through the togglebuttons that are not selected under the special options "-client -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel".

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P3
    • 9
    • 9
    • client-libs
    • JDK9b49(32bit),win8.1-x86

    • x86
    • windows

    Description

      Testsuite name:JCK manual
      Test name:api/javax_swing/interactive/JToggleButtonTests.html#JToggleButton
      Product tested:JDK 9b49 32bit
      OS/architecture:win8.1-x86
        
      Error log file:http://aurora-ds3.us.oracle.com:9502/runs%2F718655.ManualSubmit-1/workDir/api/javax_swing/interactive/JToggleButtonTests_JToggleButton.jtr

      Reproducible: Always
      Reproducible on machine: Evergreen-machine

      Is it a Regression:
      [If Regression]) Regression introduced in release/build:

      Test result on the last GAed release for this train:
      [if Fail] Test result on FCS:

      Is it a platform specific issue:
      Is it a new (previously unsupported) OS/browser/mode testing:
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Steps to reproduce:
      1. Install test bundle jdk9b49 from http://jre.us.oracle.com/java/re/jdk/9/promoted/all/b49/bundles/windows-i586/jdk-9-ea-windows-i586.exe to
      C:/java/jdk1.9.0
      2. Download the JCK-runtime-9-b05.jar from http://jre.us.oracle.com/java/re/jck/9/promoted/latest/bundles/ to C:/jck and use C:/java/jdk1.9.0/bin/java -jar JCK-runtime-9-b05.jar to unzip it
      3.Run the following command:
      C:/java/jdk1.9.0/bin/java -showversion -client -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel -cp C:/jck/JCK-runtime-9/classes;C:/java/jdk1.9.0/lib/ -Djava.security.policy=C:/jck/JCK-runtime-9/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JToggleButton.JToggleButtonTests -TestCaseID ALL -TestDirURL file:/C:/jck/JCK-runtime-9/tests/api/javax_swing/interactive/JToggleButtonTests.html#JToggleButton
        
      Descriptions:
      This test verifies the behavior of the setOpaque() method.Seven togglebuttons and an Opaque checkbox are displayed below.Please select/de-select the

      Opaque checkbox.De-selecting the Opaque checkbox should cause the pink background to be shown through the togglebuttons that are not selected.Consult your LnF specification before failing this test as implementation is LnF specific.

      Actual behavior:
      1.When de-selecting the "Opaque" checkbox,the pink background is not shown through the togglebuttons that are not selected.refer to ToggleButton.jpg.
      2.There is no such issue without the options "-client -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel".refer to ToggleButton_1.jpg.

      Attachments

        1. 8073454.png
          23 kB
          Semyon Sadetsky
        2. ToggleButton_1.jpg
          22 kB
          Michael Wang
        3. ToggleButton.jpg
          21 kB
          Michael Wang

        Activity

          People

            ssadetsky Semyon Sadetsky (Inactive)
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: