Re: Printing text files in java
Thursday, June 6, 2002 10:43 PM
This approach would be appropriate:
Take a Panel(that represents the physical page in all aspects) that implements the Printable interface and draw the text(contents) contained in the file, on the Panel.
Now this Panel can be printed as it is using Java Print API.