ArrayLists - book question
In the Chapter 6 example of ArrayLists when a customer is selected the method DisplayCustomer puts text into fields when a customer is selected (p. 245)
If a customer is deleted that customer is no longer selected (there is no selected index). How does the method erase the names that were displayed? i.e. How do the fields get blank?
Thanks in advance
|