+ * @return the default alignFrame acted on by the public applet methods.
+ * May return null with an error message on System.err indicating the fact.
+ */
+ protected AlignFrame getDefaultTargetFrame()
+ {
+ if (currentAlignFrame!=null)
+ {
+ return currentAlignFrame;
+ }
+ if (initialAlignFrame!=null)
+ {
+ return initialAlignFrame;
+ }
+ System.err.println("Implementation error: Jalview Applet API cannot work out which AlignFrame to use.");
+ return null;
+ }
+ /**