Hello Everybody, I was trying to use JTextPane with the following StyleConstants: 1. LeftIndent 2. rightInent 3. FirstLineIndent 4. Alignemnt(center) I was trying the following code but in vain. Can you please help me to achieve same? regards, Arun Code:- *********
Joined: Dec 07, 2001
Hi, Can somebody help me to achieve this. I hope I am not asking such a stupid question. Pl atleast reply for this post, evenif this is very basic question. regards, Arun
Actually, I have found that there is a documented bug with the StyleConstants class... several of the constants have not been implemented, and thus don't affect the text. There's an article about it in the JDC on Sun's site, the bug and suggested fix are in Sun's bug database.