diff options
author | Victor Mocanu | 2016-10-31 12:32:12 +0100 |
---|---|---|
committer | Victor Mocanu | 2016-10-31 12:32:12 +0100 |
commit | 9c257071f181cce99d1fbbd1884fe2a676d3baec (patch) | |
tree | 1b27783c21cd6021089a01317d91d90e6e060010 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtConfigEditorWindowLayout.java | |
parent | [client] improved shift handling for custom sat on login (diff) | |
download | tutor-module-9c257071f181cce99d1fbbd1884fe2a676d3baec.tar.gz tutor-module-9c257071f181cce99d1fbbd1884fe2a676d3baec.tar.xz tutor-module-9c257071f181cce99d1fbbd1884fe2a676d3baec.zip |
[client] added simple vmx editor
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtConfigEditorWindowLayout.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtConfigEditorWindowLayout.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtConfigEditorWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtConfigEditorWindowLayout.java index 7611f870..af06b5fe 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtConfigEditorWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/VirtConfigEditorWindowLayout.java @@ -27,13 +27,14 @@ public class VirtConfigEditorWindowLayout extends JDialog { protected final JButton btnCancel; protected VirtConfigEditorWindowLayout(Window modalParent) { - super(modalParent, title, modalParent != null ? ModalityType.APPLICATION_MODAL - : ModalityType.MODELESS); + super(modalParent, title, + modalParent != null ? ModalityType.APPLICATION_MODAL : ModalityType.MODELESS); GridManager grid = new GridManager(this, 1, true, new Insets(2, 2, 2, 2)); JPanel pnlWarning = new JPanel(); pnlWarning.setBorder(BorderFactory.createTitledBorder("WARNUNG")); - pnlWarning.add(new JLabel("<html>Änderungen an der VM-Konfiguration können zu Funktionsstörungen führen.<br>Benutzung auf eigene Gefahr!</html>")); + pnlWarning.add(new JLabel( + "<html>Änderungen an der VM-Konfiguration können zu Funktionsstörungen führen.<br>Benutzung auf eigene Gefahr!</html>")); pnlEditor = new JEditorPane("text/plain", null); pnlScrollPane = new JScrollPane(pnlEditor, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); @@ -51,7 +52,8 @@ public class VirtConfigEditorWindowLayout extends JDialog { buttonPane.add(Box.createRigidArea(new Dimension(10, 0))); btnSave = new JButton("Speichern"); buttonPane.add(btnSave); - grid.add(buttonPane).fill(true, false).expand(true, false);; + grid.add(buttonPane).fill(true, false).expand(true, false); + ; grid.finish(false); setPreferredSize(Gui.getScaledDimension(650, 750)); |