columns = (XGridColumnFactory) UnoRuntime.queryInterface(
XGridColumnFactory.class, oObj);
aControl = columns.createColumn("TextField");
aControl2 = columns.createColumn("DateField");
aControl3 = columns.createColumn("TextField");
aControl4 = columns.createColumn("TextField");
aControl5 = columns.createColumn("TextField");
} catch (com.sun.star.lang.IllegalArgumentException e) {
// Some exception occures.FAILED
log.println("!!! Couldn't create instance : " + e);
throw new StatusException("Can't create column instances.", e);