return 128;
}
@Override
public void paint(Graphics2D graphics) {
ActivityIndicator activityIndicator = (ActivityIndicator)getComponent();
int width = getWidth();
int height = getHeight();
if (backgroundColor != null) {
graphics.setColor(backgroundColor);
graphics.fillRect(0, 0, width, height);
}
if (activityIndicator.isActive()) {
graphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
// Translate/scale to fit
if (width > height) {