NotSerializableException on SimpleListProperty

后端 未结 6 1902
予麋鹿
予麋鹿 2020-12-10 08:09

I\'m using Javafx, and I wrap my objects into ListProperty to let the tableview updates for any changes on the objects of the list. Now I\'m trying to serialize my project a

6条回答
  •  悲&欢浪女
    2020-12-10 08:55

    Try creating a demo class that acts as a bridge between the front end and back end. Perform the backend operations on the main class file using serializable but access that with the help of the created demo class with the data type as SimplexxxProperty. Perform the conversion operation in the constructor of the demo class OR Try removing tostring() from the class.

提交回复
热议问题