如何再windows平台下使用MacLookAndFeel或者GTKLookAndFeel风格的界面.

解决方案 »

  1.   

    不要说不可能...
    楼主去看看alloy.jar,是一个仿mac界面,不过这个是商业包,需要money。
      

  2.   

    try
    {
      UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
      //UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel") ;
      SwingUtilities.updateComponentTreeUI(this);
    }
      catch(Exception ex)
    {
    }http://www.zdnet.com.cn/developer/code/story/0,3800066897,39107142,00.htm
    http://www.21tx.com/dev/2003/01/10/10072.html
      

  3.   

    huapuyu(花璞玉),这是GTK风格吗?或者MAC风格?
      

  4.   

    一些系统的LnF是使用JNI调用操作系统的东西 所以是不能够移植的 
    但是本人发现在JDK1.4的某些版本下 Windows系统也是可以使用GTK风格的(Sun的实现)
    http://www.javootoo.com/
    此网站有大量LnF
      

  5.   

    修改JDK_HOME/LIB下的swing.properties