NPE in VirtualFlow

2014-12-26 Thread Mario Ivankovits
Hi! Every now and then I get the exception down there (starting with JavaFX 8u40-b18 if I remember correctly) It seems it has something to to with the fact that the items list of one of my TableViews gets cleared and so no cells are visible any more. I was not yet able to always reproduce

Re: switching skins at runtime

2014-12-26 Thread Tom Eugelink
Hm, I've got it working, but I need to call a getChildren().clear() before I start creating nodes in a skin. If not, the control will retain the nodes an old skin has created. Also any style classes that were assigned remain, but those can be reset easily. Never the less I feel that setSkin()