summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/GUI/EingabeSystemDaten.java
diff options
context:
space:
mode:
Diffstat (limited to 'Dozentenmodul/src/GUI/EingabeSystemDaten.java')
-rw-r--r--Dozentenmodul/src/GUI/EingabeSystemDaten.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/Dozentenmodul/src/GUI/EingabeSystemDaten.java b/Dozentenmodul/src/GUI/EingabeSystemDaten.java
index 4a70d4b3..81071323 100644
--- a/Dozentenmodul/src/GUI/EingabeSystemDaten.java
+++ b/Dozentenmodul/src/GUI/EingabeSystemDaten.java
@@ -31,6 +31,12 @@ import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JScrollPane;
+import java.awt.event.FocusAdapter;
+import java.awt.event.FocusEvent;
+import java.awt.event.MouseAdapter;
+import java.awt.event.MouseEvent;
+import java.awt.event.WindowAdapter;
+import java.awt.event.WindowEvent;
@SuppressWarnings("serial")
public class EingabeSystemDaten extends JDialog {
@@ -62,6 +68,12 @@ public class EingabeSystemDaten extends JDialog {
* Create the dialog.
*/
public EingabeSystemDaten() {
+ addWindowListener(new WindowAdapter() {
+ @Override
+ public void windowClosing(WindowEvent e) {
+ System.exit(0);
+ }
+ });
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (ClassNotFoundException | InstantiationException
@@ -129,6 +141,10 @@ public class EingabeSystemDaten extends JDialog {
contentPanel.add(lblBetriebssystem);
choiceOS = new Choice();
+
+
+
+
choiceOS.setBounds(170, 373, 150, 20);
@@ -183,16 +199,19 @@ public class EingabeSystemDaten extends JDialog {
btnHinzufgen.setBounds(326, 372, 118, 23);
contentPanel.add(btnHinzufgen);
shortDesc=new JTextArea();
+ shortDesc.setFont(new Font("Tahoma", Font.PLAIN, 11));
shortDesc.setText(vm.vl.getShortDesc());
JScrollPane scrollPane = new JScrollPane(shortDesc);
scrollPane.setBounds(170, 67, 274, 63);
contentPanel.add(scrollPane);
longDesc=new JTextArea();
+ longDesc.setFont(new Font("Tahoma", Font.PLAIN, 11));
longDesc.setText(vm.vl.getLongDesc());
JScrollPane scrollPane_1 = new JScrollPane(longDesc);
scrollPane_1.setBounds(170, 139, 274, 158);
contentPanel.add(scrollPane_1);
comment=new JTextArea();
+ comment.setFont(new Font("Tahoma", Font.PLAIN, 11));
comment.setText(vm.vl.getComment());
JScrollPane scrollPane_2 = new JScrollPane(comment);
scrollPane_2.setBounds(170, 308, 274, 59);