if (evt.getEventType().equals(HyperlinkEvent.EventType.ACTIVATED)) {
if (_parent != null) {
final String desc = evt.getDescription();
if ("#class".equals(desc)) {
final BugTreePanel bugTreePanel = _parent.getBugTreePanel();
final BugTree tree = bugTreePanel.getBugTree();
if (bugTreePanel.isScrollToSource()) {
tree.getScrollToSourceHandler().scollToSelectionSource();
} else {
bugTreePanel.setScrollToSource(true);
tree.getScrollToSourceHandler().scollToSelectionSource();
bugTreePanel.setScrollToSource(false);
}
} else if ("#comments".equals(desc)) {
getTabbedPane().setSelectedComponent(getCloudCommentsPanel());
}