Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-22 Thread Krishna Addepalli
Sergey Bylokhov > <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net > Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout > flickers when label text shows "..." and is updated > > Can you create this bug send link to it to this thread? > > --Semyon

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-22 Thread Semyon Sadetsky
om>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Krishna, On 11/16/2017 03:38 AM, Krishna Addepalli wrote: Hi Semyon, 1. I have tried in my Ubuntu 17.04 VM and was able to see the test case

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-19 Thread Krishna Addepalli
com>; Sergey Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Can you create this bug send link to it to this thread? --Semyon On 11/17/17 1:45 AM, K

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-17 Thread semyon . sadetsky
Sadetsky <semyon.sadet...@oracle.com>; Krishna Addepalli <krishna.addepa...@oracle.com>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated On 15/11/2017 10:53, Semyon Sadetsky wrote: There are no such re

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-17 Thread Krishna Addepalli
To: Semyon Sadetsky <semyon.sadet...@oracle.com>; Krishna Addepalli <krishna.addepa...@oracle.com>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated On 16/11/2017 09:17, Semyon Sadetsky wrote: >

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-17 Thread Krishna Addepalli
, November 16, 2017 10:42 PM To: Krishna Addepalli <krishna.addepa...@oracle.com>; Sergey Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Krishna,

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-16 Thread Sergey Bylokhov
: Wednesday, November 15, 2017 6:07 PM To: Sergey Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Sergey, I have modified the code as per your re

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-16 Thread Semyon Sadetsky
: Wednesday, November 15, 2017 6:07 PM To: Sergey Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Sergey, I have modified the code as per your re

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-16 Thread Semyon Sadetsky
;; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated On 15/11/2017 10:53, Semyon Sadetsky wrote: There are no such restrictions that getMinimumSize() must return exact value of getPrefferredSize(). It should

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-16 Thread Krishna Addepalli
Sent: Thursday, November 16, 2017 6:51 AM To: Semyon Sadetsky <semyon.sadet...@oracle.com>; Krishna Addepalli <krishna.addepa...@oracle.com>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is update

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-15 Thread Sergey Bylokhov
l Message- From: Sergey Bylokhov Sent: Wednesday, November 15, 2017 2:23 AM To: Krishna Addepalli <krishna.addepa...@oracle.com>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi, Krishna. Sma

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-15 Thread Semyon Sadetsky
k.java.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Sergey, I have modified the code as per your requests, and here is the updated webrev: http://cr.openjdk.java.net/~kaddepalli/8178430/webrev03/ However, I hav

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-15 Thread Sergey Bylokhov
sday, November 15, 2017 6:07 PM To: Sergey Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Sergey, I have modified the code as per your requests, and here is

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-15 Thread Semyon Sadetsky
-- From: Sergey Bylokhov Sent: Wednesday, November 15, 2017 2:23 AM To: Krishna Addepalli <krishna.addepa...@oracle.com>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi, Krishna. Small comments:

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-15 Thread Sergey Bylokhov
Addepalli Sent: Wednesday, November 15, 2017 6:07 PM To: Sergey Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Sergey, I have modified the code as p

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-15 Thread Krishna Addepalli
To: Sergey Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Sergey, I have modified the code as per your requests, and here is the updated webrev: http://cr.

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-15 Thread Krishna Addepalli
2:23 AM To: Krishna Addepalli <krishna.addepa...@oracle.com>; swing-dev@openjdk.java.net Subject: Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi, Krishna. Small comments: I think that this code "(JMenu)menuItem).is

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-14 Thread Sergey Bylokhov
y Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Sergey, Are the changes fine now? Thanks, Krishna -Original Message- From: Krishna Addepalli Sent

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-12 Thread Krishna Addepalli
.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated Hi Sergey, As per your recommendation I have done the following changes: 1. Moved the fix to BasicMenuUI. 2. Corrected the test to: a. Access the UI elements only

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-08 Thread Krishna Addepalli
Hi Sergey, Are the changes fine now? Thanks, Krishna -Original Message- From: Krishna Addepalli Sent: Monday, November 6, 2017 9:02 PM To: Sergey Bylokhov <sergey.bylok...@oracle.com>; swing-dev@openjdk.java.net Subject: RE: [10][JDK-8178430] JMenu in GridBagLayout flicker

Re: [10][JDK-8178430] JMenu in GridBagLayout flickers when label text shows "..." and is updated

2017-11-06 Thread Krishna Addepalli
Hi Sergey, As per your recommendation I have done the following changes: 1. Moved the fix to BasicMenuUI. 2. Corrected the test to: a. Access the UI elements only in the EDT. b. Made sure that the main thread doesn't exit till the test is complete. Here is the updated webrev: