Short exercise for event-driven programming
Modify the letter
package so that it handles the backspace
key appropriately:
- If the current JLabel is not empty, then remove the last character
from the text.
- If the current JLabel is empty, then make the previous JLabel to
be the current (unless we're already on the 0th JLabel).
- Decrement the count for the deleted character.
The code from class can be found here: letter.tar.
Please turn in any file you have modified by email. Due Wednesday.
Last modified: Mon Feb 9 10:49:06 CST 2009