开发者

Changing the look and feel more than once?

开发者 https://www.devze.com 2023-02-05 11:03 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号