Eclipse_Turn_On_XP_Skin.txt
如何使 Eclipse(SWT 程序)能够使用 XP 系统外观?
Q: 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.
http://www.eclipse.org/swt/javaw.exe.manifest
或者下载这个:
javaw.exe.manifest.rar 1KB
在 Windows XP 系统下, 一般我们用的 Eclipse 的按钮就是像 Windows 2000 下面那样的方块按钮, 不能使用 XP 的系统外观主题, 如何让 Eclipse 也能显示现代的 XP 外观呢, 例如有的用户喜欢的苹果桌面主题呢?
长话短说就是放这个链接所指的文件 javaw.exe.manifest 到 javaw.exe 所在的目录下, 具体可能位置为:
c:\windows\system32\ (如果你安装的时候选择了 JRE, 这里将有一个 java.exe 和 javaw.exe);
c:\Program Files\Java\JRE1.xxx\bin\ (同上);
c:\jdk1.4.2\jre\bin\ (只安装了 JDK).
已经测试过了, Eclipse 3.0.1, Eclipse 3.1, Eclipse 3.2, 都可以显示最新的系统外观了.
同样的技术, 只要重命名 javaw.exe.manifest 到其它文件名, 例如 myexe.exe.manifest, 就能使一些原来不能显示 XP 外观的老式程序显示新的 XP 外观了. 目前实验成功的有: TurboLaunch, Gel 等.
分享到:
相关推荐
org.eclipse.swt.SWT.class org.eclipse.swt.SWTError.class org.eclipse.swt.SWTException.class org.eclipse.swt.accessibility.ACC.class org.eclipse.swt.accessibility.Accessible.class org.eclipse.swt....
《Eclipse SWT/Jface核心应用》全面介绍了SWT、JFace和RCP的相关知识。全书共分5篇,第1篇介绍了SWT产生的背景以及SWT的一些基本概念和基础知识。第2篇介绍了SWT基本控件的使用,以及事件处理、布局等SWT基本知识的...
Eclipse SWT 3.106 arm 版 适配 uos 飞腾等国产操作系统 定制eclipse rcp应用神器
详细描述了Eclipse下 SWT应用程序项目的各种常用打包与部署方法
java eclipse swt word教程
Eclipse SWT Designer安装教程
使用Eclipse进行SWT编程
Eclipse SWT/JFace 核心应用 带书签 Eclipse SWT/JFace
Eclipse SWT JFace核心应用 PDF
Eclipse SWT JFace核心应用 Eclipse SWT JFace核心应用
Eclipse SWT/JFace核心应用
Eclipse中SWT插件的安装Eclipse中SWT插件的安装
本书全面介绍了SWT、JFace和RCP的相关知识。全书共分5篇,第1篇介绍...本书结构清晰,注重实用,深入浅出,非常适合Eclipse开发人员学习使用,尤其适合SWT/JFace开发人员、Eclipse插件开发人员和RCP应用程序开发人员。
Eclipse SWT 4.4 API 文档,根据官方zip源码包编译而成
本书全面介绍了SWT、JFace和RCP的相关知识。全书共分5篇,第1篇介绍...本书结构清晰,注重实用,深入浅出,非常适合Eclipse开发人员学习使用,尤其适合SWT/JFace开发人员、Eclipse插件开发人员和RCP应用程序开发人员。
eclipse swt/jface核心应用
基于 Java 桌面程序开发的...本书主要讲解了如何使用 SWT 和 JFace 进行应用程序的开发,通过本书系统而全面的 SWT/JFace 知识学习,将帮助读者快 速开发出完美、实用的 GUI 程序,轻松完成繁琐的界面、菜单编程。 本
本书全面介绍了SWT、JFace和RCP的相关知识。全书共分5篇,第1篇介绍...本书结构清晰,注重实用,深入浅出,非常适合Eclipse开发人员学习使用,尤其适合SWT/JFace开发人员、Eclipse插件开发人员和RCP应用程序开发人员。
eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse swt eclipse ...
本文档由笔者整理而成,可供初学SWT技术参考,示例简单易学。