made the ListApplet more type safe