From 80791ae806bab4d8d2e0ab4c92cf881fd0978347 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sun, 5 Mar 2017 20:30:11 +0100 Subject: [PATCH] revalidate: not in java 1.6 --- src/be/nikiroo/fanfix/reader/LocalReaderFrame.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } }); -- 2.27.0