GUI cross thread problem
894645Nov 13 2011 — edited Dec 7 2011Hello!
I Guess I have problem with calling function from one thread to another thread.
This is my scenario:
I have VBox that is on Stackpane. VBox has the eventhandler that catches dragEvent. When occurs dragEvent in eventhandler I want add new nodes to StackPane but I get error. I guess it is because cross thread invoke method problem, because StackPane is in one thread and eventhandler is in another or am I wrong?
summary:
When dragEvent occurs I want to call function that adds new node to Stackpane.
Is there any invoke function or something similar for cross threading communication?
Am I on rigt way or is problem in quite another?
Pleas help!