revalidate for repainting
authorimmler@in.tum.de
Thu, 27 Nov 2008 21:15:31 +0100
changeset 34386 b295fe78294a
parent 34385 5ff833cfd3c8
child 34387 d67fe0cb1106
revalidate for repainting
src/Tools/jEdit/src/jedit/ScrollerDockable.scala
--- a/src/Tools/jEdit/src/jedit/ScrollerDockable.scala	Wed Nov 26 18:10:53 2008 +0100
+++ b/src/Tools/jEdit/src/jedit/ScrollerDockable.scala	Thu Nov 27 21:15:31 2008 +0100
@@ -150,7 +150,7 @@
 
     if(message_panel.no == -1) {
       message_panel.no = 0
-      message_panel.invalidate
+      message_panel.revalidate
     }
   }
 
@@ -160,7 +160,7 @@
     if (e.getSource == vscroll){
       message_panel.no = e.getValue / subunits
       message_panel.offset = 100 - 100 * (e.getValue % subunits) / subunits
-      message_panel.invalidate
+      message_panel.revalidate
     }
   }