Issue in painting last row of JTable due to decrement in `MaxRow `during computation. Differences in `MaxRow `computation between `TablePrintable` and `BasicTableUI `class. The Bug is fixed in both the classes. Test Case added to validate the same.
------------- Commit messages: - 8236907: JTable added to nested panels does not paint last - Merge branch 'branch_8236907' of github.com:TejeshR13/jdk into branch_8236907 - 8236907: JTable added to nested panels does not paint last - 8236907: JTable added to nested panels does not paint last - 8236907: JTable added to nested panels does not paint last - 8236907: JTable added to nested panels does not paint last - Merge branch 'master' of github.com:TejeshR13/jdk - Initial Commit. Changes: https://git.openjdk.java.net/jdk/pull/7422/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7422&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8236907 Stats: 279 lines in 3 files changed: 258 ins; 17 del; 4 mod Patch: https://git.openjdk.java.net/jdk/pull/7422.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7422/head:pull/7422 PR: https://git.openjdk.java.net/jdk/pull/7422