PrinterClassLoader.java

public class PrinterClassLoader extends ClassLoader {
  public Class loadClass(String name) throws ClassNotFoundException {
    System.out.println("Loading " + name + "...");
    return getParent().loadClass(name);
  }
}