frame.selectedbox = YAMM.home + YAMM.sep + "boxes" + YAMM.sep + YAMM.getString("box.inbox");
frame.selectedbox = Utilities.replace(YAMM.home + "/boxes/" + YAMM.getString("box.inbox"));
			public void valueChanged(TreeSelectionEvent e) {				DefaultMutableTreeNode node = (DefaultMutableTreeNode)(e.getPath().getLastPathComponent());				if (!(node.toString()).equals(YAMM.getString("box.boxes"))) {					File box = new File(node.toString());					if (node.toString().equals("deleted") || !box.exists()) {						frame.selectedbox = YAMM.home + YAMM.sep + "boxes" + YAMM.sep + YAMM.getString("box.inbox");						Mailbox.createList(frame.selectedbox, frame.listOfMails);						frame.mailList.clearSelection();						frame.mailList.updateUI();					} else if (!box.isDirectory()) {						frame.selectedbox = node.toString();						Mailbox.createList(frame.selectedbox, frame.listOfMails);						frame.mailList.clearSelection();						frame.mailList.updateUI();					}				}				if ( ((mainTable)frame.mailList).getSelectedRow() != -1 &&						!(((JTable)frame.mailList).getSelectedRow() >= frame.listOfMails.size())) {					tbar.reply.setEnabled(true);					tbar.forward.setEnabled(true);					//tbar.print.setEnabled(true);				} else {					tbar.reply.setEnabled(false);					tbar.forward.setEnabled(false);					//tbar.print.setEnabled(false);				}			}