Image

Imagebanana wrote in Imagejava_dev 😡aggravated

Maximisation in Swing


In a Swing app, how do I detect that a JFrame has been maximised?
I can't find any API method to do this, and although addHierarchyBoundsListener looked promising, I can't see how to tell the difference reliably between maximisation and any other resize.