sharky的点滴积累

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  56 随笔 :: 104 文章 :: 10 评论 :: 0 Trackbacks
 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样子
eclipse02.jpg


更改后的样子,注意按钮的样式的变化
eclipse01.jpg


一定要记得javaw.exe.manifest放在eclipse.VM环境变量的javaw的目录下
也可以使用类似的办法,不过,要把javaw.exe.manifest拷贝为java.exe.manifest才可以.
posted on 2005-10-04 20:49 sharky的点滴积累 阅读(317) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: