In my free time in Comp Prog, I'm writing an IRC client, but that's beside the point (mostly). I've written a EventCallbacks interface and implemented it in both SwingUI and ConsoleUI. I want to be able to pass the reference to the UI to the Connection class so that it can fire their callbacks. Do I just pass it as EventCallback UI or as a java.lang.Object, or what?
EDIT -
I may not be able to read this in the morning, so could you drop the answer in an email to wlafrance@baraboo.k12.wi.us as well, please? (It's for class, so eh?)
Thanks.