Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

This is MVC as well.

 
Brad Smith
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have previously posted possible implementations for MVC in Java ("Is this MVC ?"and "This is MVC.")I decided to implement my application using some of the suggestions I received in those postings. This is my favourite, (and the last) alternative that I am posting.
Here is a third way to implement MVC in Java. This application just enables the end user to enter a temperature in Celsius or Fahrenheit, then displays the values in the output textboxes.
There are 3 source file (Model.java, View.java, Controller.java). Compile them, then run Controller.class.
----------------------------------------------

--------------------------------------------

----------------------------------------------

---------------------------------------------
Thanks for all of the input, I think I understand MVC now.
Brad Smith
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic