public PixelToolbar(PixelDocContext context) throws IOException {
this.setBoxAlign(Align.Top);
pixelColorPicker = new SwatchColorPicker();
this.add(pixelColorPicker);
histogramColorPicker = new HistogramColorPicker(context);
this.add(histogramColorPicker);
this.add(new Label("W:"));
brushWidthSlider = new Slider(false).setValue(10).setMin(1).setMax(100);
this.add(brushWidthSlider);
this.add(new Label("S:"));