myGrid.setCellFactory(new Callback<GridView<Color>, GridCell<Color>>() {
@Override
public GridCell<Color> call(GridView<Color> arg0) {
return new ColorGridCell();
}
});
Random r = new Random(System.currentTimeMillis());
for(int i = 0; i < 100; i++) {
list.add(new Color(r.nextDouble(), r.nextDouble(), r.nextDouble(), 1.0));