4

How can I view a pilcrow, ¶, in a JTextPane using Java? Please adivise me or send me any sample code.

trashgod
  • 200,320
  • 28
  • 229
  • 974
Rishi
  • 95
  • 2
  • 9

2 Answers2

4

Insert a pilcrow in your JTextArea. For example,

textArea.append("\u00B6");
trashgod
  • 200,320
  • 28
  • 229
  • 974
4

Use this http://java-sl.com/showpar.html

StanislavL
  • 56,113
  • 9
  • 64
  • 93
  • Good example; good choice. Also consider "\u23CE", illustrated [here](http://stackoverflow.com/a/3245805/230513); +1 from earlier. – trashgod Jun 25 '12 at 16:39