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()

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.