does anyone know how to change the colors for JProgressBar when you use Nimbus LookAndFeel?
Join the Stack Overflow Community
Stack Overflow is a community of 6.6 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up
Join them; it only takes a minute:
|
|
I have overridden the whole
Better is to write a own Painter and set this to the
If You want to change the Color for only a single ProgressBar instance, you can use Per-component customization
|
|||||||||
|
|
an example of MyPainter can be as following:
but my compiler or IDE (eclipse) says that it doesn't know the Painter. is there anybody to help me! |
|||||
|
|
|||||||||
|