Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MVC , INTERFACE.........

Status
Not open for further replies.

clank

Technical User
Nov 13, 2002
11
GB
I designed an application(not the best) with 4 classes. I believe this is the model and know I need to add the GUI.

Question? will this have the application stereotype thus be able to create instances of all the classes in my application and thus MVC or do I create an interface(methods only) and how then do I link it to my classes?

I can provide a link to the class diagram if anyone is willing to have a look.
Thank you "Together, we shall conquer"
 
Oh, I'm using java to code and UML for the diagrams "Together, we shall conquer"
 
Thank you for the reply.

Here is the link.

It is a simple one to get me going. I know I can put code in the button actionperformed method and add more code to display the results. That is not the problem.

I can't understand how one connects the GUI eg Frame2 in this example to the objects? Do you create an association to each? Or just add in the code like
"private employees emp1;"
"private manager man1;"
which to me seems like an association!!! Or is my UML playing tricks with me (do help!)

Does this design take care of MVC?

Any help appreciated for this newbie. Thank you "Together, we shall conquer"
 
Sorry, your link returns a "Unresolved Host Name" error.
 
Hey there it is!!! Now i forgot the question LOL

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top