private TerminalViewInterface getParentView(SessionPanel session) {

    TerminalViewInterface f = null;
    for (int x = 0; x < frames.size(); x++) {
      f = frames.get(x);
      if (f.containsSession(session)) return f;
    }
    return null;
  }