JAL-845 refactor / typo fix
[jalview.git] / src / jalview / gui / SplitFrame.java
index 3382f30..9cbded9 100644 (file)
@@ -546,7 +546,7 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI
    * Returns the alignment in the complementary frame to the one given.
    */
   @Override
-  public AlignmentI getComplement(Component alignFrame)
+  public AlignmentI getComplement(Object alignFrame)
   {
     if (alignFrame == this.getTopFrame())
     {
@@ -563,7 +563,7 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI
    * Returns the title of the complementary frame to the one given.
    */
   @Override
-  public String getComplementTitle(Component alignFrame)
+  public String getComplementTitle(Object alignFrame)
   {
     if (alignFrame == this.getTopFrame())
     {