* @param defect The defect to display
* @param mode The Mode to use
*/
private Tab addDefectTab(Defect defect, Mode mode) {
Tab tab = addTab();
DefectView view = new DefectView(defect, mode, tab);
tab.setComponent(view);
view.requestFocus();
return tab;
}