Risolto, l'evento era WindowEvent e l'interfaccia WindowStateChanged!!