Print out a JFrame !
i have many panels and texts and Tables ... All are inside a JFrame (or a JTabbedPane)
My Question is sooooo simple :
How to Print this JFrame (or JTabbedPane) ?!
i searched the web and found so many codes but they r all so complicated...
Please any body help me with a VERY SIMPLE code doing that ?!!
(Note : the JFrame has the same dimension as an A4 Paper)
many many Thanks...:rolleyes:
I'm not sure that there is a way to do this with one or three method calls. Have you tried using the code you've seen? Have you read any tutorials on printing? Here's one:
Article: Java 2 Platform Introduces Print Capability to the Swing Forum
Why not give it a try and if it fails, come on back with your code.
and he doesn't respond to replies and has been warned about cross-posting without notification before. Another one for the do-not-help list.