OOPad

An Example of OOA/OOD for new OOProgrammers


 
 
OOPad is a simple text editor that is built upon my best understanding of object-oriented design.  I work for a company that is known for its OO work and was developing a class to train C programmers in Java.  I had intended to take the Notepad.java example from the JDK from Sun.  I was going to strip out the inner classes and create an example of OOD for the class.  The problem that quickly arose is that these inner classes are tightly coupled to the enclosing class.  This prevents them from being removed or reused.

These inner classes, I claim, are nothing more than function pointers.  They have nothing to do with the principles of object design.  And they are less honest than the blatant function pointers that Microsoft put into J++ some time back.  It is one thing to be clueless; another, to be disingenuous.  I further claim that you will never deal with some important issues of OOA/OOD unless you adhere to the principle of one class-one source file (this is Java.)

I have included:

  1. javadocs of the source
  2. a brief design description
  3. a page to link your alterations into
Feel free to contact me:
Richard Harris
paladin@i1.net
PO Box 276
Martindale TX 78655