[原创]Swing技巧.5:运行中重设LookAndFeel |
//运行中重设LookAndFeel public static void setLookAndFeel(Component target, LookAndFeel lnf){ try{ UIManager.setLookAndFeel(lnf); SwingUtilities.updateComponentTreeUI(target); }catch(Exception e){ System.out.println("ERROR: " + e); } } |
[原创]Swing技巧.5:运行中重设LookAndFeel
最新推荐文章于 2021-06-22 14:17:30 发布