The actual NPE might help. Maybe you have to create a dummy even and not send 
null to actionPerformed?

If it's reproducible you should report it to the bugtracker 
https://issues.apache.org/jira/projects/NETBEANS/summary

--emi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 6 June 2018 2:36 PM, Patrik Karlström <pat...@trixon.se> wrote:

> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to