Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTextPane Aligment

 
RAJEEV BAHL
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to change attributes to JTextPane but unable to align the text. I used DefaultStyledDocument during creation of JTextPane and uses insertString method as explained in usage of TextCmponents at sun site. I used setPreferredSize() method of JTextPane.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic