|
-
May 20th, 2010, 01:56 PM
#1
jTextPane
Hi all,
I am new to the forum here and would like to say hi :-)
For setting the indentation of text in jTextPane, what would be the preferred method of doing this?
I would like to mimic the functionality in Word so you can set the indentation using a slider.
Any pointers or tips will be greatly appreciated.
Thanks :-)
-
May 21st, 2010, 04:34 AM
#2
Re: jTextPane
I imagine the StyledEditorKit.AlignmentAction is the class to use for this.
Progress is possible only if we train ourselves to think about programs without thinking of them as pieces of executable code...
E. Dijkstra
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|