I want to use a windows look and feel as the开发者_JAVA技巧 main appearance while making the progress bar the nimbus look and feel. Is that possible?
You can mix most of the UIs how you you want. Either create your own lookandfeel class which sets all the UI elements as system and the progress as nimbus or use the setUI method explicitly with the NimbusUI class for the progress bar. This is how applications have custom looking components.
Keepin mind with swing you can do almost anything you want since most of the drawing is handled within the Swing framework.
精彩评论