My objective is actually [B]extremely[/B] simple, but I just don't know how to do it. I want to put some swing components on top of graphics which fills the entire screen. That's it. And I can't figure out how to do it... Some other side-questions that I would love to be answered: For double-buffering, which is better for performance: BufferedImage or VolatileImage? Which is better for display (consistent graphics, no flashing whatsoever)? Why does JFrame seem to handle graphics better than Frame (without adding a Thread.sleep() function in a Frame class, the graphics flash [when double-buffering with VolatileImage]. When I …

Member Avatar
Member Avatar
+0 forum 1

Hey all, I have a htpc project that I am working on. The main program loads dlls which are basically other win forms. On each of these forms, including the main program, I use a picturebox (double buffered picturebox) for the background image and then draw everything on it by hand. Whenever I go from the main program to the dll, I get a weird flicker. It looks like it is the previously used double buffer. Is there any way to clear the background double buffer before the flicker? Here's a couple of videos of the problem: [url]http://www.youtube.com/watch?v=-wL2r91ch7c[/url] [url]http://www.youtube.com/watch?v=IgISEeajajE[/url] Notice …

Member Avatar
Member Avatar
+0 forum 3

I'm trying to create a smal paint component( similar to MSpaint but not the same thing) in vb.net. I have a panel that holds the background image and a picturebox over the panel that I draw on. I'm using graphics to draw shapes and I have my own custom double buffer, meaning that I draw on the picturebox while the mouse ismoving and on mouse up I draw the final image on the buffer image and on paint event the buffer image replaces the picturebox image. also, i have set the form properties to enable double buffering Me.SetStyle(ControlStyles.ResizeRedraw, True) Me.SetStyle(ControlStyles.DoubleBuffer, …

Member Avatar
Member Avatar
+0 forum 3

The End.