1.11M Members

Java Swing and Graphics: Problem integrating the two

 
0
 

My objective is actually extremely 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 do the same with JFrame, it stays consistent)?

 
0
 

Bump. Guys, if this is not possible, at least tell me...

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: