static bool confirmYesNo(Component owner, S msg) { ret JOptionPane.showConfirmDialog(owner, msg, "JavaX", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION; }