/** * Sets the state of one of the components in the progress window. This method doesn't need to be * invoked from the <cite>Swing</cite> thread. * * @param task The value to change as one of the {@link Caller#TITLE} or {@link Caller#LABEL} * constants. * @param value The new value. */ private void set(final int task, final Object value) { final Caller caller = new Caller(task); caller.value = value; EventQueue.invokeLater(caller); }