1. Mouse-click Write a program that displays a panel. When the user clicks the mouse within the panel, an option pane displays the distance of the mouse from the top left corner of the panel. Refer to Appendix A to see how to obtain the mouse-click coordinates.
2. Cash register Write a program that represents a cash register. Amounts of money can be entered into a text field and are added to the running total when a button is clicked on. The running total is displayed in another text field. Another button allows the sum to be cleared (made zero).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here