tabbedPane.setSelectedIndex(SOURCE_INDEX);
getTcSourcePane().setVisible(true);
// set the current line highlighted
Object extraData = event.getExtraData();
if (extraData instanceof Breakpoint) {
Breakpoint breakpoint = (Breakpoint) extraData;
// load the file into the tabbedPaned
File f = new File(breakpoint.getFileName());
NonWrappingTextPane textPane = null;
if (f.exists() && f.canRead()) {
textPane = loadTestCaseSource(f, true, f.getName().equals(StaticConfiguration.TEST_SCRIPT_FILENAME));
tabbedPane.setSelectedIndex(TestCasePane.SOURCE_INDEX);
// now go to the given line
textPane.selectLine(breakpoint.getLineIndex());
textPane.getLineNumberPanel().update(event);
}
}
break;
}