void (final double fraction) { synchronized (getLock()) { if (isIndeterminate()) { String message = "This progress indicator (" + this+") is indeterminate, this may lead to visual inconsistency. " + "Please call setIndeterminate(false) before you start progress. " + getClass(); LOG.info(message, new IllegalStateException()); setIndeterminate(false); } myFraction = fraction; } }