/*****************************************************************/ /* Copyright 2013 Code Strategies */ /* This code may be freely used and distributed in any project. */ /* However, please do not remove this credit if you publish this */ /* code in paper or electronic form, such as on a web site. */ /*****************************************************************/ package com.cakes; public class SlowThing extends Thing { public SlowThing() { try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } } }