|
-
Mar 27th, 2002, 07:06 AM
#1
Thread Starter
Member
Offscreen buffering of Display
Does anyone know how to disable java from 'off-screen buffering' of the display, so that all the work for the display occurs on screen, so that when using swing I don't have a frozen display until a section of code is done, then a refresh...
I've had progs that before now have been using swing, and have started, processed, not changed, then refreshed to the final stage....
Any ideas?
-
Mar 27th, 2002, 09:32 AM
#2
Fanatic Member
i have the same prob.
overload the paint() function
i still get flickering though
Visit www.fragblast.com
Gaming, forums, and a online RPG/Battle system
(__Flagg) DOT NET? is this a Hindi Dating service?
-
Mar 27th, 2002, 02:40 PM
#3
Thread Starter
Member
Do you have an example of an overriden paint() method???
I've been told to try this before, but haven't had much success........
-
Mar 28th, 2002, 01:24 AM
#4
Dazed Member
Bolth reside in the JComponent class.
public boolean isDoubleBuffered();
public void setDoubleBuffered(boolean b)
I don't have a frozen display until a section of code is done
then a refresh...
Im not sure that turning double buffering off would help though.It takes longer for a component to render it's individual parts on screen than it does for a rectangular area-copy to take place. Area copies are always faster because they are performed by the operating system or even the graphics processor. At this level they are commonly refered to as "bit-block transfers" or BitBLT's.
-
Mar 28th, 2002, 01:31 AM
#5
Dazed Member
This thread might help of you guys want to check it out.
http://www.vbforums.com/showthread.p...ght=Flickering
Last edited by Dilenger4; Mar 28th, 2002 at 01:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|