X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FEditNameDialog.java;h=0ec4a879be21fecf28c77e1b29ca55d019704874;hb=e1aa3fdd1ca82abf5acc0cd3c2b86a5ca1083941;hp=1e6b38df1649592e3c10ac38b8deffd9eb00e415;hpb=838e4f91d4a53dd315640dbc9ff6ef7a815ee576;p=jalview.git diff --git a/src/jalview/gui/EditNameDialog.java b/src/jalview/gui/EditNameDialog.java index 1e6b38d..0ec4a87 100644 --- a/src/jalview/gui/EditNameDialog.java +++ b/src/jalview/gui/EditNameDialog.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1) - * Copyright (C) 2015 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -80,13 +80,13 @@ public class EditNameDialog panel2.add(description, BorderLayout.CENTER); panel.add(panel2, BorderLayout.SOUTH); } - int reply = JOptionPane.showInternalConfirmDialog(parent, panel, title, - JOptionPane.OK_CANCEL_OPTION); + int reply = JvOptionPane.showInternalConfirmDialog(parent, panel, title, + JvOptionPane.OK_CANCEL_OPTION); if (!parent.requestFocusInWindow()) { System.err.println("Bad focus for dialog!"); } - if (reply == JOptionPane.OK_OPTION) + if (reply == JvOptionPane.OK_OPTION) { accept = true; }