JAL-2808 defer dispose to allow screen location to be captured
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 22 Nov 2017 12:27:33 +0000 (12:27 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 22 Nov 2017 12:27:33 +0000 (12:27 +0000)
src/jalview/gui/JalviewDialog.java

index 1008203..1d7bf3d 100644 (file)
@@ -136,8 +136,8 @@ public abstract class JalviewDialog extends JPanel
   {
     try
     {
-      frame.dispose();
       raiseClosed();
+      frame.dispose();
     } catch (Exception ex)
     {
     }