Swing in a better world: Generics and arrays