gembin

          OSGi, Eclipse Equinox, ECF, Virgo, Gemini, Apache Felix, Karaf, Aires, Camel, Eclipse RCP

          HBase, Hadoop, ZooKeeper, Cassandra

          Flex4, AS3, Swiz framework, GraniteDS, BlazeDS etc.

          There is nothing that software can't fix. Unfortunately, there is also nothing that software can't completely fuck up. That gap is called talent.

          About Me

           

          如何使 Eclipse(SWT 程序)能夠使用 XP 系統外觀?

           

          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 等.

          參考資料: http://www.eclipse.org/swt/faq.php (SWT FAQ)

           

          posted on 2007-10-10 13:50 gembin 閱讀(401) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          導航

          統計

          常用鏈接

          留言簿(6)

          隨筆分類(440)

          隨筆檔案(378)

          文章檔案(6)

          新聞檔案(1)

          相冊

          收藏夾(9)

          Adobe

          Android

          AS3

          Blog-Links

          Build

          Design Pattern

          Eclipse

          Favorite Links

          Flickr

          Game Dev

          HBase

          Identity Management

          IT resources

          JEE

          Language

          OpenID

          OSGi

          SOA

          Version Control

          最新隨筆

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          free counters
          主站蜘蛛池模板: 吴旗县| 鹰潭市| 芦溪县| 上思县| 苏州市| 苏尼特左旗| 广安市| 保康县| 沙田区| 泰顺县| 珠海市| 沅江市| 仲巴县| 奎屯市| 卓尼县| 子长县| 武胜县| 武穴市| 虎林市| 三河市| 昆明市| 黄梅县| 天长市| 沙雅县| 昭通市| 诏安县| 太原市| 百色市| 建宁县| 丹寨县| 新民市| 自治县| 临汾市| 山东省| 柯坪县| 张北县| 弋阳县| 临夏县| 泸西县| 文山县| 江川县|