> | Hi,
> | Is it possible for me to setup up jtextarea such that
[quoted text clipped - 9 lines]
> _do_ style text, you would be better off
> investigating them.
I have the same problem, I want to display HTML formating text. I tried
JTextPane and JEditorPane myself. I placed them in a JFrame with
BorderLayout in the EAST side. But it seems that every time I try to
resize the window, the JTextPane or the JEditorPane cover all the JFrame
area. JTextArea works as expected. What is the problem?
Andrew Thompson - 08 Jan 2004 05:59 GMT
| ..What is the problem?
What is the SSCCE?
http://www.physci.org/codes/sscce.jsp
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Adam - 09 Jan 2004 07:35 GMT
> I have the same problem, I want to display HTML formating text. I tried
> JTextPane and JEditorPane myself. I placed them in a JFrame with
> BorderLayout in the EAST side. But it seems that every time I try to
> resize the window, the JTextPane or the JEditorPane cover all the JFrame
> area. JTextArea works as expected. What is the problem?
Do you have anything else in that JFrame? If you dont then it behaves as
expected:
the component consumes all the space left.
Adam