Note that in the above, the second argument passed by main to the create method is null. This means that the console will not support user interrupts. Unfortunately, user interrupt processing requires sun JRE-specific methods. So we handle user interrupts in a separate class, IntCon. If using a different JDK, you will need to replace IntCon entirely rather than subclass it: