private void initClassificationList() { classificationTable.setPreference(preferenceId); try { classificationTable.load(); } catch (RequestException ex) { ErrorDialog.show(this, "Impossible de charger la liste des axes.", ex); } }
private void displayNewWindow() { try { frame = new DefaultQuarantineWindow(getGuiContext(), guiData, userId, new ListDataSource()); frame.addInternalFrameListener(cleanUpListener); getDesktopPane().add(frame); frame.pack(); frame.setVisible(true); frame.setSelected(true); } catch (Exception ex) { ErrorDialog.show(getDesktopPane(), "Impossible d'afficher la liste", ex); } }