【发布时间】:2016-08-03 14:11:06
【问题描述】:
使用jTattoo LookAndFeel后,
try {
UIManager.setLookAndFeel(new McWinLookAndFeel());
new Main(new UserModel()).setVisible(true);
} catch (UnsupportedLookAndFeelException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null,ex);
}
}
我还是想让所有的框架都没有装饰。我尝试使用
this.undecorated(true);
在我的框架的构造函数中,但这些代码不起作用,因为外观会覆盖这些代码,谁能告诉我如何超越这个? 任何帮助将不胜感激。
【问题讨论】:
标签: java look-and-feel uimanager