dcsimg

How can I determine the size of a Frame when I resize or maximize it?

Sandip Chitale

To get notified when the frame is resized or maximized you need to register a ComponentListener on the frame.

In the call back componentResized(...) you could ask the frame for its size using frame.getSize()