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
          主站蜘蛛池模板: 叶城县| 浙江省| 鄂伦春自治旗| 盐亭县| 正宁县| 富蕴县| 青川县| 娱乐| 平乐县| 津南区| 南阳市| 城市| 儋州市| 棋牌| 宜兰县| 彭州市| 湄潭县| 伊宁县| 云林县| 清河县| 沾化县| 瑞金市| 高平市| 顺平县| 周至县| 株洲县| 建宁县| 遵化市| 大新县| 黄山市| 金秀| 安阳市| 台江县| 托克托县| 宽城| 抚顺县| 婺源县| 托里县| 乌鲁木齐县| 丰镇市| 平阳县|