JAL-3048 response() renamed addResponse(); checkstyle warning fixes
[jalview.git] / src / jalview / gui / FeatureEditor.java
index ab69f45..d75404a 100644 (file)
@@ -414,10 +414,10 @@ public class FeatureEditor
      * also for Delete if applicable (when amending features)
      */
     JvOptionPane dialog = JvOptionPane.newOptionDialog(Desktop.desktop)
-            .response(okAction).response(cancelAction);
+            .addResponse(okAction).addResponse(cancelAction);
     if (!forCreate)
     {
-      dialog.response(getDeleteAction());
+      dialog.addResponse(getDeleteAction());
     }
 
     String title = null;