From: Niki Roo Date: Sat, 25 Apr 2020 13:18:01 +0000 (+0200) Subject: Java 6 compat X-Git-Tag: fanfix-swing-0.0.2 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=9e0b82ed8d81004dd8e8b6443f023a9a8618eb7c;p=fanfix-swing.git Java 6 compat --- diff --git a/src/be/nikiroo/fanfix_swing/gui/MainFrame.java b/src/be/nikiroo/fanfix_swing/gui/MainFrame.java index 9441a514..2df86cc5 100644 --- a/src/be/nikiroo/fanfix_swing/gui/MainFrame.java +++ b/src/be/nikiroo/fanfix_swing/gui/MainFrame.java @@ -314,7 +314,7 @@ public class MainFrame extends JFrame { }; } - this.revalidate(); + this.validate(); this.repaint(); SwingUtilities.invokeLater(new Runnable() {