protected void updateBlockWidth() { dotPlot.setBlockWidth((Integer) blockWidthSpinner.getValue()); dotPlot.repaint(); }