Weaver book - Example code works on JavaFXPad but not on Eclipse
I am new to JavaFX and am working through James Weaver's JavaFX ebook, which is excellent. I have been using MyEclipse with the JavaFX Eclipse plugin, and have been running example code as JavaFX Applications within MyEclipse with no problems, until now.
The code I am trying to run is GroupTextAndEllipse.fx in Chapter 5. If I run the code using JavaFXPad, it behaves exactly as described in the text. However, if I run it within MyEclipse, the application with text and eclipse is displayed, the mouse pointer changes to a hand correctly, but clicking or dragging with the mouse does nothing. Putting println statements within the code shows that the CanvasMouseEvents are being handled correctly, but the transform is not happening.
Does anyone have any ideas why this wouldn't work in Eclipse, and if there is any solution?
I haven't posted the code here as it loses formatting, I'm happy to post it if required.
Any help much appreciated,