summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java
diff options
context:
space:
mode:
authorJonathan Bauer2015-07-10 09:25:24 +0200
committerJonathan Bauer2015-07-10 09:25:24 +0200
commit4f2026d557d5a5c27b0dcac0881d6c4b57e3dcae (patch)
tree14d6e7460e6b7fc9943ef505282acb9d595a7546 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java
parent[client] Only allow Composites to be passed to openPopup; make Ctrl-Q quit th... (diff)
downloadtutor-module-4f2026d557d5a5c27b0dcac0881d6c4b57e3dcae.tar.gz
tutor-module-4f2026d557d5a5c27b0dcac0881d6c4b57e3dcae.tar.xz
tutor-module-4f2026d557d5a5c27b0dcac0881d6c4b57e3dcae.zip
[client] GuiManager is now MainWindow, old MainWindow is now MainMenuWindow
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java
index bec2dc44..e367d468 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java
@@ -9,7 +9,7 @@ import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
-import org.openslx.dozmod.gui.helper.GuiManager;
+import org.openslx.dozmod.gui.window.MainWindow;
public abstract class VirtualizerNoticeWindowLayout extends Composite {
private final String title = "Hinweis VMWare Player";
@@ -37,7 +37,7 @@ public abstract class VirtualizerNoticeWindowLayout extends Composite {
Label titleLabel = new Label(this, SWT.NONE);
titleLabel.setText(infoTitle);
FontData fontData = titleLabel.getFont().getFontData()[0];
- Font font = new Font(GuiManager.getDisplay(), new FontData(fontData.getName(), fontData.getHeight(),
+ Font font = new Font(MainWindow.getDisplay(), new FontData(fontData.getName(), fontData.getHeight(),
SWT.BOLD));
titleLabel.setFont(font);
// TODO dispose of font?