954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Java Swing and Graphics: Problem integrating the two

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)?

Armanious
Light Poster
25 posts since Apr 2011
Reputation Points: 10
Solved Threads: 2
 

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

Armanious
Light Poster
25 posts since Apr 2011
Reputation Points: 10
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: