How to Print Tables

How to Print Tables (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Other Swing Features)

How to Print Tables

The JTable class provides support for printing tables. The JTable printing API includes methods that allow you to implement both basic and advanced printing tasks. For common printing tasks, when you need to simply print a table, use the print method directly. The print method has several forms with various argument sets. This method prepares your table, gets a corresponding Printable object, and sends it to a printer.

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *

What is 11 + 9 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)