From abdul.kolarkunnu at oracle.com Tue Sep 18 16:42:56 2018 From: abdul.kolarkunnu at oracle.com (Muneer Kolarkunnu) Date: Tue, 18 Sep 2018 09:42:56 -0700 (PDT) Subject: RFR CODETOOLS-7902300: Handle different look and feels in JInternalFrameOperator Message-ID: 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 From abdul.kolarkunnu at oracle.com Mon Sep 24 09:13:59 2018 From: abdul.kolarkunnu at oracle.com (Muneer Kolarkunnu) Date: Mon, 24 Sep 2018 02:13:59 -0700 (PDT) Subject: RFR CODETOOLS-7902300: Handle different look and feels in JInternalFrameOperator In-Reply-To: References: Message-ID: <5e61969e-b8d6-4264-978d-2ecb67d930fc@default> 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 From alexandre.iline at oracle.com Tue Sep 25 15:44:15 2018 From: alexandre.iline at oracle.com (Alexandre (Shura) Iline) Date: Tue, 25 Sep 2018 08:44:15 -0700 Subject: RFR CODETOOLS-7902300: Handle different look and feels in JInternalFrameOperator In-Reply-To: References: Message-ID: This looks good, Muneer. Thank you. Shura > On Sep 18, 2018, at 9:42 AM, Muneer Kolarkunnu wrote: > > 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 > > From alexandre.iline at oracle.com Wed Sep 26 18:42:40 2018 From: alexandre.iline at oracle.com (alexandre.iline at oracle.com) Date: Wed, 26 Sep 2018 18:42:40 +0000 Subject: hg: code-tools/jemmy/v2: 7902300: Handle different look and feels in JInternalFrameOperator Message-ID: <201809261842.w8QIgeRJ008046@aojmv0008.oracle.com> Changeset: 00c9f753cd0a Author: akolarkunnu Date: 2018-09-25 08:48 -0700 URL: http://hg.openjdk.java.net/code-tools/jemmy/v2/rev/00c9f753cd0a 7902300: Handle different look and feels in JInternalFrameOperator Reviewed-by: shurailine Contributed-by: abdul.kolarkunnu at oracle.com ! src/org/netbeans/jemmy/drivers/DefaultDriverInstaller.java + src/org/netbeans/jemmy/drivers/windows/InternalFramePopupMenuDriver.java ! src/org/netbeans/jemmy/operators/JInternalFrameOperator.java ! src/org/netbeans/jemmy/version_info + test/org/netbeans/jemmy/LookAndFeelProvider.java ! test/org/netbeans/jemmy/operators/JInternalFrameOperatorCloseTest.java ! test/org/netbeans/jemmy/operators/JInternalFrameOperatorTest.java From markbabc1 at gmail.com Mon Sep 17 13:56:29 2018 From: markbabc1 at gmail.com (Mark Blum) Date: Mon, 17 Sep 2018 13:56:29 -0000 Subject: Jemmy question Message-ID: Hey, Is there a way to use Jemmy to test an already running Swift application? All my attempts to find a JFrame without first using ClassReference().StartApplication() result in timeout errors. Thanks, Mark