/**
* Invoked when the window gets iconified.
*
* @param event The event that has information on the action.
*/
@Override
public void windowIconified(WindowEvent event) {
// Counter Java misbehaviour of minimizing JFrame when opening JDialog,
// causing bug #2729. Sadly, it may take a split second.
// See https://bugs.openjdk.java.net/browse/JDK-6770428
// TODO: Don't just hide the symptom, prevent hitting the trigger.
// TODO: Minimize side effect of also undoing Alt+Tab and similar,
// if there are complaints. Maybe remember number of open dialogs
// and/or time since using one, then test for it here.
frame.setExtendedState(JFrame.NORMAL);
}
FullScreenFrameListener.java 文件源码
java
阅读 38
收藏 0
点赞 0
评论 0
项目:freecol
作者:
评论列表
文章目录