Even the Restore down button in the title bar is disabled the user can still get the same behavior by double click on the title bar.
this.setResizable(false);
this.setExtendedState(JFrame.MAXIMIZED_BOTH);
I'm using Java 11 on Windows 10 if that matters.