D

dad-lecture5

2017-18 Additional Code for dad-lecture5 - optional approaches for students completing first 4 workshops by deadline

The main code for lecture 5 showing how to make a hand-rolled MVC This shows a common model and controller for Java Swing and JavaFX The code creates its own version of the Observer Pattern This is in the Utils package: Observer and Subject Note: It is possible to run the FX and Swing GUI at the same time but this generates some FX errors which needs investigation Currently only the button interfaces work with the common controller [DisplayController]