<Swing Dev> RFR: [JDK-8025082] The behaviour of the highlight will be lost after clicking the set button

Rajeev Chamyal rajeev.chamyal at oracle.com
Tue Aug 25 08:09:34 UTC 2015


Hello All,

 

Please review the below fix for JDK9.

 

Bug: https://bugs.openjdk.java.net/browse/JDK-8025082

webrev: http://cr.openjdk.java.net/~psadhukhan/rajeev/8025082/webrev.00/

 

Regards,

Rajeev Chamyal

 

From: Rajeev Chamyal 
Sent: Friday, August 21, 2015 5:40 PM
To: swing-dev at openjdk.java.net
Subject: RFR: [JDK-8025082] The behaviour of the highlight will be lost after clicking the set button 

 

Hi,

 

Please review the following fix for jdk9:
 
Bug: https://bugs.openjdk.java.net/browse/JDK-8025082

webrev: http://cr.openjdk.java.net/~psadhukhan/rajeev/8025082/webrev.00/

 
The highlight of selected text in JTextPane/JTextArea is lost if some other component (e.g. button clicked) gains focus.
Added a method to update the selection ownership for caret when text is selected/unselected in the JTextPane/JTextArea.
 
Regards,
Rajeev Chamyal
 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20150825/48c8c804/attachment.html>


More information about the swing-dev mailing list