Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2007, 06:01 AM
Member
 
Join Date: Jul 2007
Posts: 2
Rep Power: 0
sealyu is on a distinguished road
Default Need Help! swt/Browser
Hi, everyone
i have a problem while using swt's browser class. The class didn't allow inherit。But i need to get the html content after the browser has load the page ,and the browser didn't supply the funcion.
some one get a idea?
Thanks
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-10-2007, 04:12 PM
Senior Member
 
Join Date: Jun 2007
Posts: 164
Rep Power: 3
Heather is on a distinguished road
Default
can you explain with more details your problem? I don't understand
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-10-2007, 05:15 PM
JavaBean's Avatar
Moderator
 
Join Date: May 2007
Posts: 1,272
Rep Power: 10
JavaBean is on a distinguished road
Default
I guess he means that swt's browser class can not be inherited from and also does not provide him a method to obtain html content of a page after the page is loaded. In this case, he asks how he can obtain html content of the loaded page from swt's browser class?
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 07-11-2007, 04:26 AM
Member
 
Join Date: Jul 2007
Posts: 2
Rep Power: 0
sealyu is on a distinguished road
Default
y ,you get the point.
I have solve the problem. Rewrite the calss.I found the Browser class actually use IE or Mozilla in it by OLE . I rewrite the IE class and add a function in it.
Thanks all the same!
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 07-09-2008, 09:16 PM
Member
 
Join Date: Jul 2008
Posts: 1
Rep Power: 0
luukvr is on a distinguished road
Question
Hi I got the same problem.

Created a little webbrowser with that SWT browser component but it only allows you to set the html with (setText) but no way of getting the html of the loaded page.

Please tell me how you solved this problem. I need to get the source of the page and if possible also the pictures within it.

Is there maybe a way to get into the cached stuff of the site showed in the component?

Many thanks already.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get url from browser srinivas reddy New To Java 0 02-08-2008 08:46 AM
Lobo Browser 0.97.5 lobochief Java Announcements 2 01-14-2008 04:14 PM
Eclipse RCP Browser Example JavaForums Java Blogs 0 01-02-2008 07:12 PM
how to redirect the browser simon Java Applets 1 08-02-2007 06:24 PM
Offline Web browser one198 New To Java 6 08-02-2007 04:54 PM


All times are GMT +2. The time now is 03:23 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org