When DivisorCount is called, three windows should open up - one is to be called "Master" and the others - "Odd" and "Even." One of them will be an instance of CountViewContainer. The others should just have a value window which will be a subclass of CountViewContainer. For this, we can make a new class of SlaveViewContainer, which is a subclass of ModelValueViewContainer.

CountViewContainer : I am a CountViewContainer. I know how to lay out visual components. I can display my value but do not know what it is. I have a whole-part relationship with Button and DisplayBox.

SlaveViewContainer : I am a SlaveViewContainer. I know how to lay out visual components. I can display my value but do not know what it is. I have a whole-part relationship with DisplayBox.

Button : I am a button. I know my label and my action. I can be pushed and can display my label. I am a part of COuntViewContainer and SlaveViewContainer.

DisplayBox : I am a DisplayBox. I can display my value and update it too.