In Search of the Holy Grail of Swing MVC (Part 2)

After describing the basic design idea in Part 1 now let’s get some meat on the design:

May look complicated but the application developer only deals with two interfaces (Controller and View) and two implementations (Controller1 and View1) as you can see here:

The ControllerQueue will also be used for parent to child controller communication:

In the next part I’ll create some code examples to demonstrate the above design idea.

And Now for Something Completely Different 🙂

ARTHUR: “Please go and tell your master that we have been charged by God with a sacred quest,  and if he will give us food and shelter for this night he can join us in our quest for the Holy Grail.”
MAN: “Well, I’ll ask him, but I don’t think he’ll be very keen. He’s already got one, you see?”
ARTHUR: “What?”
GALAHAD: “He says they’ve already got one!” (They are stunned.)
ARTHUR: “Are you sure he’s got one?”
MAN: “Oh yes.  It’s very nice”

Advertisements

One thought on “In Search of the Holy Grail of Swing MVC (Part 2)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s