From cf790bb75203dc4bcd751b00b5814f10086299d1 Mon Sep 17 00:00:00 2001 From: tspitzer Date: Thu, 10 Oct 2013 13:23:51 +0200 Subject: neue Änderungen -Fenstergröße angepasst -Eingabefelder vergrößert -Texte angepasst -Buttons zur Änderung der Daten eingefügt --- Dozentenmodul/src/GUI/Summary.java | 54 +++++++++++++++++++++++++++++--------- 1 file changed, 42 insertions(+), 12 deletions(-) (limited to 'Dozentenmodul/src/GUI/Summary.java') diff --git a/Dozentenmodul/src/GUI/Summary.java b/Dozentenmodul/src/GUI/Summary.java index db3772cf..67727e2f 100644 --- a/Dozentenmodul/src/GUI/Summary.java +++ b/Dozentenmodul/src/GUI/Summary.java @@ -64,11 +64,11 @@ public class Summary extends JDialog { e.printStackTrace(); } setTitle("Dozentenmodul"); - setBounds(100, 100, 561, 616); + setBounds(100, 100, 603, 722); getContentPane().setLayout(null); { JPanel panel = new JPanel(); - panel.setBounds(0, 0, 545, 68); + panel.setBounds(0, 0, 577, 68); getContentPane().add(panel); panel.setLayout(null); { @@ -88,7 +88,7 @@ public class Summary extends JDialog { { JPanel buttonPane = new JPanel(); - buttonPane.setBounds(0, 521, 545, 36); + buttonPane.setBounds(0, 627, 577, 36); buttonPane.setBackground(SystemColor.menu); buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT)); getContentPane().add(buttonPane); @@ -119,15 +119,15 @@ public class Summary extends JDialog { } JSeparator separator = new JSeparator(); - separator.setBounds(0, 79, 545, 2); + separator.setBounds(0, 79, 587, 2); getContentPane().add(separator); JSeparator separator_1 = new JSeparator(); - separator_1.setBounds(0, 518, 545, 2); + separator_1.setBounds(0, 614, 587, 2); getContentPane().add(separator_1); JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP); - tabbedPane.setBounds(10, 111, 525, 369); + tabbedPane.setBounds(10, 111, 567, 458); getContentPane().add(tabbedPane); @@ -255,6 +255,16 @@ public class Summary extends JDialog { label_25.setBounds(10, 11, 244, 14); panel.add(label_25); + JButton btnZurDateneingabe = new JButton("Daten \u00E4ndern"); + btnZurDateneingabe.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent arg0) { + EingabeAllgemein ea=new EingabeAllgemein(); + ea.setVisible(true); + } + }); + btnZurDateneingabe.setBounds(10, 186, 132, 23); + panel.add(btnZurDateneingabe); + Panel panel_1 = new Panel(); panel_1.setBackground(Color.WHITE); tabbedPane.addTab("Systeminformationen", null, panel_1, null); @@ -338,13 +348,23 @@ public class Summary extends JDialog { label_Laborname.setBounds(120, 11, 395, 14); panel_1.add(label_Laborname); + JButton btnDatenndern = new JButton("Daten \u00E4ndern"); + btnDatenndern.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + EingabeSystemDaten es=new EingabeSystemDaten(); + es.setVisible(true); + } + }); + btnDatenndern.setBounds(10, 335, 132, 23); + panel_1.add(btnDatenndern); + Panel panel_2 = new Panel(); panel_2.setBackground(Color.WHITE); tabbedPane.addTab("Software", null, panel_2, null); panel_2.setLayout(null); JScrollPane scrollPane = new JScrollPane(); - scrollPane.setBounds(11, 37, 499, 293); + scrollPane.setBounds(11, 37, 541, 334); panel_2.add(scrollPane); List list_sw = new List(); @@ -356,10 +376,20 @@ public class Summary extends JDialog { } scrollPane.setViewportView(list_sw); - JLabel label_37 = new JLabel("Ausgew\u00E4hlte Software"); - label_37.setFont(new Font("Tahoma", Font.PLAIN, 14)); - label_37.setBounds(10, 11, 171, 14); - panel_2.add(label_37); + JLabel lblInstallierteSoftware = new JLabel("Installierte Software"); + lblInstallierteSoftware.setFont(new Font("Tahoma", Font.PLAIN, 14)); + lblInstallierteSoftware.setBounds(10, 11, 171, 14); + panel_2.add(lblInstallierteSoftware); + + JButton btnDatenndern_1 = new JButton("Daten \u00E4ndern"); + btnDatenndern_1.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + EingabeSoftwareDaten es=new EingabeSoftwareDaten(); + es.setVisible(true); + } + }); + btnDatenndern_1.setBounds(11, 382, 132, 23); + panel_2.add(btnDatenndern_1); JLabel lblZusammenfassung = new JLabel("Zusammenfassung"); lblZusammenfassung.setFont(new Font("Tahoma", Font.PLAIN, 16)); @@ -373,7 +403,7 @@ public class Summary extends JDialog { up.setVisible(true); } }); - btnUploadtoolStarten.setBounds(397, 487, 138, 23); + btnUploadtoolStarten.setBounds(439, 580, 138, 23); getContentPane().add(btnUploadtoolStarten); JMenuBar menuBar = new JMenuBar(); -- cgit v1.2.3-55-g7522