Make JComboBox parameterized for Java 7
Fix resource leaks