wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Alignment problem in JTextPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Alignment problem in JTextPane" Watch "Alignment problem in JTextPane" New topic

Alignment problem in JTextPane

Nagurva Reddy

Joined: Jul 10, 2001
Posts: 7
Hai all...
StyleContext.NamedStyle styleMap = styleContext.new 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.


subject: Alignment problem in JTextPane
Similar Threads
format double
Copying a sheet from an excel file to another excel file using Apache POI
Encoding and Decoding
Tiger mock questions!
Help me out in Thread