Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Browser and XML
SWT Browser and XML [message #458762] Wed, 20 July 2005 23:02 Go to next message
Eclipse UserFriend
Hi,

I have a SWT-Browser. The purpose is to display XML-files. When I set an
XML-file via setURL() the browser displays it in the manner of my os-browser
(as a tree). But when I set the content via setText(), the browser shows
nothing. Anybody has an idea?

Regards
Re: SWT Browser and XML [message #458849 is a reply to message #458762] Fri, 22 July 2005 16:27 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
From the javadoc
setText
public boolean setText(String html)Renders HTML.

Parameters:
html - the HTML content to be rendered

I guess your XML is not the HTML the browser expects.


"Philipp Marx" <irritated@gmx.de> wrote in message
news:dbml33$tdo$1@news.eclipse.org...
> Hi,
>
> I have a SWT-Browser. The purpose is to display XML-files. When I set an
> XML-file via setURL() the browser displays it in the manner of my
> os-browser
> (as a tree). But when I set the content via setText(), the browser shows
> nothing. Anybody has an idea?
>
> Regards
>
>
Previous Topic:REVISITED: DND DND.FEEDBACK_INSERT_BEFORE in TreeTable
Next Topic:datetime picker
Goto Forum:
  


Current Time: Thu Apr 25 16:38:08 GMT 2024

Powered by FUDForum. Page generated in 0.03177 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top