This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes how can i get rid of flicker from a scrollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how can i get rid of flicker from a scrollPane" Watch "how can i get rid of flicker from a scrollPane" New topic
Author

how can i get rid of flicker from a scrollPane

darren green
Greenhorn

Joined: Sep 17, 2001
Posts: 6
g'day
i am trying to use a scrollpane of size(300,300) to display an image on a canvas of size (800, 500)
every time i move one of the scrollbars the image flickers, I have altered the canvases' update method so the canvas won't clear before it redraws and am using double buffering in the canvas so the image won't display until it is finished, yet it still flickers a great deal.
if anyone has any ideas please let me know, thanx
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how can i get rid of flicker from a scrollPane
 
Similar Threads
flickering of image when using a scrollPane
default layouts
Anbody....giving!!!
Displaying data
How can I scroll an image ?