package genegui; /** This is here solely to be able to pass null objects around in events. Java complains if the source of an event is null. I am (probably incorrectly) using the source of an event to pass a pointer rather than the actual source when I want to deliver a pointer to something. Thus this class. The cleaner solution is probably to make a new type of event whose response function takes a pointer argument. */ public class Pointer { public Object object; public Pointer(Object obj) { object = obj; } }