|> -----Original Message-----
|> From: Joe Sam Shirah [mailto:[EMAIL PROTECTED]]
||>     Hi Hu,
|>
|>
|>     Flickering is almost always resolved by double buffering.

Not really. ScrollPanes (at least, last year when I was trying to use them, which I'm 
not anymore
because I rolled my own out of frustration with the flickering) have a nasty habit of 
clearing
themselves if you scroll both horizontally and vertically at the same time, which you 
can do
programmatically, because the exposed region is a thin vertical rectangle and a thin 
horizontal
rectangle whose combined bounding box is the whole panel. The Swing version is bad 
because it doesnt
(last time I checked) BitBlt, but rather repaints the whole thing.

|> Swing
|> components are double buffered by default.
|>
|>
|>
|>                                                     Joe Sam
|>
|>
|>
|> Joe Sam Shirah
|> Autumn Software
|> What you don't know DOES hurt you...and your business
|> ___________________________________________
|>
|> -----Original Message-----
|> From: Hu Jia <[EMAIL PROTECTED]>
|> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
|> Date: Friday, October 22, 1999 3:58 AM
|> Subject: [JAVA2D] How can I get rid of flicker in ScrollPane
|>
|>
|> >Hi,guys:
|> >   Here I got a problem:How can I get rid of the flicker in
|> ScrollPane when
|> >drag the scrollbar to view a entire image showing in the
|> ScrollPane?Thanks!
|> >                                        Hu Jia
|> >
|>
|> =============================================================
|> ==============
|> To unsubscribe, send email to [EMAIL PROTECTED] and
|> include in the body
|> of the message "signoff JAVA2D-INTEREST".  For general help,
|> send email to
|> [EMAIL PROTECTED] and include in the body of the message "help".
|>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to