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 系統(tǒng)外觀?

           

          Eclipse_Turn_On_XP_Skin.txt

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

          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 系統(tǒng)下, 一般我們用的 Eclipse 的按鈕就是像 Windows 2000 下面那樣的方塊按鈕, 不能使用 XP 的系統(tǒng)外觀主題, 如何讓 Eclipse 也能顯示現(xiàn)代的 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).
          已經(jīng)測試過了, Eclipse 3.0.1, Eclipse 3.1, Eclipse 3.2, 都可以顯示最新的系統(tǒng)外觀了.

          同樣的技術, 只要重命名 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 閱讀(397) 評論(0)  編輯  收藏


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


          網(wǎng)站導航:
           

          導航

          統(tǒng)計

          常用鏈接

          留言簿(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
          主站蜘蛛池模板: 肃南| 左权县| 齐齐哈尔市| 桃园市| 厦门市| 双辽市| 承德县| 峨眉山市| 吴川市| 隆尧县| 肇庆市| 西安市| 阳城县| 曲阜市| 墨脱县| 云林县| 抚松县| 临江市| 柳河县| 新巴尔虎左旗| 罗江县| 湖南省| 南召县| 莲花县| 浮梁县| 通河县| 新晃| 安龙县| 冷水江市| 夏津县| 迁安市| 都江堰市| 德庆县| 永济市| 礼泉县| 双鸭山市| 陇川县| 德清县| 呈贡县| 彭水| 樟树市|