Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im using a custom Look & Feel and my JTable won print, why?

Custom feel jtable look print
0
Posted

Im using a custom Look & Feel and my JTable won print, why?

0

Unfortunately, it is very easy to create a custom Look & Feel that will display but not print a JTable. The problem is that the custom Look & Feel can’t produce the JTable headers at the higher printing resolutions required. This problem only occurs if you are using J2TablePrinter headers, which you can confirm by setting tablePrinter.setColumnHeaderPrinting(J2TablePrinter.NO_PAGES) and seeing if you can now print your JTable. Among the custom Look & Feel implementations that are known to have this problem are Kunststoff 2.0 on Windows and the Macintosh Look & Feel on OS X under JDK 1.3.1 (the Aqua Look & Feel on OS X under JDK 1.4.1 is fine).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123