Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

justify????.....

 
Basanth P Rangadhol
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Report post to moderator
i am unable to justify the entire paragraph, as in MS Word editor... please help....
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hmm. I wonder how you are trying to do this. Are you using AWT/Swing? SWT? A bit more detail and maybe we can help.
 
Basanth P Rangadhol
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Report post to moderator
yeh.. i am working on swing, and i used StyledEditorKit in JTextPane. also, i used Align_justify configuration in StyleConstants, but it did not worked. instead it Aligned center... please help..
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Report post to moderator
You will probably get a better response if you mosey on over to the GUI forum. When you post your question there, you should include some more specific information. In particular, it will probably help if you post your exact code rather than trying to paraphrase what it does.

Good Luck

Layne
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm closing this thread as this conversation has been moved to the Swing / AWT / SWT / JFace forum.
 
    Bookmark Topic Watch Topic
  • New Topic