Find the position in the HTML code of a click in a HTML page
From: Richard (grin_at_unice.fr)
Date: 03/29/04
- Next message: RoS: "html links within an applet"
- Previous message: Eugene Staten: "Re: Null pointer exception at 783 rows in JTable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 22:15:24 +0200
Hello,
I display an HTML page with a JEditorPane (other solutions are good for
me). The user clicks in the page and I would like to get the
correspondent position in the HTML code in order to get the first table
that follows this click (or else the table inside which the user clicked).
With getCaretPosition I get the position in the displayed HTML page but
not in the HTML code.
Is there a simple solution for that?
Thanks in avance for your answers.
Richard
- Next message: RoS: "html links within an applet"
- Previous message: Eugene Staten: "Re: Null pointer exception at 783 rows in JTable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|