JComboBox comboBox=new JComboBox(); is showing tex strike through on "new JComboBox()"

16 Views Asked by At

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<>".

enter image description here

Read from a Serial port, notifying when data arrives : COM Port

0

There are 0 best solutions below