1 // Fig.13.14: ListTest.java 2 // Selecting colors from a JList.