java - windowDeactivated not working on Mac -
i have following code:
public audiodialog() { this.addwindowlistener(new windowlistener() { public void windowactivated(windowevent e) { } public void windowclosed(windowevent e) { } public void windowclosing(windowevent e) { } public void windowdeactivated(windowevent e) { system.out.println("deactivated"); dispose(); } public void windowdeiconified(windowevent e) { } public void windowiconified(windowevent e) { } public void windowopened(windowevent e) { } }); }
windowdeactivated correctly executed under windows when jdialog loses focus, under mac nothing happens.
can tell me i'm doing wrong?
Comments
Post a Comment