small visual bug fix

gui
David Groys 2024-06-14 18:33:54 +02:00
parent ed04821220
commit 5eaff1161b
1 changed files with 2 additions and 2 deletions

View File

@ -472,7 +472,7 @@ public class Main extends JFrame {
if(facade.sign_up_user(nameTXT, passwordTXT, passwordTXTTwo, ortTXT, plzTXT, if(facade.sign_up_user(nameTXT, passwordTXT, passwordTXTTwo, ortTXT, plzTXT,
carNameTXT, carCO2TXT, carSpeedTXT, bikeSpeedTXT)){ carNameTXT, carCO2TXT, carSpeedTXT, bikeSpeedTXT)){
profileCreate(); profileCreate();
profile.setBounds(280, 190, 200,200); profile.setBounds(280, 168, 200,200);
menu.add(profile); menu.add(profile);
menu.revalidate(); menu.revalidate();
menu.repaint(); menu.repaint();
@ -691,7 +691,7 @@ public class Main extends JFrame {
carNameTXT, carCO2TXT, carSpeedTXT, bikeSpeedTXT)){ carNameTXT, carCO2TXT, carSpeedTXT, bikeSpeedTXT)){
menu.remove(profile); menu.remove(profile);
profileCreate(); profileCreate();
profile.setBounds(280, 190, 200,200); profile.setBounds(280, 168, 200,200);
menu.add(profile); menu.add(profile);
menu.revalidate(); menu.revalidate();
menu.repaint(); menu.repaint();