Java has problems with ’non standard’ window managers.
If you have changed from one of the main window managers and are seeing blank windows when you use ZAP then see https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_console for potential solutions.