直接用BeautyEye风格窗口。
UIManager.setLookAndFeel("org.jb2011.lnf.beautyeye.BeautyEyeLookAndFeelWin");//使用BeautyEye风格
右上角会自带有一个设置按钮,加上一行即可。
UIManager.put("RootPane.setupButtonVisible",false);//去掉设置
直接把这段贴到main里就可以了
try {
UIManager.setLookAndFeel("org.jb2011.lnf.beautyeye.BeautyEyeLookAndFeelWin");//使用BeautyEye风格
UIManager.put("RootPane.setupButtonVisible",false);//去掉设置
} catch (Exception e) {
e.printStackTrace();
}