Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

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.
0
vijayam
Asked:
vijayam
3 Solutions
 
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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now