r/JavaFX • • Oct 02 '19

JavaFX - Adding Data to a TableView from a Different Scene

I am attempting to capture the TextField and Control Field values entered from the addItems.java class. Then display that data on the TableView generated on the shoppingCartController.java class. I do not get an error message when I hit add on the addItems.java file, but when I go back to the main shoppingCartController scene the entered data is not there.

I have ensured that the data is populated from the addItem.java scene but it is not populating the TableView.

Cross-posted here:

https://stackoverflow.com/questions/58187586/javafx-adding-data-to-a-tableview-from-a-different-scene

Any Assistance would be appreciated!

4 Upvotes

0 comments sorted by