SWT dialog

I’m trying to develop a tree control inside of a dialog box.

Currently I’ve been trying to use SWT and Swing inside of a Java agent to launch a new window with the tree control.

With the SWT agent, I’ve been running into issues where the window does not repaint itself properly on the screen when I move the dialog around - the window in the previous position still appears.

Has anyone else tried this before and does anyone know of how to fix this issue?

Thanks in advance,

WW