For example,
You should see the shadow displays correctly.
boolean flag = true;
void doOpen(OpenEvent evt, Menupopup pp) {
if (!evt.isOpen()) return;...
For this example, it works for me.
{
final Window win = (Window) Executions.createComponents(
"/hello.zul", null, null);
win.setClosable(true);
win.doPopup();
win.addEventListener("onClose", new org.zkoss.zk.ui.event.EventListener(){
public void onEvent(Event evt) {
final...