The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Marginal Help

Posted by Matt Gerrans on November 21, 2001 at 3:36 PM

Maybe you could position the JEditorPane (with invisible border) in a JPanel to get the effect of a margin?

There is likely a better way than this; probably you need to spend some quality time between the sheets of a thick Swing book...

- mfg

> Mark,

> whats a margin? I can try if I know what that is. Regarding copy/cut/paste you do not have to worry about that. JDK 1.3 has great package(s) javax.swing.text (within this you have packages for RTF and HTML documents) for building commercial standard editors. You might want to look at messages posted under "" in this form.

> Jay


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us