hello, in order to beautify my window i set
Frame.setUndecorated(true);
and i draw my own title bar with minimize and maximize buttons.
now how can i implement the dragging the window around on the screen?
i tried to do
Frame.setLocation(Frame.getLocation().x+=deltaX, Frame.getLocation().y+=deltaY);
where delta is the difference of the mouseposition, but unfortunately this results in a flickering of the window back and forth a few pixels.
thanks!