for (int i=0; i< 1000; i++) {vs.add(i);}
RainbowCheckerboard g = new RainbowCheckerboard(11, 1);
WrappedCollection<Integer,Rectangle2D, Color> gs = new WrappedCollection<>(vs, g, g);
AggregatingDisplay p = new AggregatingDisplay(new Categories.First(),
new General.Echo<>(null),
gs,
new ParallelRenderer());
frame.setLayout(new BorderLayout());
frame.add(p, BorderLayout.CENTER);
frame.setSize(500, 500);
frame.invalidate();
p.zoomFit();
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}