session.grabFocus();
   public void addSessionView(String tabText,Session session) {      sessionPane.addTab(tabText,focused,session);      sessionPane.setForegroundAt(sessionPane.getSelectedIndex(),Color.black);      sessionPane.setIconAt(sessionPane.getSelectedIndex(),unfocused);      sessionPane.setSelectedIndex(sessionPane.getTabCount()-1);      sessionPane.setForegroundAt(sessionPane.getSelectedIndex(),Color.blue);      sessionPane.setIconAt(sessionPane.getSelectedIndex(),focused);      session.addSessionListener(this);      session.addSessionJumpListener(this);   }