set jFrame double buffered
how can i set my jFrame graphics double buffered?
i noticed that jComponents have a double buffered property but not the jFrame.
my application repaints on Form_Mousemove + flickers too much.
i'd rather learn how to do this with the jFrame than transfer the graphics into a component that supports double buffering.
thanks for any help
Re: set jFrame double buffered
Quote:
Originally Posted by
.paul.
my application repaints on Form_Mousemove + flickers too much.
i'd rather learn how to do this with the jFrame than transfer the graphics into a component that supports double buffering.
You really expect someone on a forum to rack their brains to find how to do something the wrong way?
Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)
All Swing components are double buffered by default.
db
Re: set jFrame double buffered
Quote:
Originally Posted by
DarrylBurke
thankyou, but if i knew it was the wrong way i wouldn't be asking