hg: openjfx/8u-dev/rt: 2 new changesets

2014-05-21 Thread hang . vo
Changeset: 36a59c629605 Author:yjoan Date: 2014-05-21 08:39 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/36a59c629605 Adding SceneBuilder sample AirportApp + apps/scenebuilder/samples/AirportApp/.classpath + apps/scenebuilder/samples/AirportApp/.project +

Re: How to force pixels to hit the screen?

2014-05-21 Thread Mike Hearn
Would that runLater() code always run after the splash image was finished being rendered? Unfortunately I tried this and it doesn't work. JavaFX has a dual threaded architecture in which all app logic and scene graph handling happens on the app thread, and the process of drawing a frame

hg: openjfx/8u-dev/rt: RT-28412 [ToggleGroup] incorrect behavior of selectToggle method

2014-05-21 Thread hang . vo
Changeset: 92f153791fa4 Author:Martin Sladecek martin.slade...@oracle.com Date: 2014-05-21 09:33 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/92f153791fa4 RT-28412 [ToggleGroup] incorrect behavior of selectToggle method Reviewed by: jgiles !

FXGraphics2D (a Java2D to JavaFX Canvas bridge)

2014-05-21 Thread David Gilbert
Hello, To add JavaFX support to JFreeChart (http://www.jfree.org/jfreechart) and Orson Charts (http://www.object-refinery.com/orsoncharts), which are both Java2D-based, I have written a Graphics2D implementation that targets the JavaFX Canvas. This is potentially useful to other people with

hg: openjfx/8u-dev/rt: RT-36541: [Glass, Mac] Extremely poor performance with ColorfulCirclesApp on Early 2013 retina MacBook Pro

2014-05-21 Thread hang . vo
Changeset: 0e6a232fa8c4 Author:pchelko Date: 2014-05-21 13:32 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0e6a232fa8c4 RT-36541: [Glass, Mac] Extremely poor performance with ColorfulCirclesApp on Early 2013 retina MacBook Pro Reviewed-by: anthony, snorthov !

Re: How to force pixels to hit the screen?

2014-05-21 Thread David Hill
On 5/21/14, May 21, 4:28 AM, Werner Lehmann wrote: Did you try to lower the priority of your thread(s)? Also, I the suggestion to wait a few frames, e.g. on the AnimationTimer, made a lot of sense to me. This will of course slow down total startup time but there is a better chance of having a

Please review fix for RT-37215 [Printing] Illegal argument exception for HARDWARE_MINIMUM margin

2014-05-21 Thread Phil Race
https://javafx-jira.kenai.com/browse/RT-37215 http://cr.openjdk.java.net/~prr/rt-37215/

hg: openjfx/8u-dev/rt: RT-37227: [Regression] NPE when setting RTL Orientation.

2014-05-21 Thread hang . vo
Changeset: 173e83b68f7e Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-05-21 08:34 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/173e83b68f7e RT-37227: [Regression] NPE when setting RTL Orientation. !

Are Multitouch Gestures supported on an embedded scene in a JFXPanel

2014-05-21 Thread Bilal Soidik
Hi! Just I want to know if touch Event are correctly supported in JavaFX application embedded in Swing application. -- *Bilal Soidiki Mpapandza* *Etudiant en Master Spé. Qualité du Logiciel, FS UIT* *Ingénieur logiciel et Développeur Java, C/C++,.NET et PHP* *Tél.*:*(+212) 602746546*

Re: Are Multitouch Gestures supported on an embedded scene in a JFXPanel

2014-05-21 Thread Anthony Petrov
Hi Bilal, No. This isn't possible at the moment because Swing doesn't support multi-touch. So we can't pass the multi-touch events to the JavaFX scene because there's simply nothing to pass. If your app requires multi-touch input, then your JavaFX scene should be added to a JavaFX Stage.

Should TreeItem have a Text property?

2014-05-21 Thread Jeff Martin
I'm working with TreeView today and it seems like it would be convenient if TreeItem had a Text property in addition to it's Graphic property. This would seem to solve the most common need for a custom TreeCell factory. Since most trees basically show a tree of labels, it would seem to make as

hg: openjfx/8u-dev/rt: RT-37075: Application.runLater throws IllegalStateException if called from ShutdownHook

2014-05-21 Thread hang . vo
Changeset: 18976928a1be Author:kcr Date: 2014-05-21 11:59 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/18976928a1be RT-37075: Application.runLater throws IllegalStateException if called from ShutdownHook Reviewed-by: anthony !

Re: add calculating methods to bind

2014-05-21 Thread Tom Eugelink
I came up with this: startXProperty().bind( *snap(*heightProperty().multiply(0.2)) ) And then: private DoubleBinding snap(final ObservableNumberValue other, final Observable... dependencies) { return new DoubleBinding() { { super.bind(dependencies);

Re: add calculating methods to bind

2014-05-21 Thread Tomas Mikula
Hi Tom, it seems to me that in your custom DoubleBinding implementation `other` is not its dependency, thus it does not react to it's invalidations. Tomas On Wed, May 21, 2014 at 9:25 PM, Tom Eugelink t...@tbee.org wrote: I came up with this: startXProperty().bind(

Re: add calculating methods to bind

2014-05-21 Thread Tom Eugelink
Found it! Slightly different DoubleBinding was required (copied it from negate). private DoubleBinding snap(final ObservableNumberValue value, final Observable... dependencies) { return new DoubleBinding() { { super.bind(value); }

Re: Should TreeItem have a Text property?

2014-05-21 Thread Stephen F Northover
This sounds reasonable to me. Please enter a JIRA for it. Steve On 2014-05-21 2:52 PM, Jeff Martin wrote: I'm working with TreeView today and it seems like it would be convenient if TreeItem had a Text property in addition to it's Graphic property. This would seem to solve the most common

Re: add calculating methods to bind

2014-05-21 Thread Tomas Mikula
Yeah, and you could also eliminate Observable... dependencies from snap's signature, since now you are not using them to invalidate your binding. On Wed, May 21, 2014 at 9:36 PM, Tom Eugelink t...@tbee.org wrote: Found it! Slightly different DoubleBinding was required (copied it from negate).

Re: add calculating methods to bind

2014-05-21 Thread Tomas Mikula
Just a side note, you could use EasyBind.map(heightProperty(), value - NodeUtil.snapXY(value.doubleValue() * 0.2)); instead of snap(heightProperty().multiply(0.2)) and you don't need your custom DoubleBinding implementation. But note that it returns BindingDouble, not DoubleBinding.

Re: add calculating methods to bind

2014-05-21 Thread Tom Eugelink
If I ever write a real application, I'm most definitely will use EasyBind. But this is for sharping up Agenda in JFXtras. I try to minimize the dependencies. Tom On 2014-5-21 22:00, Tomas Mikula wrote: Just a side note, you could use EasyBind.map(heightProperty(), value -

[8u20] Review request for RT-36957: [Gtk] Intermittent crash running system tests

2014-05-21 Thread Anthony Petrov
Hi Alexander, Please review the fix: https://javafx-jira.kenai.com/browse/RT-36957 -- best regards, Anthony

Re: Should TreeItem have a Text property?

2014-05-21 Thread Jeff Martin
Thanks! Jira: TreeItem should have a Text property jeff On May 21, 2014, at 2:44 PM, Stephen F Northover steve.x.northo...@oracle.com wrote: This sounds reasonable to me. Please enter a JIRA for it. Steve On 2014-05-21 2:52 PM, Jeff Martin wrote: I'm working with TreeView

hg: openjfx/8u-dev/rt: RT-21344: address some findbugs issues in CSS code.

2014-05-21 Thread hang . vo
Changeset: 87052b839eb2 Author:David Grievedavid.gri...@oracle.com Date: 2014-05-21 16:43 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/87052b839eb2 RT-21344: address some findbugs issues in CSS code. ! modules/graphics/src/main/java/com/sun/javafx/css/BitSet.java -

hg: openjfx/8u-dev/rt: RT-35628: Application Bundlers

2014-05-21 Thread hang . vo
Changeset: 0db6ba44ef98 Author:shemnon Date: 2014-05-21 15:28 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0db6ba44ef98 RT-35628: Application Bundlers Summary: Mac installers (DMG, PKG) don't append the app version to the installer name. Fix that Also, add hooks so

hg: openjfx/8u-dev/rt: Fixed RT-7215) [Printing] Illegal argument exception for HARDWARE_MINIMUM margin

2014-05-21 Thread hang . vo
Changeset: b266db447ddd Author:prr Date: 2014-05-21 15:33 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b266db447ddd Fixed RT-7215) [Printing] Illegal argument exception for HARDWARE_MINIMUM margin Reviewed-by: flar !