if(m_arrColumns == null){
ArrayList arrColumnsList = new ArrayList();
arrColumnsList.add(new SimpleTableColumn ("Name", true)
{
public Object getColumnValue(Object objValue) {
SFObject objSFObject = (SFObject) objValue;
return objSFObject.getName();
}
});
arrColumnsList.add(new SimpleTableColumn ("Date", true)
{
public Object getColumnValue(Object objValue) {
SFObject objSFObject = (SFObject) objValue;
return objSFObject.getDate();
}
});
m_arrColumns = new SimpleTableColumn[arrColumnsList.size()];
arrColumnsList.toArray(m_arrColumns);