RFR CODETOOLS-7902300: Handle different look and feels in JInternalFrameOperator

Muneer Kolarkunnu abdul.kolarkunnu at oracle.com
Mon Sep 24 09:13:59 UTC 2018


Gentle Reminder.

Regards,
Muneer

-----Original Message-----
From: Muneer Kolarkunnu 
Sent: Tuesday, September 18, 2018 10:13 PM
To: jemmy-dev at openjdk.java.net
Subject: RFR CODETOOLS-7902300: Handle different look and feels in JInternalFrameOperator

Hi All,

Please review fix for the enhancement: https://bugs.openjdk.java.net/browse/CODETOOLS-7902300

Webrev : http://cr.openjdk.java.net/~akolarkunnu/7902300/webrev.00/

Description:
There are multiple issues in JInternalFrameOperator w.r.t multiple L&F. 
In Motif L&F:
JInternalFrame doesn't has tooltip text for minimize and maximize buttons.
It doesn't have the close button. 
Reference: com.sun.java.swing.plaf.motif.MotifInternalFrameTitlePane 
So these different actions implemented using motif system menus: InternalFramePopupMenuDriver.java.

In Nimbus, Motif and Windows Classic L&F:
We have to press two times on desktop icon to restore it to previous state.

GTK L&F: 
There is a deadlock issue - (stack trace added in bug comment) - Changes in API org.netbeans.jemmy.operators.JInternalFrameOperator.JDesktopIconOperator.getInternalFrame() s to handle this issue. 
There is a ClassCastException while invoking some constructors(stack trace added in bug comment) - Changes in two constructors to handle this issue.

Regards,
Muneer

 


More information about the jemmy-dev mailing list