Getting send html form event and data sent in JTextPane
Posted on 2004-09-06
I already know how to catch clicks on url's that are displayed in JTextPane with addHyperlinkListener(something) but now, I would like to treat forms also (standard html forms) but I can't find any way to do it.
How can I know user clicked "send" button? I can't find any event listener for this in JTextPane, also How can I get all the data user wants to send?
I've seen javax.swing.text.html.FormView _absolutely_ no idea how to use this one + i'm not sure if it's really what I need because I need to display more data than just forms.
thank you for answers!