try {
storeInfo.connectStore();
javax.swing.SwingUtilities.invokeLater( new Runnable() {
public void run() {
MailTreeNode mtn = null;
net.suberic.pooka.FolderInfo fi = storeInfo.getChild("INBOX");
if (fi != null) {
FolderNode fn = fi.getFolderNode();
Action openAction = fn.getAction("file-open");
openAction.actionPerformed(new java.awt.event.ActionEvent(this, 0, "file-open"));
mtn = fn;
} else {
mtn = storeInfo.getStoreNode();
}
if (mtn != null) {
javax.swing.JTree folderTree = ((FolderPanel)mtn.getParentContainer()).getFolderTree();
folderTree.scrollPathToVisible(new javax.swing.tree.TreePath(mtn.getPath()));
}
openInboxSuccess();
}
});