Pb with SWT_AWThttps://www.eclipse.org/forums/index.php/mv/msg/137102/432636/#msg_432636
studio to Eclipse. I'm using M7 & JDK 1.4.2.
I found the following problems:

1/ I need a listener on the SWT Composite to resize the underlying Swing
component. Else, the swing component is not resized!
Here is the code I use to add the component. I added an intermadiate panel,
as I saw on other threads that swing components may not receive mouse events
when directly added to the Frame.
javax.swing.JComponent component = <get my swing control method>;
final java.awt.Frame statusFrame = SWT_AWT.new_Frame(parent);
final java.awt.Panel pnl = new java.awt.Panel();

3/ The Swing cursor is incorrect
In fact, it seems that the component positions are incorrectly computed, as
the cursor displayed is *not* the cursor assigned to the underlying
component. Moreover, it seems that it compute the position from absolute
screen (0,0). In other words, when your using a SplitPane, the vertical
divider cursor does not appear when the mouse is over the divider, but when
the mouse is left to the divider. And it seems that the distance between
this position and the divider correspond to the left corner of the embedded
frame, relative to absolute (0,0)

4/ The editor is flashing
It seems that the Frame (or some other SWT component?) is painting its
background before the Swing component paints. As a result, it flashes with a
gray background.
I don't know how to overcome this.

Does anybody have an idea about these issues?

Thanks,

Phil.]]>Philippe Riand2004-03-24T15:20:50-00:00Re: Pb with SWT_AWThttps://www.eclipse.org/forums/index.php/mv/msg/137102/432718/#msg_432718
that shows the problem. The flashing I have seen before but determined
(possibly incorrectly) that the problem was in Swing.