@Override
 public void setSize(final Dimension DIM) {
   final int SIZE = DIM.width <= DIM.height ? DIM.width : DIM.height;
   super.setSize(new Dimension(SIZE, SIZE));
   calcInnerBounds();
   init(getGaugeBounds().width, getGaugeBounds().height);
   setInitialized(true);
 }
 @Override
 public void setSize(final int WIDTH, final int HEIGHT) {
   final int SIZE = WIDTH <= HEIGHT ? WIDTH : HEIGHT;
   super.setSize(SIZE, SIZE);
   calcInnerBounds();
   init(getGaugeBounds().width, getGaugeBounds().height);
   setInitialized(true);
 }