开发工具:
文件大小: 564kb
下载次数: 0
上传时间: 2013-01-20
详细说明: package com.view; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; public class MyLookAndFeel { //在界面内直接掉就可以实现皮肤效果 //系统自带皮肤,5中都能用 public static String sys_Metal = "javax.swing.plaf.metal.MetalLookAndFeel"; public static String sys_Nimbus = "com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel"; public static String sys_CDE_Motif = "com.sun.java.swing.plaf.motif.MotifLookAndFeel"; public static String sys_Windows = "com.sun.java.swing.plaf.windows.WindowsLo okAndFeel"; public static String sys_Windows_Classic = "com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel"; //JIattoo jar包资源 public static String jtattoo_acryl = "com.jtattoo.plaf.acryl.AcrylLookAndFeel"; public static String jtattoo_aero = "com.jtattoo.plaf.aero.AeroLookAndFeel"; public static String jtattoo_aluminum = "com.jtattoo.plaf.aluminium.AluminiumLookAndFeel"; public static String jtattoo_bernstein = "com.jtattoo.plaf.bernstein.BernsteinLookAndFeel"; public static String jtattoo_fast = "com.jtattoo.plaf.fast.FastLookAndFeel"; public static String jtattoo_hifi = "com.jtattoo.plaf.hifi.HiFiLookAndFeel"; public static String jtattoo_luna = "com.jtattoo.plaf.luna.LunaLookAndFeel"; public static String jtattoo_mcwin = "com.jtattoo.plaf.mcwin.McWinLookAndFeel"; public static String jtattoo_mint = "com.jtattoo.plaf.mint.MintLookAndFeel"; public static String jtattoo_noire = "com.jtattoo.plaf.noire.NoireLookAndFeel"; public static String jtattoo_smart = "com.jtattoo.plaf.smart.SmartLookAndFeel"; //liquidlnf.jar包资源 public static String liquidinf= "com.birosoft.liquid.LiquidLookAndFeel"; //SwingSet2_zip.jar包资源 苹果皮肤 咋不太好看 public static String SwingSet_borland= "com.borland.plaf.borland.BorlandLookAndFeel"; public static String SwingSet_quaqua1= "ch.randelshofer.quaqua.Quaqua13PantherLookAndFeel"; public static String SwingSet_quaqua2= "ch.randelshofer.quaqua.QuaquaLookAndFeel"; public static String SwingSet_Office2003= "org.fife.plaf.Office2003.Office2003LookAndFeel"; public static String SwingSet_OfficeXP= "org.fife.plaf.OfficeXP.OfficeXPLookAndFeel"; public MyLookAndFeel(){ } public static void setLookAndFeel(String skin){ try { UIManager.setLookAndFeel(skin); } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (InstantiationException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (UnsupportedLookAndFeelException e) { e.printStackTrace(); } } } ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.