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 !
package jalview.fts.service.uniprot;
-import java.lang.invoke.MethodHandles;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
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
{
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;
frame.addKeyListener(getKeyListeners()[0]);
}
- alignPanel.setOverviewPanel(overview);
- alignPanel.setOverviewTitle(this);
-
return overview;
}