Review request: RT-35838 [Quantum] NPE if Platform.exit() is called when rendering is happening

2014-05-11 Thread Daniel Blaukopf
Hi Steve and Dave, Please review: http://cr.openjdk.java.net/~dblaukop/webrev-20140212-0939-RT-35838/webrev/ https://javafx-jira.kenai.com/browse/RT-35838 Thanks, Daniel

ScrollPane like on iOS?

2014-05-11 Thread Tobias Bley
Hi JavaFX freaks, does anybody has an idea how to start to develop a ScrollPane that acts like the one on iOS? When the scroll position on iOS is on top (0) and the user drags the scroll pane to bottom, it slides down until the user releases the finger (touch off). Best regards, Tobi

Re: ScrollPane like on iOS?

2014-05-11 Thread Daniel Blaukopf
Hi Tobias, Running with -Dcom.sun.javafx.touch=true should get you the effect you are looking for. The code for this is in VirtualFlow and ScrollBarSkin. Thanks, Daniel On May 11, 2014, at 3:39 PM, Tobias Bley t...@ultramixer.com wrote: Hi JavaFX freaks, does anybody has an idea how to

Review request: RT-37063 [Monocle] X11 port should use full screen mode

2014-05-11 Thread Daniel Blaukopf
Hi Lisa and Dave, Please review: http://cr.openjdk.java.net/~dblaukop/webrev-20140511-1730-RT-37063/webrev https://javafx-jira.kenai.com/browse/RT-37063 Thanks, Daniel

Review request: RT-37064 [Monocle] Make -Dembedded=monocle the default

2014-05-11 Thread Daniel Blaukopf
Hi Lisa, Please review: http://cr.openjdk.java.net/~dblaukop/webrev-20140511-1749-RT-37064/webrev/ https://javafx-jira.kenai.com/browse/RT-37064 Thanks, Daniel

Review request: RT-37065 [Monocle] Use the X11 implementation in preference to framebuffer if DISPLAY is set

2014-05-11 Thread Daniel Blaukopf
Hi Lisa and Dave, Please review: http://cr.openjdk.java.net/~dblaukop/webrev-20140511-1809-RT-37065/webrev/ https://javafx-jira.kenai.com/browse/RT-37065 Thanks, Daniel

Clarification on javafx.concurrent.Task cancellation behavior

2014-05-11 Thread weiqigao
Hi, Looking at the javafx.concurrent.Task code, I see the following in the nested class TaskCallableV’s call() method: try { final V result = task.call(); if (!task.isCancelled()) { // If it was not cancelled, then we take the