New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PopulationGraphGUI throws unexpected exception #1
Comments
In PopulationGraphGUI.java, I'm trying to remove the unchecked call warning.
Unchecked call to 'add(E)' as a member of raw type 'java.util.List' when you try to add xydata |
I was implementing another class that uses What I figured out is that due to the fact that |
Now just need to figure out how to work with the same |
Apparently, |
Oh nice. That sounds reasonable to me, you will just have to ensure that only one thread is accessing Collection using thread states. Ill give it a try later |
Also maybe using |
Good idea. Also, I am thinking about redesigning the system so that |
Apparently, deleting any relation between the database and the GUI doesn't solve the problem. Probably, problem is partially due to the JavaFX. |
This might be helpful: http://stackoverflow.com/questions/22089022/line-chart-live-update |
Problem solved! |
At completely random times, PopulationGraphGUI throws the following error:
It could be related to
update()
method updating thedataSeries.getData()
outside the JavaFXstart()
method.The text was updated successfully, but these errors were encountered: