@Override public void valueChanged(ListSelectionEvent lse) { Object o = resultList.getSelectedValue(); if (o != null && o instanceof HelpPage) { dialog.displayPage((HelpPage) o); } }
private void showHelpDialog() { HelpDialog dialog = new HelpDialog(this, true); dialog.setVisible(true); }