private synchronized void addPermanentConsumer() {
      ImageConsumer consumer = myPermanentConsumer;
      if (consumer != null) addConsumer(consumer);
    }
private synchronized void addPermanentConsumer()