简体   繁体   English

改变SWT的外观

[英]Changing the SWT Look and Feel

I hava a Java App build with SWT, my problem is that the App is used on different systems so my app looks different depending on the Operating system. 我有一个使用SWT构建的Java App,但我的问题是该App在不同的系统上使用,因此我的App视操作系统而异。

The most users use thin clients and the app is running on a windows 8 server so the app got the classic Win2000 Design. 大多数用户使用瘦客户端,并且该应用程序在Windows 8服务器上运行,因此该应用程序具有经典的Win2000设计。

Is there any way to change the look and feel of the App / modify the widgets to a Standard design? 有什么方法可以更改App的外观和将小部件修改为标准设计?

thank you in advance for your help 预先感谢您的帮助

SWT has supported theming via CSS for some time. SWT通过CSS支持主题化已有一段时间了。 I haven't actually done anything with it, though, but you should peruse the Wiki pages like https://wiki.eclipse.org/E4/CSS for details. 我实际上并没有做任何事情,但是您应该细读诸如https://wiki.eclipse.org/E4/CSS之类的Wiki页面以获取详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM