arg0.setLayout( new FillLayout() );
Composite awtContainer=new Composite(arg0,SWT.EMBEDDED);//SWT.EMBEDDED不可少
final Frame frame = SWT_AWT.new_Frame(awtContainer);
SwingUtilities.invokeLater(new Runnable() {
public void run() {
TaskListFrame frm = new TaskListFrame(AIFUtility.getActiveDesktop(),RACUIUtil.getTCSession());//这里继承了JFrame
JApplet applet = new JApplet(); //加入防止文本框控件不能编辑
JScrollPane sc = new JScrollPane(frm.getContentPane());
applet.add(sc);
frame.add(applet);
}
});