public void secureAnalysis() { int rw = tblItems.getSelectedRow(); if (rw != -1) { int idx = tblItems.convertRowIndexToModel(rw); String desc = store.describe(idx); if (JOptionPane.showConfirmDialog(frm, desc, "Details", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.CANCEL_OPTION) return; } if (JOptionPane.showConfirmDialog(frm, store.tagDesc(), "Tags", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.CANCEL_OPTION) return; if (JOptionPane.showConfirmDialog( frm, store.storeDesc(), "Storage", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.CANCEL_OPTION) return; }