private void appendTab(Component comp){
  String title=comp.getName();
  int insertAt=findInsertPosition(title);
  tabs.insertTab(title,null,comp,title,insertAt);
}

private void appendTab ( Component comp ) { String title = comp . getName ( ) ; int insertAt = findInsertPosition ( title ) ; tabs . insertTab ( title , null , comp , title , insertAt ) ; }
adds a component to the end of the jtabbedpane .
