Merge branch 'develop' into bug/JAL-4059_update_swingJS_for_JalviewJS_2_11_2_and_2_11_3
authorJames Procter <j.procter@dundee.ac.uk>
Mon, 13 Nov 2023 16:17:27 +0000 (16:17 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Mon, 13 Nov 2023 16:17:27 +0000 (16:17 +0000)
help/markdown/whatsnew/whatsnew-2_11_3_0.md
src/jalview/fts/service/uniprot/UniProtFTSRestClient.java
src/jalview/gui/AlignFrame.java

index decb10c..6cb0d25 100644 (file)
@@ -21,4 +21,4 @@ In addition to these new functionality, next generation CLI operations can be ap
 
 All new CLI parameters are preceded by '--', as opposed to an optional single '-' which was used in Jalview's old CLI. Old style arguments can still be used, so existing scripts will still work as before, but old-style operations cannot be mixed with new operations in the same CLI call. Use of old command line operations will also raise a warning, and we plan to completely remove support in Jalview's next major release (2.12).
 
-As usual, please let us via [Jalview's Discussion forum](https://discourse.jalview.org) of any issues you encounter using the new CLI, and of course any requests for improvement or new functionality !
+As usual, please let us know via [Jalview's Discussion forum](https://discourse.jalview.org) of any issues you encounter using the new CLI, and of course any requests for improvement or new functionality !
index df48c0d..980dac6 100644 (file)
@@ -21,7 +21,6 @@
 
 package jalview.fts.service.uniprot;
 
-import java.lang.invoke.MethodHandles;
 import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.ArrayList;
@@ -80,7 +79,7 @@ public class UniProtFTSRestClient extends FTSRestClient
   private static final String USER_AGENT = ChannelProperties
           .getProperty("app_name", "Jalview") + " "
           + Cache.getDefault("VERSION", "Unknown") + " "
-          + MethodHandles.lookup().lookupClass() + " help@jalview.org";
+          + UniProtFTSRestClient.class.toString() + " help@jalview.org";
 
   static
   {
index 0745b85..c49626b 100644 (file)
@@ -3572,8 +3572,12 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
     final OverviewPanel overview = new OverviewPanel(alignPanel, frame,
             showHidden);
     frame.setContentPane(overview);
-    Desktop.addInternalFrame(frame, "", true, frame.getWidth(),
-            frame.getHeight(), true, true);
+
+    alignPanel.setOverviewPanel(overview);
+    alignPanel.setOverviewTitle(this);
+
+    Desktop.addInternalFrame(frame, overview.getTitle(), true,
+            frame.getWidth(), frame.getHeight(), true, true);
     frame.pack();
     frame.setLayer(JLayeredPane.PALETTE_LAYER);
     final AlignmentPanel thePanel = this.alignPanel;
@@ -3593,9 +3597,6 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
       frame.addKeyListener(getKeyListeners()[0]);
     }
 
-    alignPanel.setOverviewPanel(overview);
-    alignPanel.setOverviewTitle(this);
-
     return overview;
   }