This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes justify????..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

justify????.....

Basanth P Rangadhol
Greenhorn

Joined: Nov 22, 2004
Posts: 13
i am unable to justify the entire paragraph, as in MS Word editor... please help....


Imagination is more important than knowledge - Einstien.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

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.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Basanth P Rangadhol
Greenhorn

Joined: Nov 22, 2004
Posts: 13
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

Joined: Dec 06, 2001
Posts: 3061
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


Java API Documentation
The Java Tutorial
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'm closing this thread as this conversation has been moved to the Swing / AWT / SWT / JFace forum.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
Consider Paul's rocket mass heater.
 
subject: justify????.....
 
Similar Threads
<useBean> doubt
why jvm is called virtulal machine
Confirmation
Tag
MS is peeping from Windows