I want to make a mvvm
project on java. But I can not find a sample project. There are a few Android samples but I don't want to make an Android-project. So how can I make a project with the mvvm
pattern?
I am trying to create a desktop application on which there are combo boxes and a data-grid. The app must connect to a database (i.e. MySQL) and the data-grid must be filled with data. Any changes on the combo boxes must change the grid's content. Maybe I want to make CRUD
-operation on later steps.
So any suggestions...
Take a look at JavaFX framework. It was already mentioned in a couple of other stackoverflow questions:
You may also find this blog post very interesting. It mentions Presentation Model (a pattern highly related to MVVM) and walks you trough basic JavaFX concepts regarding FXML (smth. like XAML in WPF).
EDIT: Simmilar question on stackoverlow
Is there anything similar to WPF and MVVM in Java world?