MessageProxy mp = (MessageProxy) data.get(row);
if (mp == null)
return "null";
else {
if (! mp.isLoaded()) {
FolderInfo fi = mp.getFolderInfo();
if (fi != null) {
MessageLoader ml = fi.getMessageLoader();
if (ml != null) {
ml.loadMessages(mp, net.suberic.pooka.thread.MessageLoader.HIGH);
}
}
return (net.suberic.pooka.Pooka.getProperty("FolderTableModel.unloadedCell", "loading..."));
} else {
Object key = columnKeys.get(col);
Object returnValue = null;
try {
returnValue = mp.getTableInfo().get(key);
if (returnValue == null) {
if (! mp.getTableInfo().containsKey(key)) {
// means that we need to load this again.
java.util.List columnHeaders = mp.getColumnHeaders();
columnHeaders.add(key);
mp.setRefresh(true);
FolderInfo fi = mp.getFolderInfo();
if (fi != null) {
MessageLoader ml = fi.getMessageLoader();
if (ml != null) {
ml.loadMessages(mp, net.suberic.pooka.thread.MessageLoader.HIGH);
}
}
} else {