<Swing Dev> RFR: 8229856 [macos] Opening a menu on a JTextField can clear the text selection

Jayathirth D v JAYATHIRTH.D.V at ORACLE.COM
Wed May 13 06:17:56 UTC 2020


Looks good to me.

Thanks,
Jay

> On 06-May-2020, at 9:43 AM, Tejpal Rebari <tejpal.rebari at oracle.com> wrote:
> 
> Hi Prasanta,
> 
> 
>> On 22-Apr-2020, at 1:59 PM, Prasanta Sadhukhan <prasanta.sadhukhan at oracle.com <mailto:prasanta.sadhukhan at oracle.com>> wrote:
>> 
>> Hi Tejpal,
>> 
>> Does it need to be triple click of any button or only left mouse button? If only left, then it needs to be checked?
>> 
> It is triple click of left mouse button, I have added a check for it.
>> Also, I guess the test can be automated by calling robot to do 3 clicks and then calling JTextField.getSelectedText() to see if the text is still selected or not.
>> 
> I have automated the test.
> mac5 link is in JBS.
> 
> Updated webrev : http://cr.openjdk.java.net/~trebari/swing/8229856/webrev01/ <http://cr.openjdk.java.net/~trebari/swing/8229856/webrev01/>
> 
> Thanks and regards
> Tejpal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20200513/1d2fa907/attachment.htm>


More information about the swing-dev mailing list