Is there a way i can make a gradient color JProgressBar to appear stylish with 2 colors.
It would be nice if someone can give me a sample code.
posted 7 years ago
I think you can create a subclass of JProgressBar then you can override paintComponent in which you can set the Graphic2D's paint to a GradientPaint(with setPaint) then you call the superclass's paintComponent. I don't know if this solution works, but it sounds good. I found it here