try having the action listener call a method that resizes the frame instead of resizing the frame directly

Ezzaral commented: You resurrected a four-year-old thread just to post this? -3