From: Niki Roo Date: Sun, 5 Mar 2017 19:30:11 +0000 (+0100) Subject: revalidate: not in java 1.6 X-Git-Tag: fanfix-swing-0.0.1~12^2~488 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=80791ae806bab4d8d2e0ab4c92cf881fd0978347;p=fanfix-swing.git revalidate: not in java 1.6 --- diff --git a/src/be/nikiroo/fanfix/reader/LocalReaderFrame.java b/src/be/nikiroo/fanfix/reader/LocalReaderFrame.java index a7935138..8efe1f7f 100644 --- a/src/be/nikiroo/fanfix/reader/LocalReaderFrame.java +++ b/src/be/nikiroo/fanfix/reader/LocalReaderFrame.java @@ -108,7 +108,8 @@ class LocalReaderFrame extends JFrame { pgBar.addUpdateListener(new ActionListener() { public void actionPerformed(ActionEvent e) { - revalidate(); + invalidate(); + validate(); repaint(); } });