Hi the list,

I want to let the user add hyper text links to a document shown in a
JTextPane, but I don't want that the user enter or even see the HTML
tags (He might not know the HTML syntax) but rather let him use popup
menu functionnalities to help him enter special HTML elements, and
especially hyper text links, and maybe also non HTML tags (XML).

The problem I have is that I don't know how to insert, at the current
caret position, an
Element representing for example the HTML String <a
href="xxxx">yyyyyy</a>

Any help will be very appreciated,

        Johan Boulé - Universités de Rennes
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to