How can i print a page in Swing Application?

Hi

I would like to know,How can I print a HTML page using Swing Application.
Can anyone please give me an idea on this.

Thanks
Vijaya.
vijayamAsked:
Who is Participating?
 
CEHJCommented:
0
 
sriki77Commented:
Hi vijayam,

You can use JEditorPane for displaying HTML and also use activetree for printing the HTML. Have a look at the following links

http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JEditorPane.html
http://www.activetree.com/smartjprint/html_demo.html



Cheers!
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.