diff --git a/src/de/jaujau/gui/Dashboard_GUI.java b/src/de/jaujau/gui/Dashboard_GUI.java index 1668e9e..d832866 100644 --- a/src/de/jaujau/gui/Dashboard_GUI.java +++ b/src/de/jaujau/gui/Dashboard_GUI.java @@ -354,7 +354,10 @@ public class Dashboard_GUI extends JPanel{ // Highscore Tabelle private void renderHighscore() { - + for(Component c : highscore.getComponents()){ + highscore.remove(c); + highscore.revalidate(); + } String[][] rowData = spielerverwaltung.gethighscoreTabelle(); //Bsp. Datensatz muss noch entfernt werden.