I'm making a program where I need to be able to edit the highlighting feature of a JTextArea
via my code, but I dont want the user to be able to highlight via the mouse. That, or I need some way of being able to paint over the JTextArea
manually (to look like highlighting).
I don't really have anything going code wise for this yet because I have no idea how to implement it.
Edit: I know how to paint over the text, but I need the painting to be transparent like highlighting.