diff options
author | Simon Rettberg | 2015-07-28 15:12:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-07-28 15:12:16 +0200 |
commit | c268e549a7f30c13ddf90971ec6744031f420c22 (patch) | |
tree | 604d134ad23091ded938bf8be401c6b68daddffd /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java | |
parent | [client] Use font anti-aliasing (diff) | |
download | tutor-module-c268e549a7f30c13ddf90971ec6744031f420c22.tar.gz tutor-module-c268e549a7f30c13ddf90971ec6744031f420c22.tar.xz tutor-module-c268e549a7f30c13ddf90971ec6744031f420c22.zip |
[client] Re-introduce parent param to showMessageBox (needed for proper placement)
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.java | 12 |
1 files changed, 6 insertions, 6 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 2742d931..f85b1dbc 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,6 +9,7 @@ import java.awt.Font; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JButton; +import javax.swing.JCheckBox; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JPanel; @@ -16,7 +17,7 @@ import javax.swing.JPanel; public abstract class VirtualizerNoticeWindowLayout extends JDialog { private static final String title = "Hinweis VMWare Player"; private static final String infoText = "<html><body style='width:100%'>" - + "Für die Arbeit mit der bwLehrpool Suite wird zwingend ein VMWare Player benötigt. " + + "Für die Arbeit mit der bwLehrpool Suite wird zwingend der <b>VMWare Player</b> benötigt. " + "Diesen können Sie sich unter folgendem Link kostenfrei downloaden. " + "Wenn Sie bereits den VMWare Player oder die VMWare Workstation installiert haben, können Sie diesen Hinweis ignorieren." + "</body></html>"; @@ -25,7 +26,7 @@ public abstract class VirtualizerNoticeWindowLayout extends JDialog { protected JButton windowsDLButton; protected JButton linuxDLButton; - protected JButton readCheck; + protected JCheckBox readCheck; protected JButton continueButton; public VirtualizerNoticeWindowLayout(boolean modal) { @@ -56,9 +57,9 @@ public abstract class VirtualizerNoticeWindowLayout extends JDialog { // Bottom controls JPanel bottomPane = new JPanel(); - bottomPane.setLayout(new BoxLayout(infoPane, BoxLayout.PAGE_AXIS)); + bottomPane.setLayout(new BoxLayout(bottomPane, BoxLayout.LINE_AXIS)); - readCheck = new JButton("Diese Benachrichtigung nicht mehr anzeigen"); + readCheck = new JCheckBox("Diese Benachrichtigung nicht mehr anzeigen"); bottomPane.add(readCheck); bottomPane.add(Box.createHorizontalGlue()); @@ -69,8 +70,7 @@ public abstract class VirtualizerNoticeWindowLayout extends JDialog { final Container content = getContentPane(); content.add(infoPane, BorderLayout.CENTER); content.add(bottomPane, BorderLayout.PAGE_END); - + pack(); } - }
\ No newline at end of file |