Hi Matt!
I'm developing a javafx application which contains a jmonet canvas. The application has several fxml pages and controllers.
The jMonetCanvas is contained in a javafx controller. When I call this controller, it creates a static jMonetCanvas. But I have a problem:
If I go to another controller, the jMonet object continues staying on memory. I'm trying to delete the jMonetObject, calling the dispose method, setting to null the jMonetObject, but it continues in memory with its bufferedImages, listeners,...
What can I do to erase this object completely? I want to erase completely this object when I go to another controller, and I want to create a new jMonet object when I go to its controller.
Thanks.