Showing posts with label mouse. Show all posts
Showing posts with label mouse. Show all posts

Monday, May 7, 2012

Listen to JFrame resize events as the user drags their mouse?


When a user clicks on the corner of a JFrame to resize and drags the mouse around, the JFrame redraws based on the current position of the mouse as the user drags. How can you listen to these events?