剥皮Java桌面应用程序? [英] Skinning Java desktop applications?

查看:158
本文介绍了剥皮Java桌面应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人知道皮肤Java桌面应用程序的方法。 (像Winamp皮肤,或MirandaIM的皮肤)?
我不想创建自己的外观。

Does anybody know a way to "skin" Java desktop applications. (Like Winamp skins, or skins for MirandaIM)? I don't want to create my own look and feel.

推荐答案

是的,这有几种方法可以做到,但我不知道任何人真的很简单。看看 Nimbus:Swing的新面孔,它包含一些例子。您通常可以覆盖组件的外观或只更改颜色。

Yes, there are a few ways this can be done, but I don't know anyone that is really simple. Have a look at Nimbus: The New Face of Swing, it contains a few examples. You can often override the look of components or just change the colors.

一些链接:

  • Nimbus Colors
  • Skinning a Slider with Nimbus
  • Nimbus UIManager UIDefaults

您可以随时更改为另一个LaF,例如物质

And you can always change to another LaF, in example Substance.

这篇关于剥皮Java桌面应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆