> `JProgressBar` is not printed if JDK 1.1 printing API is used. > JDK1.1 printing API `PrintJob ` doesn't support `Graphics2D`. > JProgressBar seems to require Graphics2D as `BasicProgressBarUI` needs > Graphics2D to do > `g2.setStroke(new BasicStroke(...))` > > Fix is made to not rely on setStroke for non-Graphics2D printing case and > also not to clip progress string > Also, a null pagerange check is added for PrintJobDelegate as we reset > PageRanges if range is not set so to prevent NPE when "All" is used in print > dialog instead of "Pages from"
Prasanta Sadhukhan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 13 additional commits since the last revision: - Merge branch 'master' of https://git.openjdk.java.net/jdk into JDK-6328248 - Remove unused block - Remove PageRange regression, fix Synth - Test enhancement - Variable rename - Review comment - Remove unused imports - Remove unused imports - Optimize - Optimize - ... and 3 more: https://git.openjdk.org/jdk/compare/c4a52b3e...4d33aff7 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/29752/files - new: https://git.openjdk.org/jdk/pull/29752/files/67761520..4d33aff7 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=29752&range=08 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29752&range=07-08 Stats: 580330 lines in 3076 files changed: 294296 ins; 260574 del; 25460 mod Patch: https://git.openjdk.org/jdk/pull/29752.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29752/head:pull/29752 PR: https://git.openjdk.org/jdk/pull/29752
