return false;
}
private static Component createCell(int index) {
StackPane stackPane = new StackPane();
Border border = new Border();
border.getStyles().put("backgroundColor", index);
stackPane.add(border);
Label label = new Label();
label.setText(Integer.toString(index));
label.getStyles().put("backgroundColor", Color.WHITE);
label.getStyles().put("padding", 2);
BoxPane boxPane = new BoxPane();
boxPane.getStyles().put("horizontalAlignment", HorizontalAlignment.CENTER);
boxPane.getStyles().put("verticalAlignment", VerticalAlignment.CENTER);
boxPane.add(new Border(label));
stackPane.add(boxPane);
return stackPane;
}