Adding and removing graphics to layer causes blinking

3492
1
06-17-2015 09:05 AM
JamesHughes2
New Contributor

We have a set of graphics the need to be added and removed for a layer as an entity moves around on a map. Updates occur every few seconds and include a union of several circles to represent the entity. The graphic blinks off and on again during the add and remove. We have tried many different ways to alleviate the blinking (adding the Graphics at one time in an array, adding first and then removing, double buffering of layers). Nothing seems to reduce the blink.

We are currently adding only a small number of Graphics to the layer (less than 10). Are there any other methods we might try to prevent this blinking?

We are using the JavaFX Beta SDK.

Tags (3)
1 Reply
SachinKanaujia
Occasional Contributor III

Do you have any sample code that I can look at?

0 Kudos