Re: switching skins at runtime

2014-12-29 Thread Werner Lehmann
I think this is something you need to do in SkinBase.dispose. Werner On 26.12.2014 22:55, Tom Eugelink wrote: 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

Re: switching skins at runtime

2014-12-29 Thread Werner Lehmann
That's what I meant: clear children, or undo whatever you are doing to them, in dispose(). At any rate I wouldn't know if that is correct. It is just how I assume this would work. On 29.12.2014 11:44, Tom Eugelink wrote: That works for unbinding listeners to skinnable and the reset code for

Re: switching skins at runtime

2014-12-29 Thread Tom Eugelink
Clearing the children in dispose does not work, the control than actually has no nodes what so ever, so that still is done when building the new skin. Tom On 29-12-2014 11:55, Werner Lehmann wrote: That's what I meant: clear children, or undo whatever you are doing to them, in dispose(). At

Re: FX on Raspberry Pi - PiTFT displays

2014-12-29 Thread David Hill
On 12/24/14, 8:40 PM, Nick Pratt wrote: Im trying to get a JavaFX app to run on a RaspberryPi with attached TFT display (mapped as /dev/fb1). From my research it seems that Java/OpenJFX uses device 0 by default. I saw a posting in May 2014 about a request/suggestion to perhaps make the device

Re: FX on Raspberry Pi - PiTFT displays

2014-12-29 Thread Nick Pratt
Thats great - thanks for the JIRA link. I just need to get the openjfx to cross compile on my ubuntu box and I'm golden! Nick On Mon, Dec 29, 2014 at 1:27 PM, David Hill david.h...@oracle.com wrote: On 12/24/14, 8:40 PM, Nick Pratt wrote: Im trying to get a JavaFX app to run on a

3D shape not clipped by ScrollPane properly?

2014-12-29 Thread Mike Hearn
I have a ScrollPane into which I put a Pane with a min width/height, and then I place a Button and a Sphere. For both of them I use setLayoutX/Y to move them around. Now when I scroll the ScrollPane I can see it move the button around correctly, and the sphere, but the sphere is able to draw over

Re: Building Openjfx on Centos 6.6

2014-12-29 Thread Nick Pratt
So I made some progress here: I had installed Ubuntu 14.x 64-bit version. Once I installed the ia32-libs (replacement versions for Ubuntu 14 since ia32-libs) isnt available anymore, I got the ARM HF to build. I installed on my Pi, but Im getting link errors when I try and run a JFX program: