1. Making words different colors in JTextField/JTextPane/? stackoverflow.comI'm trying and failing to understand how to use Java's text editor components to colorize text as you insert it. I don't want or need a fully featured syntax highlighting library. Basically, ... |
2. text selection conflict between JTextPane and JTextField stackoverflow.comWhy the text in JTextPane cannot be selected programmatically if there is a JTextField present? Has something to do with focus i think. Thx.
|