• Post Reply Bookmark Topic Watch Topic
  • New Topic

header in print method  RSS feed

 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!