Java Drag Window

imported_Ned Flanders

Senior member
May 11, 2005
641
0
0
I tried adding a mousemovementlistener to a JPanel which listenened for drag movements - in this code I delt with setting the location of the JFrame as the mouse was dragged - This approach 'worked' but I get MAJOR flickering as the frame is repainted.

Any ideas on how to drag move the JFrame without the flickering?

Cheers.