import jalview.viewmodel.AlignmentViewport;
import java.awt.Component;
-import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
};
overrideKeyBinding(key_cmdF, action);
}
+
+ /**
+ * Override to do nothing - let the embedded AlignFrame's be the selected frame
+ */
+ @Override
+ public void setSelected(boolean selected) throws PropertyVetoException
+ {
+ // no-op here fixes JAL-3288 (menus close immediately)
+ }
}