JDK-8294535 : Add screen capture functionality to PassFailJFrame
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2022-09-28
  • Updated: 2024-03-15
  • Resolved: 2023-08-23
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 11 JDK 17 JDK 21 JDK 22 JDK 8
11.0.23Fixed 17.0.11Fixed 21.0.2Fixed 22 b12Fixed 8u421Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Add screen capture functionality to PassFailJFrame
1) Add 'Screen Capture' button to the instruction frame if test needs to capture the screen.
2) Take screenshot of the entire screen or just test UI frames.
3) Use createMultiResolutionScreenCapture to capture the native resolution.
Comments
Fix request [11u] I backport this for parity with 11.0.23-oracle. No risk, only tests change. Clean backport. SAP nightly testing passed. Local Test pass with these tests: test/jdk/javax/swing/JComboBox/JComboBoxActionEvent.java test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java test/jdk/javax/swing/JRadioButton/bug4380543.java
23-02-2024

Fix request [17u] I backport this for parity with 17.0.11-oracle. No risk, only tests change. Clean backport. SAP nightly testing passed. Local Test pass with these tests: test/jdk/javax/swing/JComboBox/JComboBoxActionEvent.java test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java test/jdk/javax/swing/JRadioButton/bug4380543.java
23-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2539 Date: 2024-02-22 06:50:15 +0000
22-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2218 Date: 2024-02-22 06:47:25 +0000
22-02-2024

Fix request: 21u This enhancement adds screenshot feature to PassFailJFrame which is a manual test framework. It also adds builder pattern to simplify creating and configuring a PassFailJFrame instance. Clean backport. Low risk. Pull request: https://github.com/openjdk/jdk21u/pull/335
07-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u/pull/335 Date: 2023-11-07 20:15:22 +0000
07-11-2023

See JDK-8315071 for sample usage of the new features.
11-09-2023

Changeset: dbb788f3 Author: lawrence.andrews <lawrence.andrews@oracle.com> Committer: Alexey Ivanov <aivanov@openjdk.org> Date: 2023-08-23 17:48:07 +0000 URL: https://git.openjdk.org/jdk/commit/dbb788f34dbbe0aa5c8356fb4a5dc19b96787d25
23-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14094 Date: 2023-05-23 02:52:03 +0000
24-05-2023