This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Double buffered JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Double buffered JFrame" Watch "Double buffered JFrame" New topic
Author

Double buffered JFrame

Tom Bigbee
Greenhorn

Joined: Sep 16, 2002
Posts: 19
Greetings
I am trying to create a double buffered JFrame - draw a line on a JPanel on the JFrame - shift focus onto another app then reselect the JFrame and have my line reappear - this is a project I am doing on my own (not a homework assignment) If anybody knows where I can view some demo code on this subject please help.
Thanks, Tom


Thomas Bigbee - SCJP, SCJD, SCWCD
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
http://www.codeproject.com/useritems/javadoublebuffer.asp


"JavaRanch, where the deer and the Certified play" - David O'Meara
Tom Bigbee
Greenhorn

Joined: Sep 16, 2002
Posts: 19
Thank you
 
Consider Paul's rocket mass heater.
 
subject: Double buffered JFrame