利用UIManager
public static void main(String args[])
{
Font f=new Font(''自定义的);
UIManager.put("Button.font",f);
UIManager.put("Label.font",f);
//那么你所有定义的按钮就会变成f类字体
//同理其它的也是一样的!!1
new JFrame();
}
public static void main(String args[])
{
Font f=new Font(''自定义的);
UIManager.put("Button.font",f);
UIManager.put("Label.font",f);
//那么你所有定义的按钮就会变成f类字体
//同理其它的也是一样的!!1
new JFrame();
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货