JTextAreas have use the same font size and colours throughout. If you want to vary them, you will need a JTextPane or a JTextEditorPane.
For a complex display, consider generating a page of HTML, XHTML or XML on the the fly, then rendering it, perhaps in an iframe, in a separate browser window, or a separate browser task. Then you can use elaborate CSS style sheets, rowspan and colspan tables. Verifying generated HTML is a snap.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.58] | |||
| You are visitor number 19,448. | |||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | ||
| http://mindprod.com/jgloss/jtextarea.html | J:\mindprod\jgloss\jtextarea.html | ||