• Post Reply Bookmark Topic Watch Topic
  • New Topic

Progressbar in Mac

 
Trushant Patil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i have set _progressBar.setIndeterminate(true); and _progressBar.setStringPainted(true);

for making me able to display string inside the progressbar with _progressBar.setString(str);

But on Mac OS (tiger) the text inside the progressbar does not appear.
And when i set _progressBar.setIndeterminate(false); the strings inside the progressbar does appear.

This problem is not of refereshing as this problem is evident on Mac os but not on windows.On windows the text appear correctly ..

and i have set lookandfeel to systemlookandfeel. Can anyone point me to the problem area
 
Trushant Patil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
could solve it with

UIManager.put("ProgressBarUI","javax.swing.plaf.metal.MetalProgressBarUI" );
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!