Generics in JComboBox weren't added until Java 7, I'm just going with what Java 5 does.