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

Nimbus: JTabbedPane setBackgroundAt and setForegroundAt have no effect

    XMLWordPrintable

Details

    • b121
    • generic, x86, sparc
    • generic, solaris_10, windows_vista
    • Verified

    Description

      Tests api/javax_swing/interactive/JTabbedPaneTests.html#JTabbedPane[JTabbedPaneTest0007] and api/javax_swing/interactive/JTabbedPaneTests.html#JTabbedPane[JTabbedPaneTest0008] fail with Nimbus LaF. Tests check setBackgroundAt and setForegroundAt methods of the class JTabbedPane . Without Nimbus LaF test changes font and background of tabs. With Nimbus it has no effect.

      steps to reproduce:

      change path to JCK 6b and run

      set CLASSPATH=C:\\JCK\\JCK-runtime-6b\\classes;C:\\jcktest\\JCK-runtime-6b\\lib\\javatest
      C:\\JDK\\jdk1.6.0_10\\bin\\java.exe -Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel -Djava.security.policy=C:\\JCK\\JCK-runtime-6b\\lib\\jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JTabbedPane.JTabbedPaneTests -TestCaseID JTabbedPaneTest0007 -TestDirURL file:/C:/jcktest/JCK-runtime-6b/tests/api/javax_swing/interactive/JTabbedPaneTests.html#JTabbedPane

      Attachments

        Activity

          People

            alexp Alexander Potochkin (Inactive)
            pastepan Pavel Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: