Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Successful cloning of a Panel?  RSS feed

John Richardson
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to send a cloned subclass of Panel to the printer (an image), then allow the user to change the original to whatever they want by opening a new file.
My question: Can I successfully clone the Panel (or the entire Frame) and hide it from the user, and keep printing the cloned panel behind the scenes in memory? I have to display pages on the new cloned(printed) panel too because this would be a multipage document.
Essentially, I want to keep the UI "alive" during printing.
Also, are there any other gotchas I should look out for in AWT with that approach?
Any information would be much appreciated.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!