X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FRestInputParamEditDialog.java;h=19a9b51bab4d79ea3148e2efb34f50d918afc662;hb=a38d7808b759178025820c8d220a37d1442a57b3;hp=80dc8fb32851c7a72443b4e3d6f44c14e7858ba4;hpb=17e77c3f2949a0729322b4a8d907f3f34b6a9914;p=jalview.git diff --git a/src/jalview/gui/RestInputParamEditDialog.java b/src/jalview/gui/RestInputParamEditDialog.java index 80dc8fb..19a9b51 100644 --- a/src/jalview/gui/RestInputParamEditDialog.java +++ b/src/jalview/gui/RestInputParamEditDialog.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9) - * 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. * @@ -74,13 +74,13 @@ public class RestInputParamEditDialog extends GRestInputParamEditDialog @Override protected void okPressed() { - reply = JOptionPane.OK_OPTION; + reply = JvOptionPane.OK_OPTION; } @Override protected void cancelPressed() { - reply = JOptionPane.CANCEL_OPTION; + reply = JvOptionPane.CANCEL_OPTION; } }; @@ -107,14 +107,14 @@ public class RestInputParamEditDialog extends GRestInputParamEditDialog + currentservice.getName(), 600, 800); initTypeLists(); - reply = JOptionPane.CANCEL_OPTION; + reply = JvOptionPane.CANCEL_OPTION; old = toedit; current = null; if (old != null) { setStateFor(old); } - updated = updated && reply == JOptionPane.OK_OPTION; + updated = updated && reply == JvOptionPane.OK_OPTION; frame.validate(); }