Quantcast

jtextcomponent.getSelectionColor() return wrong color

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

jtextcomponent.getSelectionColor() return wrong color

mcheung63

Hi

   jtextcomponent.getSelectionColor() return wrong color. So how can i get the correct highlight color? please see attachment.

thans

from Peter


Screen Shot 2017-03-18 at 12.49.50.png (608K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: jtextcomponent.getSelectionColor() return wrong color

Emilian Bold-2
Is that really the selection color or the background of the current line (caret row) highlighting?


--emi

On Sat, Mar 18, 2017 at 6:53 AM, Peter Cheung <[hidden email]> wrote:

Hi

   jtextcomponent.getSelectionColor() return wrong color. So how can i get the correct highlight color? please see attachment.

thans

from Peter


Loading...