Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How does Swing MVC work?  RSS feed

 
Yuta Lolap
Ranch Hand
Posts: 86
Eclipse IDE Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a basic layout of Model, View & Controller classes. I don't know how to pass the control from the View, to the Controller after setting the username and password in the Model. I want to pass the model which i have set using username and password to an authenticate method in controller. Cant figure it out.

Also, I want to have four different methods in controller
Method 1 - authenticate
Method 2 - Add
Method 2 - Delete
Method 3 - Update

Please do let me know!

Thanks in advance!

View




Model



Controller



Application
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!