I was trying to -read and log serial port data using JAVA, but while adding JComboBox, the "new JComboBox" is getting strike through and showing error as- "java: cannot infer type arguments for javax.swing.JComboBox<>".
Read from a Serial port, notifying when data arrives : COM Port