this.title = title;
setInfoText(info);
- java.net.URL url = getClass().getResource("/images/Jalview_Logo_small.png");
+ java.net.URL url = getClass().getResource(
+ "/images/Jalview_Logo_small.png");
image = java.awt.Toolkit.getDefaultToolkit().createImage(url);
MediaTracker mt = new MediaTracker(this);
if (image != null)
{
- int x=image.getWidth(this)/2,y=image.getHeight(this)/2;
- g.rotate(Math.toRadians(angle), 10+x, 10+y);
+ int x = image.getWidth(this) / 2, y = image.getHeight(this) / 2;
+ g.rotate(Math.toRadians(angle), 10 + x, 10 + y);
g.drawImage(image, 10, 10, this);
- g.rotate(-Math.toRadians(angle), 10+x, 10+y);
+ g.rotate(-Math.toRadians(angle), 10 + x, 10 + y);
}
}
/*
* (non-Javadoc)
- *
+ *
* @see jalview.gui.IProgressIndicator#setProgressBar(java.lang.String, long)
*/
@Override
}
/**
- *
+ *
* @return true if any progress bars are still active
*/
@Override