What steps will reproduce the problem?
1. Select a folder with some emails
2. Select an email in emailTable
3. Email content is displayed in emailText component
4. Select another folder : email content is not reset
Just add "emailText.setText(null)" in valueChanged method of the JTree
component:
[...]
public void valueChanged(TreeSelectionEvent e) {
DefaultMutableTreeNode node = (DefaultMutableTreeNode) folderTree.getLastSelectedPathComponent();
if (node == null) {
return;
}
if (node.getUserObject() instanceof PSTFolder) {
PSTFolder folderValue = (PSTFolder) node.getUserObject();
selectFolder(folderValue);
emailText.setText(null); // Clean email content
}
}
[...]
PS.: low issue
Original issue reported on code.google.com by franck.a...@gmail.com on 10 Aug 2010 at 4:01
Original issue reported on code.google.com by
franck.a...@gmail.com
on 10 Aug 2010 at 4:01