CodeProject.TV will close July 31. Remember to ensure you’ve watched or download your videos! Full details here.

Communication Between Components: Mastering Java Swing Part 7

10m 36s

Cave of Programming

After working as a software developer and contractor for over 14 years for a whole bunch of companies including CSC, Proquest, SPSS and AT&T in the UK and... Read more

A tutorial on setting up communication between components in your Java Swing program.

How to cause something to happen in one component in response to something that happens in another component. In this tutorial we look at setting a listener on your custom component and we begin to look at MVC (Model-View-Controller) architecture.

Creating listeners for custom components
Beginning MVC
Disadvantages of making your components tightly coupled