return sessionPane.getTabCount();
if (hideTabBar && sessionPane.getTabCount() == 0) { for (int x=0; x < this.getContentPane().getComponentCount(); x++) {  if (this.getContentPane().getComponent(x) instanceof Session) { return 1; } } return 0; } else return sessionPane.getTabCount();
   public int getSessionViewCount() {      return sessionPane.getTabCount();   }