swing-highlighter Questions

5

I am creating a text editor using a JTextPane that allows the user to change the color of selected text. But when the user selects the text, then chooses the option to change the color (say, to red...
Bassist asked 30/9, 2013 at 16:13

1

I want to read in text the user inputs and then highlight a specific word and return it to the user. I am able to read in the text and give it back to the user, but I cant figure out how to h...
Fantinlatour asked 3/12, 2013 at 2:27

2

Solved

When my jTextArea is in focus it allows text highlighting, but it doesn't show the text selection when it loses focus. Is it possible to continue displaying the text highlighting even if the user m...
Carter asked 16/8, 2013 at 12:23

4

Problem 1: BY using defaulthighlighter, I can make the focused lines change to blue. Now I want to change it to other colors. Do anyone know how to change this parameter? --- solved Problem 2: pos...
Demona asked 24/4, 2012 at 22:25

2

I have a jtextarea with some texts. I use java highligher to highlight some texts on that jtextarea. I want to print the content of that textarea to another textarea with the highlighted texts. Is ...
Dux asked 15/6, 2011 at 15:13
1

© 2022 - 2024 — McMap. All rights reserved.