Hallo!
Ich bekomme eine Fehlermeldung, weiß jedoch nicht wo der Fehler liegt, da mir nichts Rot o.Ä. angezeigt wird.
Fehlermeldung
Im nächsten Kommentar!
Code
Ich bekomme eine Fehlermeldung, weiß jedoch nicht wo der Fehler liegt, da mir nichts Rot o.Ä. angezeigt wird.
Fehlermeldung
Im nächsten Kommentar!
Code
Code:
public static String GesamtAll(String a, String b, String c, String d) {
if(a.isEmpty() == true) {
x1 = 0;
}
else {x1 = Integer.parseInt(a);}
if(b.isEmpty() == true) {
x2 = 0;
}
else {x2 = Integer.parseInt(b);}
if(c.isEmpty() == true) {
x3 = 0;
}
else {x3 = Integer.parseInt(b);}
if(d.isEmpty() == true) {
x4 = 0;
}
else {x4 = Integer.parseInt(b);}
int Gesamt = (x1+x2+x3+x4);
String mm = Integer.toString(Gesamt);
return mm;
}
/**
* Initialize the contents of the frame.
*/
private void initialize() {
frame = new JFrame();
frame.getContentPane().setBackground(Color.WHITE);
frame.setBounds(350, 150,1250,750);
frame.setUndecorated(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(null);
JPanel panel = new JPanel();
panel.setBackground(Color.DARK_GRAY);
panel.setBounds(0, 0, 288, 750);
frame.getContentPane().add(panel);
panel.setLayout(null);
JLabel lblRechnungen = new JLabel("Rechnungen");
lblRechnungen.setBounds(10, 147, 212, 22);
panel.add(lblRechnungen);
lblRechnungen.setForeground(Color.GRAY);
lblRechnungen.setFont(new Font("Dialog", Font.PLAIN, 14));
JLabel lblRechnungAnzeigen = new JLabel("Rechnung anzeigen");
lblRechnungAnzeigen.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
new RechnungAnzeigen();
frame.dispose();
}
});
lblRechnungAnzeigen.setForeground(Color.WHITE);
lblRechnungAnzeigen.setFont(new Font("Dialog", Font.PLAIN, 14));
lblRechnungAnzeigen.setBounds(57, 181, 168, 22);
panel.add(lblRechnungAnzeigen);
JLabel lblNewJgoodiesLabel = new JLabel("Runden");
lblNewJgoodiesLabel.setForeground(Color.GRAY);
lblNewJgoodiesLabel.setFont(new Font("Roboto", Font.PLAIN, 14));
lblNewJgoodiesLabel.setBounds(10, 57, 158, 22);
panel.add(lblNewJgoodiesLabel);
JLabel lblNewLabel = new JLabel(" Neue R\tunde erstellen");
lblNewLabel.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
new NeueRundeErstellen();
frame.dispose();
}
});
lblNewLabel.setBackground(Color.WHITE);
lblNewLabel.setHorizontalAlignment(SwingConstants.LEFT);
lblNewLabel.setForeground(Color.WHITE);
lblNewLabel.setFont(new Font("Roboto", Font.PLAIN, 14));
lblNewLabel.setBounds(54, 90, 168, 22);
panel.add(lblNewLabel);
JLabel lblRundeAnzeigen = new JLabel("Runde anzeigen\r\n");
lblRundeAnzeigen.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
new RundeAnzeigen();
frame.dispose();
}
});
lblRundeAnzeigen.setForeground(Color.WHITE);
lblRundeAnzeigen.setFont(new Font("Roboto", Font.PLAIN, 14));
lblRundeAnzeigen.setBounds(59, 123, 168, 22);
panel.add(lblRundeAnzeigen);
JLabel lblNewLabel_1 = new JLabel("Reservierungen");
lblNewLabel_1.setForeground(Color.GRAY);
lblNewLabel_1.setFont(new Font("Roboto", Font.PLAIN, 14));
lblNewLabel_1.setBounds(10, 209, 212, 22);
panel.add(lblNewLabel_1);
JLabel lblReservierungErstellen = new JLabel("Reservierung erstellen");
lblReservierungErstellen.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
new ReservierungErstellenAuswahl();
frame.dispose();
}
});
lblReservierungErstellen.setForeground(Color.WHITE);
lblReservierungErstellen.setFont(new Font("Roboto", Font.PLAIN, 14));
lblReservierungErstellen.setBounds(54, 241, 168, 22);
panel.add(lblReservierungErstellen);
JLabel lblReservierungAnzeigen = new JLabel("Reservierung anzeigen");
lblReservierungAnzeigen.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
new ReservierungAnzeigenAuswahl();
frame.dispose();
}
});
lblReservierungAnzeigen.setForeground(Color.WHITE);
lblReservierungAnzeigen.setFont(new Font("Roboto", Font.PLAIN, 14));
lblReservierungAnzeigen.setBounds(54, 274, 168, 22);
panel.add(lblReservierungAnzeigen);
JLabel lblFreunde = new JLabel("Freunde");
lblFreunde.setForeground(Color.GRAY);
lblFreunde.setFont(new Font("Roboto", Font.PLAIN, 14));
lblFreunde.setBounds(10, 299, 212, 22);
panel.add(lblFreunde);
JLabel lblFreundesliste = new JLabel("Freundesliste");
lblFreundesliste.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
new Freundesliste();
}
});
lblFreundesliste.setForeground(Color.WHITE);
lblFreundesliste.setFont(new Font("Roboto", Font.PLAIN, 14));
lblFreundesliste.setBounds(54, 332, 168, 22);
panel.add(lblFreundesliste);
JLabel lblFreundschaftsanfragen = new JLabel("Freundschaftsanfragen");
lblFreundschaftsanfragen.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
new Freundschaftsanfragen();
}
});
lblFreundschaftsanfragen.setForeground(Color.WHITE);
lblFreundschaftsanfragen.setFont(new Font("Roboto", Font.PLAIN, 14));
lblFreundschaftsanfragen.setBounds(54, 367, 168, 22);
panel.add(lblFreundschaftsanfragen);
JLabel lblTurniere = new JLabel("Turniere");
lblTurniere.setForeground(Color.GRAY);
lblTurniere.setVisible(false);
lblTurniere.setFont(new Font("Roboto", Font.PLAIN, 14));
lblTurniere.setBounds(10, 393, 212, 22);
panel.add(lblTurniere);
JLabel lblTurnierBeitreten = new JLabel("Turnier\u00FCbersicht");
lblTurnierBeitreten.setVisible(false);
lblTurnierBeitreten.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
if(Startansicht.getStr().equals("Admin")) {
new TurnierÜbersichtMA();
frame.dispose();
}
else {
new TurnierAnzeigen();
frame.dispose();}
}
});
lblTurnierBeitreten.setForeground(Color.WHITE);
lblTurnierBeitreten.setFont(new Font("Roboto", Font.PLAIN, 14));
lblTurnierBeitreten.setBounds(54, 425, 168, 22);
panel.add(lblTurnierBeitreten);
JLabel lblShop = new JLabel("Shop");
lblShop.setForeground(Color.GRAY);
lblShop.setFont(new Font("Roboto", Font.PLAIN, 14));
lblShop.setBounds(10, 453, 212, 22);
panel.add(lblShop);
JLabel lblShopAufrufen = new JLabel("Shop aufrufen");
lblShopAufrufen.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
new Shop3();
frame.dispose();
}
});
lblShopAufrufen.setForeground(Color.WHITE);
lblShopAufrufen.setFont(new Font("Roboto", Font.PLAIN, 14));
lblShopAufrufen.setBounds(54, 486, 168, 22);
panel.add(lblShopAufrufen);
JLabel lblMeineDaten = new JLabel("Meine Daten");
lblMeineDaten.setBounds(10, 516, 212, 22);
panel.add(lblMeineDaten);
lblMeineDaten.setForeground(Color.GRAY);
lblMeineDaten.setFont(new Font("Roboto", Font.PLAIN, 14));
JLabel lblBenutzerdatenAnzeigen = new JLabel("Benutzerdaten anzeigen");
lblBenutzerdatenAnzeigen.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
new BenutzerdatenAnzeigen();
frame.dispose();
}
});
lblBenutzerdatenAnzeigen.setBounds(54, 551, 168, 22);
panel.add(lblBenutzerdatenAnzeigen);
lblBenutzerdatenAnzeigen.setForeground(Color.WHITE);
lblBenutzerdatenAnzeigen.setFont(new Font("Roboto", Font.PLAIN, 14));
JLabel lblDashboard = new JLabel("Dashboard");
lblDashboard.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
new DesignNew();
frame.dispose();}
}
);
JLabel label_111 = new JLabel("");
label_111.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/monitor.png")));
label_111.setBounds(21, 182, 21, 22);
panel.add(label_111);
lblDashboard.setHorizontalAlignment(SwingConstants.LEFT);
lblDashboard.setForeground(Color.WHITE);
lblDashboard.setFont(new Font("Roboto", Font.PLAIN, 14));
lblDashboard.setBackground(Color.WHITE);
lblDashboard.setBounds(54, 21, 168, 22);
panel.add(lblDashboard);
JLabel lblNewLabel_6 = new JLabel("");
lblNewLabel_6.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/shopping-cart (3).png")));
lblNewLabel_6.setBounds(20, 486, 31, 22);
panel.add(lblNewLabel_6);
JLabel label_1 = new JLabel("");
label_1.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/house.png")));
label_1.setBounds(20, 21, 34, 22);
panel.add(label_1);
JLabel lblNewLabel_11 = new JLabel("");
lblNewLabel_11.setBounds(0, 0, 965, 14);
panel.add(lblNewLabel_11);
lblNewLabel_11.setBackground(new Color(192, 192, 192));
JLabel label_2 = new JLabel("");
label_2.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/chat.png")));
label_2.setBounds(20, 332, 21, 22);
panel.add(label_2);
JLabel label_4 = new JLabel("");
label_4.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/edit.png")));
label_4.setBounds(20, 90, 21, 22);
panel.add(label_4);
JLabel label_5 = new JLabel("");
label_5.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/edit.png")));
label_5.setBounds(20, 241, 21, 22);
panel.add(label_5);
JLabel label_6 = new JLabel("");
label_6.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/hand.png")));
label_6.setBounds(20, 367, 21, 22);
panel.add(label_6);
JLabel label_3 = new JLabel("");
label_3.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/monitor.png")));
label_3.setBounds(20, 274, 24, 22);
panel.add(label_3);
JLabel label_7 = new JLabel("");
label_7.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/monitor.png")));
label_7.setBounds(20, 123, 21, 22);
panel.add(label_7);
JLabel label_8 = new JLabel("");
label_8.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/placeholder.png")));
label_8.setBounds(20, 425, 21, 22);
panel.add(label_8);
JLabel label_9 = new JLabel("");
label_9.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/monitor.png")));
label_9.setBounds(20, 551, 24, 22);
panel.add(label_9);
JLabel lblNewLabel_8 = new JLabel("");
lblNewLabel_8.setBounds(20, 695, 58, 44);
panel.add(lblNewLabel_8);
lblNewLabel_8.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/time.png")));
final JLabel uhrZeit = new JLabel();
uhrZeit.setForeground(Color.WHITE);
uhrZeit.setFont(new Font("Tahoma", Font.PLAIN, 14));
uhrZeit.setBounds(54, 705, 131, 26);
panel.add(uhrZeit);
JLabel label_10 = new JLabel("");
label_10.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/calendar.png")));
label_10.setBounds(20, 640, 58, 44);
panel.add(label_10);
JLabel lblNachrichtenAnzeigen = new JLabel("Nachrichten anzeigen");
lblNachrichtenAnzeigen.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
new Nachrichten();
frame.dispose();
}
});
lblNachrichtenAnzeigen.setForeground(Color.WHITE);
lblNachrichtenAnzeigen.setFont(new Font("Roboto", Font.PLAIN, 14));
lblNachrichtenAnzeigen.setBounds(54, 584, 168, 22);
panel.add(lblNachrichtenAnzeigen);
JLabel lblNewLabel_13 = new JLabel("");
lblNewLabel_13.setForeground(Color.ORANGE);
lblNewLabel_13.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
int eingabe = JOptionPane.showConfirmDialog(frame,"Wollen Sie sich wirklich Ausloggen?","Ausloggen",JOptionPane.YES_NO_OPTION);
if(eingabe == 0) {
new Startansicht();
frame.dispose();
}
}
});
JPanel panel_1 = new JPanel();
panel_1.setBackground(Color.DARK_GRAY);
panel_1.setBounds(288, -13, 972, 77);
frame.getContentPane().add(panel_1);
panel_1.setLayout(null);
JLabel label_121 = new JLabel("Logout");
label_121.setVisible(false);
label_121.setForeground(Color.ORANGE);
label_121.setBounds(692, 35, 92, 26);
panel_1.add(label_121);
lblNewLabel_13.setVisible(false);
lblNewLabel_13.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/exit.png")));
lblNewLabel_13.setBounds(668, 35, 116, 26);
panel_1.add(lblNewLabel_13);
JLabel lblNewLabel_4 = new JLabel("");
lblNewLabel_4.addMouseListener(new MouseAdapter() {
public void mouseEntered(MouseEvent e) {
lblNewLabel_13.setVisible(true);
label_121.setVisible(true);
}
});
lblNewLabel_4.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/avatar (1).png")));
lblNewLabel_4.setBounds(737, 35, 47, 26);
panel_1.add(lblNewLabel_4);
JLabel lblNewLabel_55 = new JLabel("");
lblNewLabel_55.setBackground(Color.RED);
lblNewLabel_55.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/cross-out.png")));
lblNewLabel_55.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
System.exit(0);
}
});
lblNewLabel_55.setForeground(Color.RED);
lblNewLabel_55.setFont(new Font("Tahoma", Font.PLAIN, 21));
lblNewLabel_55.setBounds(930, 24, 32, 26);
panel_1.add(lblNewLabel_55);
JLabel lblAdmin_1 = new JLabel("Adminbereich");
lblAdmin_1.setForeground(Color.RED);
lblAdmin_1.setVisible(false);
lblAdmin_1.setFont(new Font("Dialog", Font.PLAIN, 14));
lblAdmin_1.setBounds(54, 425, 168, 22);
panel.add(lblAdmin_1);
lblAdmin_1.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
new TurnierÜbersichtMA();
frame.dispose();
}
});
JLabel label_188 = new JLabel("Admin");
label_188.setForeground(Color.GRAY);
label_188.setVisible(false);
label_188.setFont(new Font("Dialog", Font.PLAIN, 14));
label_188.setBounds(10, 393, 212, 22);
panel.add(label_188);
if(Startansicht.getStr().equals("Admin")) {
label_188.setVisible(true);
lblAdmin_1.setVisible(true);
}
else {
lblTurniere.setVisible(true);
lblTurnierBeitreten.setVisible(true);
}
JLabel label_144 = new JLabel("");
label_144.setIcon(new ImageIcon(DesignNew.class.getResource("/Pics/mail (2).png")));
label_144.setBounds(21, 583, 24, 22);
panel.add(label_144);
//_____________________________________________________________________________________________
DateFormat dateFormat = new SimpleDateFormat("dd.MM.yyyy");
String str = dateFormat.format(new Date());
JPanel panel_11 = new JPanel();
panel_11.setBackground(Color.DARK_GRAY);
panel_11.setBounds(288, -13, 972, 77);
frame.getContentPane().add(panel_11);
panel_11.setLayout(null);
JLabel lblNewLabel_41 = new JLabel("");
lblNewLabel_41.setIcon(new ImageIcon(RundeAnzeigenÜbersicht.class.getResource("/Pics/avatar (1).png")));
lblNewLabel_41.setBounds(740, 35, 92, 26);
panel_11.add(lblNewLabel_41);
txtTest = new JTextField();
txtTest.setForeground(SystemColor.textHighlight);
txtTest.setFont(new Font("Dialog", Font.PLAIN, 14));
txtTest.setEditable(false);
txtTest.setText(Startansicht.getStr());
txtTest.setBounds(792, 37, 120, 25);
panel_11.add(txtTest);
txtTest.setColumns(10);
txtTest.setOpaque(false);
txtTest.setBorder(javax.swing.BorderFactory.createEmptyBorder());
JLabel lblNewLabel_5 = new JLabel("");
lblNewLabel_5.setBackground(Color.RED);
lblNewLabel_5.setIcon(new ImageIcon(RundeAnzeigenÜbersicht.class.getResource("/Pics/cross-out.png")));
lblNewLabel_5.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
System.exit(0);
}
});
lblNewLabel_5.setForeground(Color.RED);
lblNewLabel_5.setFont(new Font("Tahoma", Font.PLAIN, 21));
lblNewLabel_5.setBounds(930, 24, 32, 26);
panel_11.add(lblNewLabel_5);
JLabel lblXxx = new JLabel("Runde anzeigen");
lblXxx.setForeground(Color.WHITE);
lblXxx.setFont(new Font("Yu Gothic", Font.PLAIN, 21));
lblXxx.setBackground(Color.WHITE);
lblXxx.setBounds(395, 35, 243, 32);
panel_11.add(lblXxx);
Timer timer = new Timer(1000, new ActionListener() {
public void actionPerformed(ActionEvent e) {
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
String aktuelleZeit = sdf.format(new Date());
uhrZeit.setText(aktuelleZeit);
}
});
timer.start();
JLabel lblNewLabel_7 = new JLabel("New label");
lblNewLabel_7.setBounds(0, 0, 92, 26);
frame.getContentPane().add(lblNewLabel_7);
JLabel label = new JLabel("\r\n");
label.setBounds(0, 0, 288, 26);
frame.getContentPane().add(label);
JLabel lblNewLabel_9 = new JLabel();
lblNewLabel_9.setFont(new Font("Tahoma", Font.PLAIN, 14));
lblNewLabel_9.setBounds(54, 650, 72, 26);
panel.add(lblNewLabel_9);
lblNewLabel_9.setForeground(Color.WHITE);
lblNewLabel_9.setText(str);
JPanel panel_2 = new JPanel();
panel_2.setBackground(SystemColor.control);
panel_2.setBounds(282, 61, 978, 689);
frame.getContentPane().add(panel_2);
panel_2.setLayout(null);
txtTest_1 = new JTextField();
txtTest_1.setEditable(false);
txtTest_1.setBounds(318, 71, 217, 28);
txtTest_1.setOpaque(false);
txtTest_1.setText(RundeAnzeigen.getX());
txtTest_1.setBorder(javax.swing.BorderFactory.createEmptyBorder());
panel_2.add(txtTest_1);
txtTest_1.setColumns(10);
txtTest_2 = new JTextField();
txtTest_2.setEditable(false);
txtTest_2.setColumns(10);
txtTest_2.setOpaque(false);
txtTest_2.setText(rundenleiter);
txtTest_2.setBorder(javax.swing.BorderFactory.createEmptyBorder());
txtTest_2.setBounds(318, 127, 217, 28);
panel_2.add(txtTest_2);
txtTest_3 = new JTextField();
txtTest_3.setEditable(false);
txtTest_3.setColumns(10);
txtTest_3.setOpaque(false);
txtTest_3.setText(kurs);
txtTest_3.setBorder(javax.swing.BorderFactory.createEmptyBorder());
txtTest_3.setBounds(318, 185, 217, 28);
panel_2.add(txtTest_3);
JLabel lblRundenid = new JLabel("RundenID:\r\n");
lblRundenid.setFont(new Font("Dialog", Font.BOLD, 12));
lblRundenid.setBounds(162, 71, 109, 23);
panel_2.add(lblRundenid);
JLabel lblRundenLeiter = new JLabel("Runden - Leiter:");
lblRundenLeiter.setFont(new Font("Dialog", Font.BOLD, 12));
lblRundenLeiter.setBounds(162, 127, 109, 23);
panel_2.add(lblRundenLeiter);
JLabel lblKurs = new JLabel("Kurs:");
lblKurs.setFont(new Font("Dialog", Font.BOLD, 12));
lblKurs.setBounds(162, 185, 109, 23);
panel_2.add(lblKurs);
JSeparator separator = new JSeparator();
separator.setForeground(Color.LIGHT_GRAY);
separator.setBackground(Color.WHITE);
separator.setBounds(308, 93, 211, 2);
panel_2.add(separator);
JSeparator separator_1 = new JSeparator();
separator_1.setForeground(Color.LIGHT_GRAY);
separator_1.setBackground(Color.WHITE);
separator_1.setBounds(308, 149, 211, 2);
panel_2.add(separator_1);
JSeparator separator_2 = new JSeparator();
separator_2.setForeground(Color.LIGHT_GRAY);
separator_2.setBackground(Color.WHITE);
separator_2.setBounds(308, 206, 211, 2);
panel_2.add(separator_2);
textField_1 = new JTextField();
textField_1.setBackground(SystemColor.control);
textField_1.setText(rundenleiter);
textField_1.setBounds(162, 276, 193, 23);
panel_2.add(textField_1);
textField_2 = new JTextField();
textField_2.setBackground(SystemColor.control);
textField_2.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent arg0) {
label_11.setVisible(true);
}
});
textField_2.setColumns(10);
textField_2.setBounds(162, 310, 193, 23);
panel_2.add(textField_2);
textField_3 = new JTextField();
textField_3.setBackground(SystemColor.control);
textField_3.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent arg0) {
lblNewLabel_10.setVisible(true);
}
});
textField_3.setColumns(10);
textField_3.setVisible(false);
textField_3.setBounds(162, 344, 193, 23);
panel_2.add(textField_3);
textField_4 = new JTextField();
textField_4.setBackground(SystemColor.control);
textField_4.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent arg0) {
label_13.setVisible(true);
}
});
textField_4.setColumns(10);
textField_4.setVisible(false);
textField_4.setBounds(162, 377, 193, 23);
panel_2.add(textField_4);
textField_5 = new JTextField();
textField_5.setBackground(SystemColor.control);
textField_5.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
label_14.setVisible(true);
}
});
textField_5.setColumns(10);
textField_5.setVisible(false);
textField_5.setBounds(162, 410, 193, 23);
panel_2.add(textField_5);
textField_6 = new JTextField();
textField_6.setBackground(SystemColor.control);
textField_6.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
label_15.setVisible(true);
}
});
textField_6.setColumns(10);
textField_6.setVisible(false);
textField_6.setBounds(162, 445, 193, 23);
panel_2.add(textField_6);
textField_7 = new JTextField();
textField_7.setBackground(SystemColor.control);
textField_7.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
label_16.setVisible(true);
}
});
textField_7.setColumns(10);
textField_7.setVisible(false);
textField_7.setBounds(162, 479, 193, 23);
panel_2.add(textField_7);
textField_8 = new JTextField();
textField_8.setBackground(SystemColor.control);
textField_8.setColumns(10);
textField_8.setVisible(false);
textField_8.setBounds(162, 513, 193, 23);
panel_2.add(textField_8);
textField = new JTextField();
textField.setBackground(SystemColor.control);
textField.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_47.setText(GesamtAll(textField.getText(),textField_23.getText(),textField_24.getText(),textField_32.getText()));
}
});
textField.setColumns(10);
textField.setBounds(365, 277, 74, 23);
panel_2.add(textField);
textField_9 = new JTextField();
textField_9.setBackground(SystemColor.control);
textField_9.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_46.setText(GesamtAll(textField_9.getText(),textField_22.getText(),textField_25.getText(),textField_33.getText()));
}
});
textField_9.setColumns(10);
textField_9.setBounds(365, 311, 74, 23);
panel_2.add(textField_9);
textField_10 = new JTextField();
textField_10.setBackground(SystemColor.control);
textField_10.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_45.setText(GesamtAll(textField_10.getText(),textField_21.getText(),textField_26.getText(),textField_34.getText()));
}
});
textField_10.setColumns(10);
textField_10.setVisible(false);
textField_10.setBounds(365, 345, 74, 23);
panel_2.add(textField_10);
textField_11 = new JTextField();
textField_11.setBackground(SystemColor.control);
textField_11.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_44.setText(GesamtAll(textField_11.getText(),textField_20.getText(),textField_27.getText(),textField_35.getText()));
}
});
textField_11.setColumns(10);
textField_11.setVisible(false);
textField_11.setBounds(365, 377, 74, 23);
panel_2.add(textField_11);
textField_12 = new JTextField();
textField_12.setBackground(SystemColor.control);
textField_12.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_43.setText(GesamtAll(textField_12.getText(),textField_19.getText(),textField_28.getText(),textField_36.getText()));
}
});
textField_12.setColumns(10);
textField_12.setVisible(false);
textField_12.setBounds(365, 410, 74, 23);
panel_2.add(textField_12);
textField_13 = new JTextField();
textField_13.setBackground(SystemColor.control);
textField_13.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_42.setText(GesamtAll(textField_13.getText(),textField_18.getText(),textField_29.getText(),textField_37.getText()));
}
});
textField_13.setColumns(10);
textField_13.setVisible(false);
textField_13.setBounds(365, 446, 74, 23);
panel_2.add(textField_13);
textField_14 = new JTextField();
textField_14.setBackground(SystemColor.control);
textField_14.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_41.setText(GesamtAll(textField_14.getText(),textField_17.getText(),textField_30.getText(),textField_38.getText()));
}
});
textField_14.setColumns(10);
textField_14.setVisible(false);
textField_14.setBounds(365, 480, 74, 23);
panel_2.add(textField_14);
textField_15 = new JTextField();
textField_15.setBackground(SystemColor.control);
textField_15.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_40.setText(GesamtAll(textField_15.getText(),textField_16.getText(),textField_31.getText(),textField_39.getText()));
}
});
textField_15.setColumns(10);
textField_15.setVisible(false);
textField_15.setBounds(365, 514, 74, 23);
panel_2.add(textField_15);
textField_16 = new JTextField();
textField_16.setBackground(SystemColor.control);
textField_16.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_40.setText(GesamtAll(textField_15.getText(),textField_16.getText(),textField_31.getText(),textField_39.getText()));
}
});
textField_16.setColumns(10);
textField_16.setVisible(false);
textField_16.setBounds(449, 514, 74, 23);
panel_2.add(textField_16);
textField_17 = new JTextField();
textField_17.setBackground(SystemColor.control);
textField_17.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_41.setText(GesamtAll(textField_14.getText(),textField_17.getText(),textField_30.getText(),textField_38.getText()));
}
});
textField_17.setColumns(10);
textField_17.setVisible(false);
textField_17.setBounds(449, 480, 74, 23);
panel_2.add(textField_17);
textField_18 = new JTextField();
textField_18.setBackground(SystemColor.control);
textField_18.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_42.setText(GesamtAll(textField_13.getText(),textField_18.getText(),textField_29.getText(),textField_37.getText()));
}
});
textField_18.setColumns(10);
textField_18.setVisible(false);
textField_18.setBounds(449, 446, 74, 23);
panel_2.add(textField_18);
textField_19 = new JTextField();
textField_19.setBackground(SystemColor.control);
textField_19.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_43.setText(GesamtAll(textField_12.getText(),textField_19.getText(),textField_28.getText(),textField_36.getText()));
}
});
textField_19.setColumns(10);
textField_19.setVisible(false);
textField_19.setBounds(449, 411, 74, 23);
panel_2.add(textField_19);
textField_20 = new JTextField();
textField_20.setBackground(SystemColor.control);
textField_20.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_44.setText(GesamtAll(textField_11.getText(),textField_20.getText(),textField_27.getText(),textField_35.getText()));
}
});
textField_20.setColumns(10);
textField_20.setVisible(false);
textField_20.setBounds(449, 377, 74, 23);
panel_2.add(textField_20);
textField_21 = new JTextField();
textField_21.setBackground(SystemColor.control);
textField_21.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_45.setText(GesamtAll(textField_10.getText(),textField_21.getText(),textField_26.getText(),textField_34.getText()));
}
});
textField_21.setColumns(10);
textField_21.setVisible(false);
textField_21.setBounds(449, 345, 74, 23);
panel_2.add(textField_21);
textField_22 = new JTextField();
textField_22.setBackground(SystemColor.control);
textField_22.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_46.setText(GesamtAll(textField_9.getText(),textField_22.getText(),textField_25.getText(),textField_33.getText()));
}
});
textField_22.setColumns(10);
textField_22.setBounds(449, 311, 74, 23);
panel_2.add(textField_22);
textField_23 = new JTextField();
textField_23.setBackground(SystemColor.control);
textField_23.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_47.setText(GesamtAll(textField.getText(),textField_23.getText(),textField_24.getText(),textField_32.getText()));
}
});
textField_23.setColumns(10);
textField_23.setBounds(449, 277, 74, 23);
panel_2.add(textField_23);
textField_24 = new JTextField();
textField_24.setBackground(SystemColor.control);
textField_24.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_47.setText(GesamtAll(textField.getText(),textField_23.getText(),textField_24.getText(),textField_32.getText()));
}
});
textField_24.setColumns(10);
textField_24.setBounds(533, 277, 74, 23);
panel_2.add(textField_24);
textField_25 = new JTextField();
textField_25.setBackground(SystemColor.control);
textField_25.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_46.setText(GesamtAll(textField_9.getText(),textField_22.getText(),textField_25.getText(),textField_33.getText()));
}
});
textField_25.setColumns(10);
textField_25.setBounds(533, 311, 74, 23);
panel_2.add(textField_25);
textField_26 = new JTextField();
textField_26.setBackground(SystemColor.control);
textField_26.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_45.setText(GesamtAll(textField_10.getText(),textField_21.getText(),textField_26.getText(),textField_34.getText()));
}
});
textField_26.setColumns(10);
textField_26.setVisible(false);
textField_26.setBounds(533, 345, 74, 23);
panel_2.add(textField_26);
textField_27 = new JTextField();
textField_27.setBackground(SystemColor.control);
textField_27.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_44.setText(GesamtAll(textField_11.getText(),textField_20.getText(),textField_27.getText(),textField_35.getText()));
}
});
textField_27.setColumns(10);
textField_27.setVisible(false);
textField_27.setBounds(533, 377, 74, 23);
panel_2.add(textField_27);
textField_28 = new JTextField();
textField_28.setBackground(SystemColor.control);
textField_28.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_43.setText(GesamtAll(textField_12.getText(),textField_19.getText(),textField_28.getText(),textField_36.getText()));
}
});
textField_28.setColumns(10);
textField_28.setVisible(false);
textField_28.setBounds(533, 411, 74, 23);
panel_2.add(textField_28);
textField_29 = new JTextField();
textField_29.setBackground(SystemColor.control);
textField_29.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_42.setText(GesamtAll(textField_13.getText(),textField_18.getText(),textField_29.getText(),textField_37.getText()));
}
});
textField_29.setColumns(10);
textField_29.setVisible(false);
textField_29.setBounds(533, 446, 74, 23);
panel_2.add(textField_29);
textField_30 = new JTextField();
textField_30.setBackground(SystemColor.control);
textField_30.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_41.setText(GesamtAll(textField_14.getText(),textField_17.getText(),textField_30.getText(),textField_38.getText()));
}
});
textField_30.setColumns(10);
textField_30.setVisible(false);
textField_30.setBounds(533, 480, 74, 23);
panel_2.add(textField_30);
textField_31 = new JTextField();
textField_31.setBackground(SystemColor.control);
textField_31.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_40.setText(GesamtAll(textField_15.getText(),textField_16.getText(),textField_31.getText(),textField_39.getText()));
}
});
textField_31.setColumns(10);
textField_31.setVisible(false);
textField_31.setBounds(533, 514, 74, 23);
panel_2.add(textField_31);
textField_32 = new JTextField();
textField_32.setBackground(SystemColor.control);
textField_32.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent arg0) {
textField_47.setText(GesamtAll(textField.getText(),textField_23.getText(),textField_24.getText(),textField_32.getText()));
}
});
textField_32.setColumns(10);
textField_32.setBounds(617, 277, 74, 22);
panel_2.add(textField_32);
textField_33 = new JTextField();
textField_33.setBackground(SystemColor.control);
textField_33.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_46.setText(GesamtAll(textField_9.getText(),textField_22.getText(),textField_25.getText(),textField_33.getText()));
}
});
textField_33.setColumns(10);
textField_33.setBounds(617, 311, 74, 23);
panel_2.add(textField_33);
textField_34 = new JTextField();
textField_34.setBackground(SystemColor.control);
textField_34.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_45.setText(GesamtAll(textField_10.getText(),textField_21.getText(),textField_26.getText(),textField_34.getText()));
}
});
textField_34.setColumns(10);
textField_34.setVisible(false);
textField_34.setBounds(617, 345, 74, 23);
panel_2.add(textField_34);
textField_35 = new JTextField();
textField_35.setBackground(SystemColor.control);
textField_35.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_44.setText(GesamtAll(textField_11.getText(),textField_20.getText(),textField_27.getText(),textField_35.getText()));
}
});
textField_35.setColumns(10);
textField_35.setVisible(false);
textField_35.setBounds(617, 377, 74, 23);
panel_2.add(textField_35);
textField_36 = new JTextField();
textField_36.setBackground(SystemColor.control);
textField_36.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_43.setText(GesamtAll(textField_12.getText(),textField_19.getText(),textField_28.getText(),textField_36.getText()));
}
});
textField_36.setColumns(10);
textField_36.setVisible(false);
textField_36.setBounds(617, 411, 74, 23);
panel_2.add(textField_36);
textField_37 = new JTextField();
textField_37.setBackground(SystemColor.control);
textField_37.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_42.setText(GesamtAll(textField_13.getText(),textField_18.getText(),textField_29.getText(),textField_37.getText()));
}
});
textField_37.setColumns(10);
textField_37.setVisible(false);
textField_37.setBounds(617, 446, 74, 23);
panel_2.add(textField_37);
textField_38 = new JTextField();
textField_38.setBackground(SystemColor.control);
textField_38.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_41.setText(GesamtAll(textField_14.getText(),textField_17.getText(),textField_30.getText(),textField_38.getText()));
}
});
textField_38.setColumns(10);
textField_38.setVisible(false);
textField_38.setBounds(617, 480, 74, 23);
panel_2.add(textField_38);
textField_39 = new JTextField();
textField_39.setBackground(SystemColor.control);
textField_39.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
textField_40.setText(GesamtAll(textField_15.getText(),textField_16.getText(),textField_31.getText(),textField_39.getText()));
}
});
textField_39.setColumns(10);
textField_39.setVisible(false);
textField_39.setBounds(617, 514, 74, 23);
panel_2.add(textField_39);
textField_40 = new JTextField();
textField_40.setBackground(SystemColor.control);
textField_40.setEditable(false);
textField_40.setColumns(10);
textField_40.setVisible(false);
textField_40.setBounds(701, 514, 74, 23);
panel_2.add(textField_40);
textField_41 = new JTextField();
textField_41.setBackground(SystemColor.control);
textField_41.setEditable(false);
textField_41.setColumns(10);
textField_41.setVisible(false);
textField_41.setBounds(701, 480, 74, 23);
panel_2.add(textField_41);
textField_42 = new JTextField();
textField_42.setBackground(SystemColor.control);
textField_42.setEditable(false);
textField_42.setColumns(10);
textField_42.setVisible(false);
textField_42.setBounds(701, 446, 74, 23);
panel_2.add(textField_42);
textField_43 = new JTextField();
textField_43.setBackground(SystemColor.control);
textField_43.setEditable(false);
textField_43.setColumns(10);
textField_43.setVisible(false);
textField_43.setBounds(701, 411, 74, 23);
panel_2.add(textField_43);
textField_44 = new JTextField();
textField_44.setBackground(SystemColor.control);
textField_44.setEditable(false);
textField_44.setColumns(10);
textField_44.setVisible(false);
textField_44.setBounds(701, 378, 74, 23);
panel_2.add(textField_44);
textField_45 = new JTextField();
textField_45.setBackground(SystemColor.control);
textField_45.setEditable(false);
textField_45.setColumns(10);
textField_45.setVisible(false);
textField_45.setBounds(701, 345, 74, 23);
panel_2.add(textField_45);
textField_46 = new JTextField();
textField_46.setBackground(SystemColor.control);
textField_46.setEditable(false);
textField_46.setColumns(10);
textField_46.setBounds(701, 311, 74, 23);
panel_2.add(textField_46);
textField_47 = new JTextField();
textField_47.setBackground(SystemColor.control);
textField_47.setEditable(false);
textField_47.setColumns(10);
textField_47.setBounds(701, 277, 74, 23);
panel_2.add(textField_47);
JLabel lblNewLabel_2 = new JLabel("Name");
lblNewLabel_2.setFont(new Font("Yu Gothic UI", Font.BOLD, 12));
lblNewLabel_2.setBounds(162, 242, 193, 23);
panel_2.add(lblNewLabel_2);
JLabel lblBahn = new JLabel("Bahn 1");
lblBahn.setFont(new Font("Yu Gothic UI", Font.BOLD, 12));
lblBahn.setBounds(365, 242, 74, 23);
panel_2.add(lblBahn);
JLabel lblBahn_1 = new JLabel("Bahn 2\r\n");
lblBahn_1.setFont(new Font("Yu Gothic UI", Font.BOLD, 12));
lblBahn_1.setBounds(449, 242, 74, 23);
panel_2.add(lblBahn_1);
JLabel lblBahn_2 = new JLabel("Bahn 3\r\n");
lblBahn_2.setFont(new Font("Yu Gothic UI", Font.BOLD, 12));
lblBahn_2.setBounds(534, 241, 74, 23);
panel_2.add(lblBahn_2);
JLabel lblBahn_3 = new JLabel("Bahn 4\r\n");
lblBahn_3.setFont(new Font("Yu Gothic UI", Font.BOLD, 12));
lblBahn_3.setBounds(619, 241, 74, 23);
panel_2.add(lblBahn_3);
JLabel lblGesamt = new JLabel("Gesamt");
lblGesamt.setFont(new Font("Yu Gothic UI", Font.BOLD, 12));
lblGesamt.setBounds(701, 241, 74, 23);
panel_2.add(lblGesamt);
JLabel label_1111 = new JLabel("+");
label_1111.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
textField_3.setVisible(true);
textField_10.setVisible(true);
textField_21.setVisible(true);
textField_26.setVisible(true);
textField_34.setVisible(true);
textField_45.setVisible(true);
label_22.setVisible(true);
}
});
label_1111.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_1111.setBounds(132, 344, 20, 23);
label_1111.setVisible(false);
label_23 = new JLabel("");
label_23.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
int eingabe = JOptionPane.showConfirmDialog(frame,"Wollen Sie Ihre Eingaben wirklich speichern?","Speichern",JOptionPane.YES_NO_OPTION);
if(eingabe == 0) {
JOptionPane.showMessageDialog(frame,"Ihre Eingaben wurden erfolgreich gespeichert", "Speichern",JOptionPane.INFORMATION_MESSAGE);
new DesignNew();
frame.dispose();
}}}
);
lblNewLabel_10 = new JLabel("+");
lblNewLabel_10.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_3.setVisible(true);
textField_10.setVisible(true);
textField_21.setVisible(true);
textField_26.setVisible(true);
textField_34.setVisible(true);
textField_45.setVisible(true);
label_22.setVisible(true);
}
});
lblNewLabel_10.setFont(new Font("Tahoma", Font.PLAIN, 20));
lblNewLabel_10.setBounds(132, 340, 20, 29);
panel_2.add(lblNewLabel_10);
label_23.setIcon(new ImageIcon(RundeAnzeigenÜbersicht.class.getResource("/Pics/confirm.png")));
label_23.setBounds(835, 582, 70, 68);
panel_2.add(label_23);
panel_2.add(label_11);
label_12 = new JLabel("+");
label_12.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_4.setVisible(true);
textField_11.setVisible(true);
textField_20.setVisible(true);
textField_27.setVisible(true);
textField_35.setVisible(true);
textField_44.setVisible(true);
label_17.setVisible(true);
}
});
label_12.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_12.setBounds(132, 377, 20, 23);
label_12.setVisible(false);
panel_2.add(label_12);
label_13 = new JLabel("+");
label_13.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_5.setVisible(true);
textField_12.setVisible(true);
textField_19.setVisible(true);
textField_28.setVisible(true);
textField_36.setVisible(true);
textField_43.setVisible(true);
label_18.setVisible(true);
}
});
label_13.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_13.setBounds(132, 410, 20, 23);
label_13.setVisible(false);
panel_2.add(label_13);
label_14 = new JLabel("+");
label_14.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_6.setVisible(true);
textField_13.setVisible(true);
textField_18.setVisible(true);
textField_29.setVisible(true);
textField_37.setVisible(true);
textField_42.setVisible(true);
label_19.setVisible(true);
}
});
label_14.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_14.setBounds(132, 445, 20, 23);
label_14.setVisible(false);
panel_2.add(label_14);
label_15 = new JLabel("+");
label_15.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_7.setVisible(true);
textField_14.setVisible(true);
textField_17.setVisible(true);
textField_30.setVisible(true);
textField_38.setVisible(true);
textField_41.setVisible(true);
label_20.setVisible(true);
}
});
label_15.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_15.setBounds(132, 479, 20, 23);
label_15.setVisible(false);
panel_2.add(label_15);
label_16 = new JLabel("+");
label_16.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_8.setVisible(true);
textField_15.setVisible(true);
textField_16.setVisible(true);
textField_31.setVisible(true);
textField_39.setVisible(true);
textField_40.setVisible(true);
label_21.setVisible(true);
}
});
label_16.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_16.setBounds(132, 513, 20, 23);
label_16.setVisible(false);
panel_2.add(label_16);
label_22 = new JLabel("-");
label_22.setVisible(false);
label_22.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_3.setVisible(false);
textField_10.setVisible(false);
textField_21.setVisible(false);
textField_26.setVisible(false);
textField_34.setVisible(false);
textField_45.setVisible(false);
label_22.setVisible(false);
label_1111.setVisible(false);
}
});
label_22.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_22.setBounds(102, 344, 20, 23);
panel_2.add(label_22);
label_18 = new JLabel("-");
label_18.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_5.setVisible(false);
textField_12.setVisible(false);
textField_19.setVisible(false);
textField_28.setVisible(false);
textField_36.setVisible(false);
textField_43.setVisible(false);
label_18.setVisible(false);
label_13.setVisible(false);
}
});
label_18.setVisible(false);
label_18.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_18.setBounds(102, 410, 20, 23);
panel_2.add(label_18);
label_19 = new JLabel("-");
label_19.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_6.setVisible(false);
textField_13.setVisible(false);
textField_18.setVisible(false);
textField_29.setVisible(false);
textField_37.setVisible(false);
textField_42.setVisible(false);
label_19.setVisible(false);
label_14.setVisible(false);
}
});
label_19.setVisible(false);
label_19.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_19.setBounds(102, 444, 20, 23);
panel_2.add(label_19);
label_20 = new JLabel("-");
label_20.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_7.setVisible(false);
textField_14.setVisible(false);
textField_17.setVisible(false);
textField_30.setVisible(false);
textField_38.setVisible(false);
textField_41.setVisible(false);
label_20.setVisible(false);
label_15.setVisible(false);
}
});
label_20.setVisible(false);
label_20.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_20.setBounds(102, 479, 20, 23);
panel_2.add(label_20);
label_21 = new JLabel("-");
label_21.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_8.setVisible(false);
textField_15.setVisible(false);
textField_16.setVisible(false);
textField_31.setVisible(false);
textField_39.setVisible(false);
textField_40.setVisible(false);
label_21.setVisible(false);
label_16.setVisible(false);
}
});
label_21.setVisible(false);
label_21.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_21.setBounds(102, 513, 20, 23);
panel_2.add(label_21);
JLabel ZiehLabel = new JLabel("");
ZiehLabel.setBounds(-282, -56, 634, 503);
panel_2.add(ZiehLabel);
separator_3 = new JSeparator();
separator_3.setForeground(Color.LIGHT_GRAY);
separator_3.setBackground(Color.WHITE);
separator_3.setBounds(132, 263, 659, 2);
panel_2.add(separator_3);
lblNewLabel_3 = new JLabel("Speichern");
lblNewLabel_3.setBounds(837, 651, 74, 14);
panel_2.add(lblNewLabel_3);
ZiehLabel.addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent e) {
Startansicht.pX = e.getX();
Startansicht.pY = e.getY();
}
});
label_17 = new JLabel("-");
label_17.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
textField_4.setVisible(false);
textField_11.setVisible(false);
textField_20.setVisible(false);
textField_27.setVisible(false);
textField_35.setVisible(false);
textField_44.setVisible(false);
label_17.setVisible(false);
lblNewLabel_10.setVisible(false);
}
});
label_17.setVisible(false);
label_17.setFont(new Font("Tahoma", Font.PLAIN, 20));
label_17.setBounds(102, 377, 20, 23);
panel_2.add(label_17);
ZiehLabel.addMouseMotionListener(new MouseMotionAdapter() {
public void mouseDragged(MouseEvent e) {
frame.setLocation(frame.getLocation().x + e.getX() - Startansicht.pX,
frame.getLocation().y + e.getY() - Startansicht.pY);
}
});
frame.setVisible(true);
}
}