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

JProgressBar has no method to set String color

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: vi73552 Date: 04/02/99


      There is no way for me to set the String color for a
      JProgressBar. setForeground() sets Color of the actual
      progress, but not the text. Calling setBackground()
      or setOpaque(false) doesn't seem to affect the text
      color.

      For the default L&F on Solaris, at least, the text winds
      up being some light shade of slate gray. If either the
      foreground or background color doesn't contrast well with
      this color, the text cannot be read.
      (Review ID: 56448)
      ======================================================================

            malberssunw Michael Albers (Inactive)
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: