private void initialize() {
this.setText("Spider...");
this.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (treeSite != null) {
SiteNode node = (SiteNode) treeSite.getLastSelectedPathComponent();
extension.setStartNode(node);
if (node.isRoot()) {
extension.showDialog("All sites will be crawled");
} else {
try {
HttpMessage msg = node.getHistoryReference().getHttpMessage();
if (msg != null) {
String tmp = msg.getRequestHeader().getURI().toString();
extension.showDialog(tmp);
}
} catch (Exception e1) {