From: Niki Roo Date: Sun, 5 Mar 2017 19:30:11 +0000 (+0100) Subject: revalidate: not in java 1.6 X-Git-Tag: fanfix-1.4.1~4 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=80791ae806bab4d8d2e0ab4c92cf881fd0978347;p=fanfix.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 a793513..8efe1f7 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(); } });