How to get HTML elements by coordinate values? (CSS2 compatibility)

L

lujooo

I wanna a class get elements by coordinate values.
e.g (300,200) --> input field
*Some method like "elementToPosition(X,Y)" in
javax.swing.text.html.HTMLEditorKit

The problem is , I found there is no fully JAVA HTML render API
support CSS2 ?
http://today.java.net/pub/a/today/2004/05/24/html-pt1.html
The hope is using native wrappers API like JRex (figure 9 in above
link) ?
But that would harm platform dependent, I think...

Do you know any pure java HTML render supporting CSS2?
Or is there any method to get element from screen position infomation ?


Many thanks and with best regards

Meo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top