In most of the text editors, I have seen that when text is selected, all the line changes the color to the selection color.
But in JTextArea, during the selection only the text color is changed during selection.
How can I achieve the above mentioned selection type in JTextArea where all the area under selection is colored? I cannot find any method that would do the job.