Maybe fixed auto minimizing on windows

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@565 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Jannis Harder 2011-06-22 01:13:03 +02:00
parent 7fff627d3e
commit 72a7ef85fa

View file

@ -539,16 +539,14 @@ public class View extends JFrame implements IView {
}
public void showQuitWarningPanel(boolean show) {
if (show) {
setEnabled(true);
}
quitWarningFrame.setLocationRelativeTo(this);
quitWarningFrame.setVisible(show);
setEnabled(!show);
/*
* mainLayer.setEnabled(!show); menuBar.setEnabled(!show);
* settingsPanel.setEnabled(!show); loginPanel.setEnabled(!show);
* scorePanel.setEnabled(!show); gameListPanel.setEnabled(!show);
* connectPanel.setEnabled(!show);
*/
if (!show) {
setEnabled(false);
}
}
@Override
@ -664,8 +662,8 @@ public class View extends JFrame implements IView {
winPanel.setType(type);
winPanel.setVisible(showWinPanel);
playerPanel.setVisible((!showStartTurnPanel)
&& (!showWinPanel) && type != null);
playerPanel.setVisible((!showStartTurnPanel) && (!showWinPanel)
&& type != null);
if (type == BottomPanelType.START_GAME_PANEL) {
table.setStoneSets(Collections