Sunday, January 27, 2008

Interface Mail

I added a couple of new classes to the CroftSoft Code Library today. I also wrote a tutorial to explain them, Interface Mail.

Java interface Mail is used as an intermediary to broadcast and retrieve messages passed between objects. Class FlipMail is an implementation of interface Mail which flips the outgoing and incoming messages lists when updated. FlipMail simplifies desktop application programming by reducing coupling between Model, View, and Controller (MVC) objects and controlling when state change request and event messages are processed.