Hi Peter:
i guess i was not clear enough abt my problem . I wanna print the contents of my TextArea in my printer using PrinterJob class
can u help me pls
rgds siva
Originally posted by Peter Lyons:
A JTextArea extends JTextComponent, so you should be able to use getText(), which returns a String. Then you can print that.
Doesn't that work?