Code samples for "Exercises in Porting to the NetBeans Platform"