Can anybody recommend a (preferably open-source) framework for decoupling GUI from model in Java desktop applications?
+2
A:
Java Swing actually makes good use of MVC for just this purpose.
Justin Ethier
2010-06-04 19:55:32
"Model" in MV* for me means primarily domain model, which ListModel, TableModel and friends certainly aren't; they correspond more closely to a Presenter or a ViewModel.
Alexey Romanov
2010-06-04 22:01:38
How is a generic framework going to supply a domain specific model component?
Stephen C
2010-06-05 00:30:48
It isn't, of course. I am merely suggesting they've got the name a bit wrong :)
Alexey Romanov
2010-06-05 03:01:28
+1
A:
From your reaction to the suggestion that Swing is an MVC framework for desktop apps, I think that you really need some kind of generator framework that will generate the 'model' and 'view' code from higher level specifications. Examples I'm (more or less) familiar with are Eclipse EMF, GEF and related technologies.
Stephen C
2010-06-05 00:36:49