diff options
Diffstat (limited to 'dozentenmodul/src/main/java/gui/lecture/DeleteLecture_GUI.java')
| -rw-r--r-- | dozentenmodul/src/main/java/gui/lecture/DeleteLecture_GUI.java | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/dozentenmodul/src/main/java/gui/lecture/DeleteLecture_GUI.java b/dozentenmodul/src/main/java/gui/lecture/DeleteLecture_GUI.java index ffadde1c..3c526681 100644 --- a/dozentenmodul/src/main/java/gui/lecture/DeleteLecture_GUI.java +++ b/dozentenmodul/src/main/java/gui/lecture/DeleteLecture_GUI.java @@ -84,7 +84,7 @@ public class DeleteLecture_GUI extends JFrame { JTabbedPane tabbedPane; boolean activeSearch=false; String[] titles = { "Veranstaltungsname", "Beschreibung", - "G\u00fcltigkeitsdatum", "Aktiv", "Letzte Benutzung", + "Gültigkeitsdatum", "Aktiv", "Letzte Benutzung", "Verantwortlicher", "Image", "Schlagwort", "ID" }; ThriftConnection con = new ThriftConnection(); Client client = models.Client.clientcon.getClient(); @@ -123,7 +123,7 @@ public class DeleteLecture_GUI extends JFrame { // auszublendende Angaben // 1=Beschreibung - // 2=G\u00fcltigkeitsdatum + // 2=Gültigkeitsdatum // 3=Aktiv // 6=Image // 7=Schlagwort @@ -179,7 +179,7 @@ public class DeleteLecture_GUI extends JFrame { e.printStackTrace(); } // Setzt den Fenstertitel - setTitle("bwLehrpool Suite - Veranstaltung l\u00F6schen"); + setTitle("bwLehrpool Suite - Veranstaltung löschen"); // Zentriert das Fenster in die Bildmitte setBounds(0, 0, 842, 722); GuiOrganizer.centerGUI(this); @@ -194,7 +194,7 @@ public class DeleteLecture_GUI extends JFrame { panel.setLayout(null); { JLabel lblNewLabel = new JLabel( - "Zu l\u00F6schende Veranstaltung w\u00E4hlen"); + "Zu löschende Veranstaltung wählen"); lblNewLabel.setBounds(10, 11, 509, 22); panel.add(lblNewLabel); lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 18)); @@ -204,7 +204,7 @@ public class DeleteLecture_GUI extends JFrame { txtpnBitteWhlenSie.setEditable(false); txtpnBitteWhlenSie.setBackground(SystemColor.menu); txtpnBitteWhlenSie - .setText("W\u00E4hlen Sie bitte aus der unten stehenden Liste die zu l\u00F6schende Veranstaltung aus."); + .setText("Wählen Sie bitte aus der unten stehenden Liste die zu löschende Veranstaltung aus."); txtpnBitteWhlenSie.setBounds(10, 36, 509, 32); panel.add(txtpnBitteWhlenSie); } @@ -266,7 +266,7 @@ public class DeleteLecture_GUI extends JFrame { textField.setBounds(381, 30, 166, 20); panel_1.add(textField); - JLabel lblHauptmen = new JLabel("Hauptmen\u00FC"); + JLabel lblHauptmen = new JLabel("Hauptmenü"); lblHauptmen.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent arg0) { @@ -294,7 +294,7 @@ public class DeleteLecture_GUI extends JFrame { label_2.setBounds(152, 11, 13, 14); contentPanel.add(label_2); - JLabel lblNewLabel_1 = new JLabel("Veranstaltung l\u00F6schen"); + JLabel lblNewLabel_1 = new JLabel("Veranstaltung löschen"); lblNewLabel_1.setBounds(166, 11, 128, 14); contentPanel.add(lblNewLabel_1); @@ -398,7 +398,7 @@ public class DeleteLecture_GUI extends JFrame { buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT)); getContentPane().add(buttonPane); { - JButton btnBack = new JButton("Zur\u00FCck"); + JButton btnBack = new JButton("Zurück"); btnBack.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { // oeffnet das Hauptmenue @@ -514,7 +514,7 @@ public class DeleteLecture_GUI extends JFrame { scrollPaneName.setBounds(10, 40, 218, 55); panel.add(scrollPaneName); - button = new JButton("L\u00F6schen"); + button = new JButton("Löschen"); button.setBounds(469, 606, 118, 23); getContentPane().add(button); button.addActionListener(new ActionListener() { @@ -528,16 +528,16 @@ public class DeleteLecture_GUI extends JFrame { //a row is selected //ask for confirmation eingabe = JOptionPane.showConfirmDialog(null, - "Wollen Sie diese Daten l\u00f6schen?", "L\u00f6schen?", + "Wollen Sie diese Daten löschen?", "Löschen?", JOptionPane.YES_NO_OPTION); if (eingabe == JOptionPane.YES_OPTION) { //user has confirmed deletion, now get the ID of the selected lecture lectureID = modelMyLectures.getValueAt(tablemyLectures.convertColumnIndexToModel(tablemyLectures.getSelectedRow()), 8).toString(); - System.out.println("L\u00f6sche Lecture "+lectureID); + System.out.println("Lösche Lecture "+lectureID); try { if(client.deleteLecture(lectureID, person.verantwortlicher.getHochschule(),person.verantwortlicher.getUsername())){ - System.out.println("L\u00f6schen erfolgreich"); + System.out.println("Löschen erfolgreich"); //delete successful DeleteLecture_GUI dl = new DeleteLecture_GUI(); @@ -548,7 +548,7 @@ public class DeleteLecture_GUI extends JFrame { JOptionPane .showMessageDialog( null, - "L\u00f6schen aus Datenbank fehlgeschlagen.", + "Löschen aus Datenbank fehlgeschlagen.", "Fehler", JOptionPane.INFORMATION_MESSAGE); } @@ -563,16 +563,16 @@ public class DeleteLecture_GUI extends JFrame { //a row is selected //ask for confirmation eingabe = JOptionPane.showConfirmDialog(null, - "Wollen Sie diese Daten l\u00f6schen?", "L\u00f6schen?", + "Wollen Sie diese Daten löschen?", "Löschen?", JOptionPane.YES_NO_OPTION); if (eingabe == JOptionPane.YES_OPTION) { //user has confirmed deletion, now get the ID of the selected lecture lectureID = tableAllLectures.getValueAt(tableAllLectures.convertColumnIndexToModel(tableAllLectures.getSelectedRow()), 8).toString(); - System.out.println("L\u00f6sche Lecture "+lectureID); + System.out.println("Lösche Lecture "+lectureID); try { if(client.deleteLecture(lectureID, person.verantwortlicher.getHochschule(),person.verantwortlicher.getUsername())){ - System.out.println("L\u00f6schen erfolgreich"); + System.out.println("Löschen erfolgreich"); //delete successful DeleteLecture_GUI dl = new DeleteLecture_GUI(); @@ -583,7 +583,7 @@ public class DeleteLecture_GUI extends JFrame { JOptionPane .showMessageDialog( null, - "L\u00f6schen aus Datenbank fehlgeschlagen.", + "Löschen aus Datenbank fehlgeschlagen.", "Fehler", JOptionPane.INFORMATION_MESSAGE); } @@ -597,7 +597,7 @@ public class DeleteLecture_GUI extends JFrame { JOptionPane .showMessageDialog( null, - "Bitte w\u00e4hlen Sie ein eigenes Image aus.", + "Bitte wählen Sie ein eigenes Image aus.", "Message", JOptionPane.INFORMATION_MESSAGE); } |
