// columns
grid.setRows(3);
grid.setColumns(3);
grid.insertChildAt(null, 0);
pane = new Pane(null);
pane.setName("a");
pane.setInstance(1);
pane.setParent(grid);
deviceLayoutContext.setFormatInstance(pane, NDimensionalIndex.ZERO_DIMENSIONS, paneContext);
grid.insertChildAt(pane, 1);
grid.insertChildAt(null, 2);
pane = new Pane(null);
pane.setName("b");
pane.setInstance(2);
pane.setParent(grid);
deviceLayoutContext.setFormatInstance(pane, NDimensionalIndex.ZERO_DIMENSIONS, paneContext);
grid.insertChildAt(pane, 3);
for (int i = 4; i < 8; i++) {
grid.insertChildAt(null, i);
}
pane = new Pane(null);
pane.setName("c");
pane.setInstance(3);
pane.setParent(grid);
deviceLayoutContext.setFormatInstance(pane, NDimensionalIndex.ZERO_DIMENSIONS, paneContext);
grid.insertChildAt(pane, 8);