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

Tejpal Rebari tejpal.rebari at oracle.com
Wed May 6 04:13:10 UTC 2020


Hi Prasanta,


> On 22-Apr-2020, at 1:59 PM, Prasanta Sadhukhan <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/20200506/5af3e8b2/attachment.htm>


More information about the swing-dev mailing list