e.printStackTrace();
}
}
// Draw spinner buttons
int xSpaceing = img.getWidth();
ImagesLoader loader = new ImagesLoader();
BufferedImage icon = loader.loadImage("SlabUp.png");
int h = icon.getHeight();
g.drawImage( icon, rect.x+xSpaceing,rect.y,null);
upSpinner = new Rectangle(rect.x+xSpaceing, rect.y, icon.getWidth(), icon.getHeight());
icon = loader.loadImage("SlabDown.png");
g.drawImage(icon, rect.x+xSpaceing,rect.y+h,null);
downSpinner = new Rectangle(rect.x+xSpaceing,rect.y+h, icon.getWidth(), icon.getHeight());
}