Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Niklas Therning
after many days trying to really build iOS apps with JavaFX and RoboVM or Avian I’m very frustrated because of the following things: Based on RoboVM, JavaFX on iOS runs unacceptable slow - I don’t know the reason - maybe it’s the rendering model of JavaFX - maybe it’s the

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Tom Schindl
I don't think it is a good idea to use fxml on embedded and mobile, we are working on a fxml = java converter so you can add it to your build process. Tom Von meinem iPhone gesendet Am 31.07.2013 um 08:11 schrieb Niklas Therning nik...@therning.org: after many days trying to really build iOS

hg: openjfx/8/graphics/rt: Android: Add vmlauncher netbeans project.

2013-07-31 Thread hang . vo
Changeset: a9eb573ffc6e Author:tb115823 tomas.branda...@oracle.com Date: 2013-07-31 09:07 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/a9eb573ffc6e Android: Add vmlauncher netbeans project. + netbeans/android/vmlauncher/Android.mk +

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Tom Eugelink
Not answering for my fellow Tom but for myself; FXML is a format that is mainly of interest to the developer, not the runtime environment. So, like precompiled JSP, there is something to say for compiling something that is actually programming code, no matter in which context it is used. On

hg: openjfx/8/graphics/rt: Android: Rename netbeans projects.

2013-07-31 Thread hang . vo
Changeset: 4f9d8e9fb4aa Author:tb115823 tomas.branda...@oracle.com Date: 2013-07-31 09:25 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/4f9d8e9fb4aa Android: Rename netbeans projects. - netbeans/android/glass-lib-lens/Android.mk -

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Niklas Therning
Will this converter be able to precompile embedded JavaScript? That would be very cool. If I remember correctly Rhino can compile JS to bytecode AOT. RoboVM would then be able to compile that bytecode to machine code. On Wed, Jul 31, 2013 at 8:28 AM, Tom Schindl tom.schi...@bestsolution.atwrote:

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Tom Schindl
On constrainted devices it is simply too slow because of all the reflection happening, you need to look up classes, decide on what a property means, doing type conversions from String to int, bool, ... this all eats up CPU-time! Tom On 31.07.13 09:15, John C. Turnbull wrote: Tom, why do you

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Tom Schindl
It will spit out a .java-Class which you run through javac and get bytecode - for robovm this is going to be completely transparent because it gets a java-class file. Tom On 31.07.13 09:57, Niklas Therning wrote: Will this converter be able to precompile embedded JavaScript? That would be very

Re: Missed pulse?

2013-07-31 Thread Werner Lehmann
Easy trap with invalidation listeners. If you don't get the property value after invalidation, the property remains invalidated and subsequent changes won't trigger another invalidation. To fix this, simply get the value (for nothing), or switch to change listeners... You probably know this

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Gaja Sutra
Have you decided, how you will make the bridge near the current FXMLLoader class. Particularly, will it be understandable by Proguard for better inlining and further reduce bytecode? Example: if a specific FXML is only loaded in one method of an application, all the FXMLLoader code can

Re: current state of gradle script for Android?

2013-07-31 Thread tomas.brandalik
Hi Tobi, it works on linux only right now. Set properties for cross build and android sdk/ndk. -PCOMPILE_TARGETS=android -PANDROID_SDK=/opt/android-sdk-linux -PANDROID_NDK=/opt/android-ndk-r7c -PCOMPILE_GSTREAMER=false -PSKIP_JAVADOC=true Closed source parts web and font-t2k will be missing.

Re: Missed pulse?

2013-07-31 Thread Scott Palmer
Interesting. The problem outlined in RT-31025 does involve GridPane with ColumnConstraints. I will try to dig up the code. Scott On Wed, Jul 31, 2013 at 4:47 AM, Diego Cirujano-Cuesta diego.cirujano-cue...@zeiss.com wrote: Hi Scott, I have a component quite similar to the one you

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Danno Ferrin
Where is the code base for this converter? Done properly it can also be written to spit out the generated stubs, as well as output in any language the user may prefer. A top grade implementation could integrate with FXMLLoader for a seamless experience ala .bss files. On Tuesday, July 30, 2013,

Re: current state of gradle script for Android?

2013-07-31 Thread Tobias Bley
Thanks Tomas, So currently it’s not possible to build OpenJFX for Android on Mac OS X, isn’t it? Tobi Am 31.07.2013 um 16:42 schrieb tomas.brandalik tomas.branda...@oracle.com: Hi Tobi, it works on linux only right now. Set properties for cross build and android sdk/ndk.

Re: Missed pulse?

2013-07-31 Thread Scott Palmer
Here is a test case that reproduces some problems. Compare the layout in the bottom right in JavaFX 2.x (7u25) vs. JavaFX 8.0-b100. You will have to resize the window and scroll. JavaFX 8 doesn't do a very good job. Note also how sluggish JavaFX 8 is when you try to resize the splitter above

Re: Missed pulse?

2013-07-31 Thread Richard Bair
Jim just fixed RT-30223, RT-30826, RT-31044 - Canvas clears clip on Windows/D3D. If you are on Windows and seeing things are drawing that should be clipped, it might be related to one of these fixes. He's trying to get the fix into the 2.2 line as well as in 8. I only considered just now that

Re: Change order of components insight FlowPane

2013-07-31 Thread Richard Bair
I think this kind of question would be better handled on the forums. One thing I don't know if you are aware of, is that if you apply a transform to a node in a layout, it doesn't affect where that node is in the layout, so you could use drag and drop where the drag changes the translation of

Re: Build failures

2013-07-31 Thread Richard Bair
Hi Ben, Have you seen https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX? Also there is a blog post on FX + Nashorn http://harmoniccode.blogspot.com/2013/05/taming-nashorn-first-impressions.html. Both are shipped with each weekly promoted build so you can try this out without

Re: Level of detail

2013-07-31 Thread Jim Graham
About the closest thing we have right now is the cacheHints which let you specify that you want to allow the cache to be scaled, but no ability to specify by how much before we re-render. We've felt that mechanism needs to be eventually be evolved to allow more customization, but we haven't

Multiple JFXPanel?

2013-07-31 Thread Pedro Duque Vieira
Hi, I have a doubt. I have a swing app with embed javafx scene. My app has kind of a MDI style interface. Right now only one window has been converted to JavaFX, basically it's a window with a JFXPanel in it. My question is if I want to convert the other windows as well should I also put a

Re: API Change Proposal - Re: MSAA and Scene anti aliasing

2013-07-31 Thread Chien Yang
I agree, however I would prefer a single class over subclasses if possible. I have added Jim's proposal to the JIRA for consideration. https://javafx-jira.kenai.com/browse/RT-31878 Thanks, - Chien On 7/31/2013 3:21 PM, Kevin Rushforth wrote: This seems cleaner in terms of extensibility. I

hg: openjfx/8/controls/rt: 12 new changesets

2013-07-31 Thread hang . vo
Changeset: 02439ac5011b Author:jgiles Date: 2013-07-30 12:32 +1200 URL: http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/02439ac5011b RT-31577: Clearing the selection in TableView doesn't call ChangeListener on SelectionModel selectedItemProperty !

Re: API Change Proposal - Re: MSAA and Scene anti aliasing

2013-07-31 Thread Richard Bair
I'm pretty confident we'll want different sub-types as we go along (CSAA, MSAA, FXAA -- there are a lot of different ways to do full-scene anti-aliasing and I bet that they will have different parameters for controlling their various algorithms), but we can cross that bridge later. Richard On

Re: API Change Proposal - Re: MSAA and Scene anti aliasing

2013-07-31 Thread Richard Bair
Sorry let me be clear. Having a class vs an enum was my preferred approach and I'm glad with Jim's nudge it looks like we'll go there. Having just the few predefined constants as a starting point I think is good, and we can add sub-types and more goodness in the future. Richard On Jul 31,

JavaFX On IOS Using RoboVM And Maven

2013-07-31 Thread Daniel Zwolenski
The RoboVM Maven plugin is now released with JFX support using Danno's backport, which is all in Maven Central. I talk about it in detail here: http://www.zenjava.com/2013/08/01/javafx-on-ios-using-robovm-and-maven/ I'd greatly appreciate people here trying it out and letting me know fairly