求一个好看的JAVA风格包 大家有好看的都分享下吧.... 如果大家有好看的JAVA风格包都发出来 让大家都分享分享下 ... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 import javax.swing.UIManager;int i = 0;try {//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");//JAVA默认的跨平台外观风格UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");//Nimbus风格,新出来的外观,JDK 6 Update10 版本开始出现//UIManager.setLookAndFeel("com.nilo.plaf.nimrod.NimRODLookAndFeel");//Nimrod风格(需要导入.jar包,nimrodlf-1.0e.jar,需要请留言)//UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");//Liquid风格(需要导入.jar包,liquidlnf.jar,需要请留言)//UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());//当前系统风格//UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");//Motif风格,外观接近windows经典,但宽宽大大,而且不是黑灰主色,而是蓝黑//UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());//跨平台的Java界面风格,不太明白这种说法//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");//windows风格//UIManager.setLookAndFeel("com.apple.mrj.swing.MacLookAndFeel");//缺少类//UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");//缺少类switch (i) { case 0: MetalLookAndFeel.setCurrentTheme(new OceanTheme());//海洋场景 i = 1; break; case 1: MetalLookAndFeel.setCurrentTheme(new DefaultMetalTheme());//默认场景 i = 0; break;}//设置主题场景SwingUtilities.updateComponentTreeUI(this);//更新外观,如果以上代码直接放在main中,此行可以不加} catch (Exception e) { e.printStackTrace();} 我要风格包 发我下吧 邮箱:[email protected] 谢了 风格包得找找,我的jar包太多了 楼主 我现在在公司 没有你要的包 你去我博客看看我的文章吧 那里有我找的jar包 你可以去下载 记得踩踩 啊 我也要 谢谢 [email protected] http://blog.csdn.net/dingqiaowu/archive/2010/06/21/5684593.aspx#1424920 需要的朋友请从这里下载 谢谢 不是好意思 dingqiaowu 最近没时间 现在才给你给分 真纠结啊!往一个BoxLayout中加入JPanel怎么跟GridLayout一样啊! csdn测试 关于TCP抓包和修改的问题 求一算法!!!! 求输出一个字符串的奇位的程序 [讨论]应该如何有效的去设计GUI,为以后的MOD和REUSE 铺垫? Java初学者的问题 ERP用JAVA开发可以吗? 谁有java多线程方面的资料文档或网址? 他妈的,我为什么会在这种初级问题上想不通?怎样才能将Object对象转化为实际的类型?高分有奖! java引用奇怪问题 正则表达式匹配问题
//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");//JAVA默认的跨平台外观风格UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");//Nimbus风格,新出来的外观,JDK 6 Update10 版本开始出现//UIManager.setLookAndFeel("com.nilo.plaf.nimrod.NimRODLookAndFeel");//Nimrod风格(需要导入.jar包,nimrodlf-1.0e.jar,需要请留言)//UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");//Liquid风格(需要导入.jar包,liquidlnf.jar,需要请留言)//UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());//当前系统风格//UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");//Motif风格,外观接近windows经典,但宽宽大大,而且不是黑灰主色,而是蓝黑//UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());//跨平台的Java界面风格,不太明白这种说法//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");//windows风格//UIManager.setLookAndFeel("com.apple.mrj.swing.MacLookAndFeel");//缺少类
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");//缺少类switch (i) {
case 0:
MetalLookAndFeel.setCurrentTheme(new OceanTheme());//海洋场景
i = 1;
break;
case 1:
MetalLookAndFeel.setCurrentTheme(new DefaultMetalTheme());//默认场景
i = 0;
break;
}//设置主题场景SwingUtilities.updateComponentTreeUI(this);//更新外观,如果以上代码直接放在main中,此行可以不加} catch (Exception e) {
e.printStackTrace();
}