add comments 

add comments to addNewTab.java