tags:

views:

90

answers:

2

Can anyone have shining progressbar component for java swing application?

+1  A: 

You need to set a different lookAndFeel: http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html

takoi
+5  A: 

You don't need a different progress bar, but rather a different look for the progress bar.

The look of Swing widgets is determined by the Pluggable Look&Feel (PLAF), so you just have to find a PLAF that renders the progress bar with a glossy/shiny style.

A selection of PLAFs can be found here: Best Java Swing Look and Feel Themes | Top 10

If none of those fulfill your needs, it's quite easy to subclass an existing PLAF and exchange for example only the ProgressBarUI.

Peter Walser