Is there some kind of a window listener with a method that can return the size of a jframe constantly during runtime so if a resize happens you can manipulate other things in the program accordingly. I have a simple program with circles bouncing around and i want to make it so if i resize the jframe (while viewing it with jcreators applet viewer) that i can resize the boundaries of where the circles can bounce to. - Sorry if thats confusing.

Thanks -