Afternoon,
I'm working on an Eclipse RCP plugin. I want to embed a Swing component into it. At the moment I'm using a SWT <-> AWT bridge like this:
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 signficant issues with this approach, or equally is there a better approach I should consider? How will this affect threading / concurrency in the application.
Thanks