public boolean getMethodLayout() {
            int[][] dim = new int[columns][rows];
            int cur = 0;
            for (int i = 0; i < columns; i++) {
                int[] row = new int[rows];
                for (int j = 0; j < rows; j++) {

                    try {
                        row[j] = Integer.parseInt(fieldList.get(cur).getField().getText());
                        if (fieldList.get(cur).getField().isVisible() && (row[j] <= 0)) {
                            JOptionPane.showMessageDialog(null, fieldList.get(cur).getField().getText() + " is below 1!", "Error", 2);
                            return false;
                        }
                    } catch (Exception e) {
                        JOptionPane.showMessageDialog(null, fieldList.get(cur).getField().getText() + " is not a number!", "Error", 2);
                        return false;
                    }

                    row[j] = Integer.parseInt(fieldList.get(cur).getField().getText());
                    cur++;
                }
                dim[i] = row;
            }


            customMethodLayout = dim;
            return true;
        }