summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java
diff options
context:
space:
mode:
authorStephan Schwaer2015-10-07 15:59:47 +0200
committerStephan Schwaer2015-10-07 15:59:47 +0200
commit5806e07c5f4e2bb592b010a1bb4a043c7aa30ca9 (patch)
treef3d876bf05a0a35d766adf779626e5eb19953d5b /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtualizerNoticeWindowLayout.java
parent[client] Can now continue in imageListPage in lecture wizard with double clic... (diff)
downloadtutor-module-5806e07c5f4e2bb592b010a1bb4a043c7aa30ca9.tar.gz
tutor-module-5806e07c5f4e2bb592b010a1bb4a043c7aa30ca9.tar.xz
tutor-module-5806e07c5f4e2bb592b010a1bb4a043c7aa30ca9.zip
[client] Code formatting.
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.java21
1 files changed, 10 insertions, 11 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 ccc835c4..71e6e8a6 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
@@ -23,20 +23,20 @@ public abstract class VirtualizerNoticeWindowLayout extends JDialog {
+ "Wenn Sie bereits den VMWare Player oder die VMWare Workstation installiert haben, können Sie diesen Hinweis ignorieren."
+ "</body></html>";
-
-// protected JButton windowsDLButton;
+ // protected JButton windowsDLButton;
protected JButton btnDL;
protected JButton continueButton;
public VirtualizerNoticeWindowLayout(Frame modalParent) {
- super(modalParent, title, modalParent != null ? ModalityType.APPLICATION_MODAL : ModalityType.MODELESS);
-
+ super(modalParent, title, modalParent != null ? ModalityType.APPLICATION_MODAL
+ : ModalityType.MODELESS);
+
JPanel contentPanel = new JPanel();
contentPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
add(contentPanel);
-
+
GridManager grid = new GridManager(contentPanel, 1);
-
+
JPanel infoPane = new JPanel();
infoPane.setLayout(new BoxLayout(infoPane, BoxLayout.PAGE_AXIS));
@@ -44,21 +44,20 @@ public abstract class VirtualizerNoticeWindowLayout extends JDialog {
JLabel infoLabel = new JLabel(infoText);
infoLabel.setBorder(BorderFactory.createTitledBorder("Hinweis"));
infoPane.add(infoLabel);
-
+
// Spacing
infoPane.add(Box.createRigidArea(new Dimension(0, 10)));
// Download buttons
-// windowsDLButton = new JButton("<html>VMWare Player für <b>Windows</b> herunterladen</html>");
+ // windowsDLButton = new JButton("<html>VMWare Player für <b>Windows</b> herunterladen</html>");
btnDL = new JButton("<html>VMWare Player herunterladen</html>");
-// infoPane.add(windowsDLButton);
+ // infoPane.add(windowsDLButton);
infoPane.add(btnDL);
-
+
// Bottom controls
JPanel bottomPane = new JPanel();
bottomPane.setLayout(new BoxLayout(bottomPane, BoxLayout.LINE_AXIS));
-
bottomPane.add(Box.createHorizontalGlue());
continueButton = new JButton("Schließen");