Say i have a panel with a textfield and a button, implemented using
java swing classes. The contents of the textfield can be changed when the button is pressed. How would I show such a system could be designed by drawing an appropriate class diagram.