title: How to use Java to move Windows windows around on screen?
body: <p>I've been contemplating making a window manager with a GUI, probably in Java. However, I'm struggling to figure out the best way to move windows not owned by my program. </p>
  
  <p>So far, it would seem I should use JNI to interface with the Windows API, but I haven't found any helpful examples. </p>
  
  <p>Does anyone know how to do this? </p>
  
  <p>Thanks!</p>
  
  <p>PS. I'm not necessarily tied to Java, if there is a better language to do this in.</p>