You have to use HTMLEditorKit.insertHTML() or
HTMLEditorKit.InsertHTMLTextAction. The article here
<http://java.sun.com/products/jfc/tsc/articles/text/element_buffer/>
explains (in a manner) how to use them.


Dmitry


On Sun, 17 Feb 2002, akokchai wrote:

> I use a JEdtorPane to display HTML. And I hope to insert any HTML component(Table, 
>Line) into this 
> HTML. 
> 
>  For example, I want to insert a table. I guess HTMLTableElement is represented as a 
>table, but it's 
> a interface only. And the ViewFactory has a method called create(Element). 
> 
>  I think those functions can help me to do it, I may be wrong. I need help now. 
>  
>  Please advice me. Thank you. 
> 

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to