I want to create and print reports from default printer using Java Codes. Can anybody tell which type of reporting tool I have to use and forward me code to print that report
depends on what you want to print. A well known open source reporting framework is JasperReports:
Printing a JTable is supported by java (see java doc). Printing other swing components can be done use J2PrinterWorks:
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.