im trying to get a jdialog's new location after a mouse drag.
but my current code does not work. the jdialog added the mousemotion and mouselisteners and it only works if the mouse events are within the jdialog's contentpane area.
if i drag the titlebar, nothing happens. i dont see any way to get the titlebar object in the api.