[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: SWT HTML browser component
|
- From: Bernhard Fastenrath <Bernhard.Fastenrath@xxxxxx>
- Date: Wed, 19 Jan 2005 04:42:41 +0100
- Newsgroups: eclipse.platform.swt
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
Samuel Cheung wrote:
Thanks.
But I am looking for a way to walk thru the dom in my JavaApplication
not just using JavaScript.
http://jrex.mozdev.org/ can do that but it's not an SWT widget
and it seemed unstable last time I tried it.
Let's say I want my JavaApplication to display all the Forms name in the
html page I load using SWT html browser. How can I achieve that?
You could wrap a minimal JavaScript implementation into your own
Java set/query API. Finding forms and collecting their names could
still be quite efficient while exporting the whole DOM tree this
way might be a bit slow.
Thank you.
Henning Rogge wrote:
Samuel Cheung wrote:
In SWT, there is a HTML browser component. Can someone please tell
me if I can walk thru the dom in my Java application which uses that
HTML browser component?
Look at
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/dev.html#snippets
The "browser" snipplets might be usefull for you.
Henning.