title: Window resize event?
body: <p>I'm writing a simple painting program using Java, and I want some method to be called whenever the JFrame component is resized. However I can't find any method like windowResizedListener or an event like windowResizedEvent.
  What can I do?!</p>