FontMetrics fm = g.getFontMetrics();
g.drawString(speedStr, getWidth() - 10 - fm.stringWidth(speedStr),
getHeight() - 10);
*/
StringGetter message = errorMessage;
if (message != null) {
g.setColor(errorColor);
paintString(g, message.get());
return;
}
if (proj.getSimulator().isOscillating()) {
g.setColor(DEFAULT_ERROR_COLOR);