4

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

trashgod
  • 203,806
  • 29
  • 246
  • 1,045
Rishi
  • 95
  • 2
  • 9

2 Answers2

4

Insert a pilcrow in your JTextArea. For example,

textArea.append("\u00B6");
trashgod
  • 203,806
  • 29
  • 246
  • 1,045
4

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

StanislavL
  • 56,971
  • 9
  • 68
  • 98
  • 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