views:

36

answers:

1

I created the following JavaFX script, which when run, generates an Invalid memory access on Snow-Leopard. What is it about javafx.scene.control.ScrollBar that is causing a memory failure?

Stage {
    title: "Scroll View"
    scene: Scene {
        content: [
            ScrollBar {
                min: 0
                max: 100
                value: 0
                blockIncrement: 10
                vertical: false
            }
        ]
    }
    resizable: false
}

I'm using whatever JavaFX (at least 1.2) that comes with NetBeans 6.8:

Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.6.2 running on x86_64; MacRoman; en_US (nb)
+1  A: 

I just ran your example using Product Version: NetBeans IDE 6.8 (Build 200912041610) Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101 System: Mac OS X version 10.6.2 running on x86_64; MacRoman; en_US (nb) javafx 1.2.3_b36

With no error.

JimClarke
How did you get the javafx version number? I know I'm using 1.2.3, not sure if it's build 36 or earlier.
Mike Caron