How can you track the movement of a JFrame itself? I\'d like to register a listener that would be called back every single time JFrame.getLocation() is going to
JFrame.getLocation()
Using addComponentListener() with a ComponentAdapter:
jf.addComponentListener(new ComponentAdapter() { public void componentMoved(ComponentEvent e) { updateText(jf, jl); } });