File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Printing Problem(Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Printing Problem(Urgent)" Watch "Printing Problem(Urgent)" New topic

Printing Problem(Urgent)

Dhiraj Srivastava
Ranch Hand

Joined: Aug 29, 2001
Posts: 49
Can any one please tell me how can i program a button on a frame so that i gives me the output of that frame please reply soon its urgent
Gurpreet Sachdeva
Ranch Hand

Joined: Feb 20, 2001
Posts: 90
Hello Dhiraj,
I think this can be done by using printAll(Graphics) method of Component class.You can see its details java.awt.Graphics)" rel="nofollow">here
I hope this will help.
Guepreet Sachdeva

Regards<BR>Gurpreet Sachdeva<P>For Mock Exams, FAQ, Exam tips and some useful information about Bitshift operator, inner classes, garbage collection,etc please visit: <A HREF="" TARGET=_blank rel="nofollow"></A>
I agree. Here's the link:
subject: Printing Problem(Urgent)
It's not a secret anymore!