J
Jason Cavett
I have a JTextPane where I want to maintain selection of the text
regardless of any other components I may be clicking or using.
Unfortunately, no matter what I have tried, every time I select
anything else (AKA, the JTextPane loses focus), the selection also
disappears.
Is there some (relatively easy) way to fix this that I'm not seeing,
or is this something that is going to require me to overwrite a bunch
of methods in JTextPane? (Basically, I want to make sure I'm not
overlooking something obvious when trying to solve this problem.)
Thanks
regardless of any other components I may be clicking or using.
Unfortunately, no matter what I have tried, every time I select
anything else (AKA, the JTextPane loses focus), the selection also
disappears.
Is there some (relatively easy) way to fix this that I'm not seeing,
or is this something that is going to require me to overwrite a bunch
of methods in JTextPane? (Basically, I want to make sure I'm not
overlooking something obvious when trying to solve this problem.)
Thanks