int[] (final RadContainer container, final int rowColIndex, final int delta) { final GridBagLayout gridBag = getGridBag(container); Point layoutOrigin = gridBag.getLayoutOrigin(); int[][] layoutDimensions = gridBag.getLayoutDimensions(); int[] result = new int[layoutDimensions[rowColIndex].length + delta]; if (result.length > 0) { result[0] = (rowColIndex == 0) ? layoutOrigin.x : layoutOrigin.y; for (int i = 1; i < result.length; i++) { result[i] = result[i - 1] + layoutDimensions[rowColIndex][i - 1]; } } return result; }