9.3 Example GUI Implementation Using Swing

It is often the case that individual GUI components can aggregate the roles of both controller and viewer within the MVC pattern, and this is the case for the simple stopwatch example presented here. In the example, the aggregate viewer and controller class is called ViewerController and the full implementation is provided in the swing examples package as SwingGuiExample.



Subsections