SWT Browser.setText() not working on linux [message #446948] |
Mon, 06 December 2004 18:56  |
Eclipse User |
|
|
|
Hi All,
I don't know whether I am doing something wrong, but Browser.setText()
does not show anything. This is on linux, I have Mozilla 1.6. Here is the
segment which I am attempting:
public void createPartControl(Composite parent)
{
browser = new Browser( parent, SWT.NONE );
browser.setText("Hello <b>joe</b>");
}
When I open the (RCP) application where this code is being invoked, the
browser window comes up empty.
I also downloaded the example RCP plugin into eclipse and followed
instructions from <a
href=" http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.ui.examples.rcp.browser/readme.html">here</a>:
The browser works fine, except when I replace the browser.setUrl() with
browser.setText(), nothing happens:
|
|
|
|
Powered by
FUDForum. Page generated in 0.49243 seconds