Hi, Actions.forID("Window", "org.netbeans.core.windows.actions.ToggleFullScreenAction").actionPerformed(null);
I *think* that I have successfully run the code above on a mac a couple of years back, but that might have been before they changed their maximize/full screen handling. Today I noticed that it failed with an NPE on the mac. It works fine on Windows and Linux. Any ideas? /Patrik