bridge = new EclipseProcessingBridge(shell, EclipseProcessingBridge.createApplet());
Layers layers = LabelSketch.createLabeledSketch();
new NearestNeighborAlgorithm(layers.getMap()).run();
layers.add(CurrentSelectionOverlay.class);
Location loc = findLocation(layers.getMap(), "the");
loc.setColor(new Colors(255, 0, 0));
loc = findLocation(layers.getMap(), "for");
loc.setColor(new Colors(255, 0, 0));
loc = findLocation(layers.getMap(), "fox");
loc.setColor(new Colors(255, 0, 0));
bridge.setMapVizualization(layers);
int dim = layers.getMap().getParameters().width;