Changed to JComboBox so you don't need to figure out the attribute