|swt awt browser [message #668405]
||Thu, 05 May 2011 15:06
| logos paragon
Registered: May 2011
I'm trying to extend a swing application with an embedded browser widget. So far i've tried SWT_AWT bridge to embed the swt browser widget into a swing panel but no success...
It simply doesn't show up.
Does anyone know how to do this properly?
Here is how i tried it.
java.awt.Canvas canvas = new java.awt.Canvas();
Display display = new Display();
Shell swtShell = SWT_AWT.new_Shell(display,canvas);
final org.eclipse.swt.browser.Browser browser = new org.eclipse.swt.browser.Browser(swtShell, SWT.NONE);
[Updated on: Thu, 05 May 2011 15:06]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02449 seconds