JAL-2183 formatter added @Override (only)
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 30 Aug 2016 14:27:14 +0000 (15:27 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 30 Aug 2016 14:27:14 +0000 (15:27 +0100)
src/jalview/gui/JalviewDialog.java

index 3a4dfab..bc6a774 100644 (file)
@@ -59,6 +59,7 @@ public abstract class JalviewDialog extends JPanel
       new Thread(new Runnable()
       {
 
+        @Override
         public void run()
         {
           frame.setVisible(true);
@@ -95,16 +96,17 @@ public abstract class JalviewDialog extends JPanel
     ok.setText(MessageManager.getString("action.ok"));
     ok.addActionListener(new ActionListener()
     {
+      @Override
       public void actionPerformed(ActionEvent e)
       {
         okPressed();
-        closeDialog();
       }
     });
     cancel.setOpaque(false);
     cancel.setText(MessageManager.getString("action.cancel"));
     cancel.addActionListener(new ActionListener()
     {
+      @Override
       public void actionPerformed(ActionEvent e)
       {
         cancelPressed();