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

Nimbus LAF: JProgressBar does not support showing a string in INDETERMINATE state

    Details

    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      I have a JProgressBar set with a String and setStringPainted set to true. When I set an INDETERMINATE state for the progress bar, the string no longer appears, regardless of the orientation set. However, when I change the orientation to VERTICAL, the size of the progress bar is altered according to the size of the text specified though no text appears.

      I reproduced this on WinXP with 6u10-b12 using the attached test. This is not reproducible with Windows or Metal Look And Feel.

      To reproduce the bug, run the attached test with Nimbus Look And Feel. If you don't see the text and if the size of the progress bar is altered in the vertical orientation, the bug is reproduced. Click on the 'Change' button to alter the orientation.

        Attachments

          Activity

            People

            • Assignee:
              rbair Richard Bair
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: