apart from i forgot to change the static Baudrate (9600) to the int.
- not, never in
Java is possible to hold value in proper data type (Date, Double, Icon, Integet, Long ....), then there isn't some reason to "Integer#parseInt(String s) is your friend"
- isn't some reason to use "parseXxx" in Java
- put int/Integer to DefaultComboModel/JComboBox, then ActionListener returns int/Integer
- various formatting is possible in XxxListCellRenderer