I’m reusing a drag-and-drop “process builder” component built from JGo, in a new SWT application. This component has a palette with predefined polygon shapes, and a canvas that those shapes can be dragged onto, and then connected via arrows. I’m embedding the JGO component via the SWT_AWT bridge, in a Panel object. I’m using JDK 1.6.
Each polygon has a text label. When I move a polygon around on the canvas, I see redraw artifacts from the previous locations for the text label.
Has anybody else seen this? Any solutions? I’ve tried the code from the Albireo project, but when I used their Composite class I lost drag-and-drop capability.