revalidate: not in java 1.6
authorNiki Roo <niki@nikiroo.be>
Sun, 5 Mar 2017 19:30:11 +0000 (20:30 +0100)
committerNiki Roo <niki@nikiroo.be>
Sun, 5 Mar 2017 19:30:11 +0000 (20:30 +0100)
src/be/nikiroo/fanfix/reader/LocalReaderFrame.java

index a7935138d6ff2157cf11a5e356d8eb366862d112..8efe1f7f65d2feb55e412a8e732d4b10186bc512 100644 (file)
@@ -108,7 +108,8 @@ class LocalReaderFrame extends JFrame {
 
                pgBar.addUpdateListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
-                               revalidate();
+                               invalidate();
+                               validate();
                                repaint();
                        }
                });