java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Binding a JComboBox to a JTable
    via by Jacky Luk,
    • java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at edica.JEDICA_Frame$1.actionPerformed(JEDICA_Frame.java:82) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1260) at javax.swing.JComboBox.contentsChanged(JComboBox.java:1331) at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118) at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:94) at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:132) at javax.swing.JComboBox.addItem(JComboBox.java:718) at edica.CMainController.fill_PIN_combo_box(CMainController.java:39) at edica.CMainController.<init>(CMainController.java:23) at edica.CMain.main(CMain.java:20)
    No Bugmate found.