How do I make SWT show the Windows XP skins?
A: In order for an application to show the Windows XP skins, there must be a manifest file located in the same place as the executable that launches the application. Here is a sample manifest file to download.
The name of the manifest file must match the name of the executable. In the case of eclipse, the executable is javaw.exe and the manifest file must have the name javaw.exe.manifest. The manifest file must be in the jre\bin folder for the VM you use to launch Eclipse. Note: the eclipse.exe executable does not launch Eclipse; eclipse.exe displays a splash screen and then invokes the Java VM.
文件:
javaw.exe.manifest
摘至 The SWT FAQ
原来的eclipse样子
更改后的样子,注意按钮的样式的变化
一定要记得javaw.exe.manifest放在eclipse.VM环境变量的javaw的目录下
也可以使用类似的办法,不过,要把javaw.exe.manifest拷贝为java.exe.manifest才可以.