--- old/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java 2017-10-29 18:24:34.000000000 +0530 +++ new/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java 2017-10-29 18:24:34.000000000 +0530 @@ -1074,6 +1074,13 @@ } } + /* Do toggle full screen upon double click + * on non-client area(i.e., title bar) + */ + private void deliverNCDblClick() { + execute(this::_toggleFullScreenMode); + } + /* * Our focus model is synthetic and only non-simple window * may become natively focusable window.