JDK-8170349 : The printed content is beyond the borders.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_ubuntu
  • CPU: x86
  • Submitted: 2016-11-24
  • Updated: 2017-06-29
  • Resolved: 2016-12-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b153Fixed
Related Reports
Relates :  
Description
Testsuite name: Swing Functional
Test name(s):Swing_JTable/Manual/PrintManualTest_FitWidthMultiple
Product(s) tested:JDK 9b145 (64bit)
OS/architecture:Ubuntu16.04-x64

Case Instruction:
This test case brings up JTable with more Columns and Rows.Press the Print Button. It Prints in PRINT_MODE_FIT_WIDTH 
It Pops up the Print Dialog. Check if Job/Print Attributes in the Print Dialog are configurable.Default Print out will be in Landscape 
The Print out should have JTable Centered on the Print out with thin borders.Prints out with Header and Footer 

issue:
When we press the Print Button.The Print out is displayed incorrectly.The printed content is beyond the borders.refer to PrintManualTest.jpg, correct one refer to correct.jpg.
Comments
Seems to be a regression of JDK-8081491. Fails with jdk9 on windows.
28-11-2016