This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Alignment problem in JTextPane  RSS feed

Nagurva Reddy
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai all...
StyleContext.NamedStyle styleMap = NamedStyle();
textPane.setParagraphAttributes(styleMap, true);

Here i am setting Justification for my text pane,but it is not working ,it is working like ALIGN_CENTER.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!