*
The moose likes Swing / AWT / SWT and the fly likes Successful cloning of a Panel? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Successful cloning of a Panel?" Watch "Successful cloning of a Panel?" New topic
Author

Successful cloning of a Panel?

John Richardson
Greenhorn

Joined: Feb 20, 2004
Posts: 13
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.
Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Successful cloning of a Panel?
 
Similar Threads
Dynamically adding a panel to a panel
Cloning Question
Any success using threads to isolate printing functions?
problem in refreshing JPanels in cardlayout
Hide tabs in JTabbedPane