@Override public void onEvent(Event event) throws Exception { if (event.getTarget().getId().equals(ConfirmPanel.A_CANCEL)) winExportFile.onClose(); else if (event.getTarget().getId().equals(ConfirmPanel.A_OK)) exportFile(); else if (event.getName().equals(DialogEvents.ON_WINDOW_CLOSE)) { panel.hideBusyMask(); } else if (event.getTarget().equals(cboType) && event.getName().equals(Events.ON_SELECT)) { displayExportTabSelection(); } else if (event.getName().equals("onExporterException")) { FDialog.error(0, winExportFile, "FileInvalidExtension"); winExportFile.onClose(); } }