Hi Chris,
I need your help, please !!!
I was developed an application using Eclipse RCP that allows to create client's applications with the integration between swt and awt, but I had one problem when I run my application, the message is the following:
public void createPartControl(Composite parent) {
this.parent_ = parent;
parent.addControlListener(new ControlAdapter() {
@Override
public void controlResized(ControlEvent e) {
updateDetached();
}
});
updateDetached();
composite_ = new Composite( parent, SWT.EMBEDDED );
display_ = parent.getDisplay();
display_.asyncExec(new Runnable() {
public void run() {
frame_ = SWT_AWT.new_Frame( composite_ );
}
});
}
27 août 2010 08:02:04 sun.awt.X11.XToolkit processException
ATTENTION: Exception on Toolkit thread
java.lang.StackOverflowError
at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:125)
at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:153)
at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:134)
...
I had read a lot of comments in the web about this problem but I did'not find the solution.
Would you help me, please?
AEHP