Bold « JTextArea « Java Swing Q&A





1. Java JTextArea Bold    stackoverflow.com

This is an exploratory query. I am wondering if the following is possible with JTextArea? Can I alter the text to bold (append text) and then back to normal and will it only ...

2. Why won't this TextArea return to non-Bold format, or is Font.PLAIN just like an "add-on"?    stackoverflow.com

I am trying to Create a Simple Notepad in Java, i would post the full code but i didnt think it would be necessary since the problem is here(i think). Please Help.

 ...

3. Java JTextArea hightliting text with a bold font    stackoverflow.com

I need several words to be highlighted in a String while appending it to a JTextArea. So that I try this:

jta.append("<html> <b>Termination time : </b></html>" + 
    ...