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 How to print JComponents Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to print JComponents" Watch "How to print JComponents" New topic

How to print JComponents

tausahmed ahmed

Joined: Dec 19, 2002
Posts: 15
How do i print JComponents like JLabel, JTextField, JTable all on one page.
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

The Java Tutorial on Sun's website has a section on printing that covers printing components... have you looked at that yet?

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: How to print JComponents
It's not a secret anymore!