aspose file tools
The moose likes Swing / AWT / SWT and the fly likes header in print method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "header in print method" Watch "header in print method" New topic
Author

header in print method

kirtesh jain
Ranch Hand

Joined: Nov 15, 2008
Posts: 44
hi...
i am printing a table in one place where i have some string for header....
so i want to use different font style how can i do that please tell me thank you..
Andre Uhres
Greenhorn

Joined: Nov 23, 2008
Posts: 23
Originally posted by kirtesh jain:
i am printing a table in one place where i have some string for header....
so i want to use different font style how can i do that


TableReportDemo shows you how to customize the JTable print function.
As an example, we print a report header with two rows and a border.
We can easily adapt it to other printing requirements, such as customized headerfonts (to do within the print method of the TableReport class).
TableReportDemo (source code in jar)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: header in print method
 
Similar Threads
Adding custom Header information to the HttpServletRequest object
Printing company information with table
How to properly read the custom Header value in the E-mail envolope
how to delete a row header
WA #1.....word association