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
          主站蜘蛛池模板: 综艺| 太仓市| 镇雄县| 偏关县| 昌图县| 乐亭县| 商都县| 普兰县| 广德县| 墨竹工卡县| 吉首市| 普陀区| 毕节市| 鄂伦春自治旗| 全州县| 丰宁| 洛宁县| 浦北县| 蒲城县| 若尔盖县| 噶尔县| 昌吉市| 吉木萨尔县| 故城县| 和硕县| 云龙县| 罗田县| 沂南县| 云安县| 招远市| 怀安县| 新龙县| 长汀县| 海兴县| 阳朔县| 伊宁县| 甘南县| 夏邑县| 东兴市| 军事| 竹溪县|