<AWT Dev> RFR: 8267307: Introduce new client property for XAWT: xawt.mwm_decor_title [v2]

Maxim Kartashev github.com+28651297+mkartashev at openjdk.java.net
Fri Jun 4 08:44:24 UTC 2021


On Tue, 1 Jun 2021 11:31:59 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> Maxim Kartashev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Changed the check for the XFramePeer target being javax.swing.RootPaneContainer in
>>   order to avoid unnecessary class loading if it isn't.
>>   
>>   Also updated the test such that robot.createScreenCapture() is not
>>   executed on EDT.
>
> test/jdk/java/awt/Window/WindowTitleVisibleTest/WindowTitleVisibleTestLinuxGnome.java line 111:
> 
>> 109:     private void captureTitleBarNotVisible() {
>> 110:         runSwing( () -> {
>> 111:             titleBarImageNotVisible = robot.createScreenCapture(titleBarBounds);
> 
> `createScreenCapture` does not require to be called on EDT.

Thanks! Moved `createScreenCapture()` out of EDT. Please, have a look at the updated code.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4113


More information about the awt-dev mailing list