开发者

Invalid Memory Acess for JavaFX ScrollBar on Snow-Leopard

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开发者_C百科 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)


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜