Results 1 to 5 of 5
  1. #1
    sealyu is offline Member
    Join Date
    Jul 2007
    Posts
    2
    Rep Power
    0

    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

  2. #2
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    8

    Default

    can you explain with more details your problem? I don't understand

  3. #3
    JavaBean's Avatar
    JavaBean is offline Moderator
    Join Date
    May 2007
    Posts
    1,270
    Rep Power
    10

    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?

  4. #4
    sealyu is offline Member
    Join Date
    Jul 2007
    Posts
    2
    Rep Power
    0

    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!

  5. #5
    luukvr is offline Member
    Join Date
    Jul 2008
    Posts
    1
    Rep Power
    0

    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.

Similar Threads

  1. how to get url from browser
    By srinivas reddy in forum New To Java
    Replies: 0
    Last Post: 02-08-2008, 07:46 AM
  2. Lobo Browser 0.97.5
    By lobochief in forum Java Software
    Replies: 2
    Last Post: 01-14-2008, 03:14 PM
  3. how to redirect the browser
    By simon in forum Java Applets
    Replies: 1
    Last Post: 08-02-2007, 05:24 PM
  4. Offline Web browser
    By one198 in forum New To Java
    Replies: 6
    Last Post: 08-02-2007, 03:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •