After noon,
I am working on an Eclipse RCP plugin. I want to embed a Swing component in it. I am currently using the SWT ↔ AWT bridge as follows:
Applet applet = new myApplet();
Composite swtAwtComponent = new Composite(parent, SWT.EMBEDDED);
java.awt.Frame frame = SWT_AWT.new_Frame( swtAwtComponent );
applet.init();
frame.add(applet);
Are there any significant issues with this approach, or is there a better approach that I should consider? How this will affect threading / concurrency in the application.
thank
source
share