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:- *********
posted 15 years ago
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.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.