Community
Participate
Working Groups
snippet: public static void main(String [] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setBounds(10,10,200,200); shell.setLayout(new FillLayout()); Browser browser = new Browser(shell, SWT.NONE); shell.open(); try { FileInputStream inStream = new FileInputStream(FILENAME); byte[] bytes = new byte[inStream.available()]; inStream.read(bytes); browser.setText(new String(bytes)); } catch (Exception e) { e.printStackTrace(); } while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
Just a loopback to the original discussion http://www.eclipse.org/forums/index.php?t=rview&goto=632884
Works fine with IE8
Thanks for pointing this out, I also see this work in IE8. I was sure this was already working on IE, now I see why. If I remember correctly this also works on IE7. We haven't been attempting to work around IE6 bugs for a while. Since this works in later IE versions this report is being closed as NOT_ECLIPSE.