<Swing Dev> RFR: 8229856 [macos] Opening a menu on a JTextField can clear the text selection
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Wed May 6 11:41:22 UTC 2020
Looks good to me. But one question, do you require showPopupMenu() on
mouseReleased() too?
Regards
Prasanta
On 06-May-20 9:43 AM, Tejpal Rebari 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/
>
> Thanks and regards
> Tejpal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20200506/d6c911be/attachment-0001.htm>
More information about the swing-dev
mailing list