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 quick

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, 2013

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

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 ! modules/controls/src/main/ja

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 th

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 JFXPane

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

2013-07-31 Thread Kevin Rushforth
This seems cleaner in terms of extensibility. I think we can wait on adding anything other than the public static finals for this release, but plan to extend it using something like what Jim suggests. -- Kevin Richard Bair wrote: Personally I liked this approach. It was like an enum in ease

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

2013-07-31 Thread Jim Graham
Also, the MSAA subclass might have: public SampleMethod getSampleMethod(); // point, area, ?centroid? public SamplePattern getSamplePattern(); // regular, sparse, stochastic Also, static MsaaAA.get(params) returns the indicated object if there is an implementation that supports those parameter

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

2013-07-31 Thread Richard Bair
Personally I liked this approach. It was like an enum in ease of use but much more extensible in the future when we add more anti-aliasing types and twiddles. Richard On Jul 31, 2013, at 1:36 PM, Jim Graham wrote: > D'oh! I knew I should have been checking this list a bit. I hope this isn't

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

2013-07-31 Thread Jim Graham
D'oh! I knew I should have been checking this list a bit. I hope this isn't too late to have any impact... As an intermediate solution this is fine, but when we want to get into providing settings for MSAA and FSAA and other algorithms I think classes are more flexible than enums. How about

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'

RE: Mixing 2D and 3D

2013-07-31 Thread John C. Turnbull
Jim, I intend to agree with you that Node may be "too big" to use as the basis for a 3D model's triangles and quads given that there can easily be millions of them and that manipulating or interacting with them on an individual basis is mostly unlikely. As you say, storing those models outside th

Re: Mixing 2D and 3D

2013-07-31 Thread Jim Graham
I'm a little behind on getting into this discussion. I don't have a lot of background in 3D application design, but I do have some low-level rendering algorithm familiarity, and Richard's summary is an excellent outline of the issues I was having with rampant mixing of 2D and 3D. I see them as

Re: Missed "pulse"?

2013-07-31 Thread Rick Walker
Scott - I ran into the same problem in my app, wishing I could force a pulse to get things properly clipped and lined up. I too wrote my own scroll pane with clipping and transforms. The scroll pane has a single child Group which in turn has my content as children. My workaround involves adding Ch

hg: openjfx/8/graphics/rt: RT-32017: Gradle: closed build should fail if jfxrt.jar is present in the JDK

2013-07-31 Thread hang . vo
Changeset: f7baf984824c Author:kcr Date: 2013-07-31 11:43 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/f7baf984824c RT-32017: Gradle: closed build should fail if jfxrt.jar is present in the JDK ! build.gradle

hg: openjfx/8/graphics/rt: ECLIPSE ONLY: work around strange crash in webnode (html editor) that occurs when deploy.jar is before web on the class path. This began happening when I upgraded to b100. D

2013-07-31 Thread hang . vo
Changeset: 0bd782657481 Author:snorthov Date: 2013-07-31 13:39 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/0bd782657481 ECLIPSE ONLY: work around strange crash in webnode (html editor) that occurs when deploy.jar is before web on the class path. This began happ

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 havin

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 th

Build failures

2013-07-31 Thread Ben Evans
Hi, I'm attempting to get OpenJFX built & running against the tip of Nashorn. It's not immediately clear to me that I'm doing the right thing with my build. What I'm trying is: 1) Build the OpenJFX runtime. 2) Install a latest Nashorn binary. 3) Add jfxrt.jar to $JAVA_HOME/jre/lib/ in the Nas

Change order of components insight FlowPane

2013-07-31 Thread Peter Penzov
I have a FlowPane with many small panels which are BorderPanes. I want to change the order of the BorderPanes with mouse drag and drop. But I'm sure that this functionality for now is not possible. So I think that I can solve this issue in other way. I can insert additional component which will be

Re: Missed "pulse"?

2013-07-31 Thread Scott Palmer
I did notice that commit. Does that require the use of Canvas? We aren't using that, at least not directly. It didn't sound like the same thing.. this one is really strange as *some* nodes are clipped and others aren't. You can download a short video of what I'm experiencing in my app from here

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: 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 the

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 : > Hi Tobi, > it works on linux only right now. > Set properties for cross build and android sdk/ndk. > -PCOMPILE_TARGETS=android -PANDROID_SDK

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: 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 des

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
Thanks for the hint, but in this case (my custom scroll pane) I have no invalidation listeners. I do have some observable properties but they are only used with ChangeListeners or as arguments to some of the static Bindings.* methods. In the other cases I am just using the standard controls and l

hg: openjfx/8/graphics/rt: Fix RT-30223, RT-30826, RT-31044 - Canvas clears clip on Windows/D3D

2013-07-31 Thread hang . vo
Changeset: dd02ad45b83c Author:flar Date: 2013-07-31 06:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/dd02ad45b83c Fix RT-30223, RT-30826, RT-31044 - Canvas clears clip on Windows/D3D ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DContext.java ! modules

hg: openjfx/8/graphics/rt: 2 new changesets

2013-07-31 Thread hang . vo
Changeset: 61bcda9f2a59 Author:tb115823 Date: 2013-07-31 13:06 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/61bcda9f2a59 Android: Fix hyphens in native libraries names. Remove absolete NativeActivity class. ! buildSrc/android.gradle - modules/graphics/src/andro

hg: openjfx/8/graphics/rt: iOS build: introduced a new property for closed build

2013-07-31 Thread hang . vo
Changeset: 4d6d71a5fdb5 Author:David Pulkrabek Date: 2013-07-31 13:28 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/4d6d71a5fdb5 iOS build: introduced a new property for closed build ! buildSrc/ios.gradle

hg: openjfx/8/graphics/rt: RT-31964: Quantum cleanup: don't force headless AWT on Mac

2013-07-31 Thread hang . vo
Changeset: 74cc6f8d1fc9 Author:Artem Ananiev Date: 2013-07-31 14:03 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/74cc6f8d1fc9 RT-31964: Quantum cleanup: don't force headless AWT on Mac Reviewed-by: Kevin Rushforth ! modules/graphics/src/main/java/com/sun/javafx/

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 theoret

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 by

Re: Missed "pulse"?

2013-07-31 Thread Diego Cirujano-Cuesta
Hi Scott, I have a component quite similar to the one you described and I also had problems like the ones that you mentioned with the same workarounds. BUT I found out that the problem was of my understanding. One of the problems was, I was using invalidation listeners and I wasn't getting alwa

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 ver

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 thi

hg: openjfx/8/graphics/rt: Android: Add netbeans project native-prism-es2.

2013-07-31 Thread hang . vo
Changeset: fbd46f5535b5 Author:tb115823 Date: 2013-07-31 09:59 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/fbd46f5535b5 Android: Add netbeans project native-prism-es2. + netbeans/android/native-prism-es2/Android.mk + netbeans/android/native-prism-es2/nbproject/

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 wrote: > I don't think it is a go

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

2013-07-31 Thread hang . vo
Changeset: 4f9d8e9fb4aa Author:tb115823 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 - netbeans/android/glass-lib-lens/nbproject/configurations.xm

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: Add vmlauncher netbeans project.

2013-07-31 Thread hang . vo
Changeset: a9eb573ffc6e Author:tb115823 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 + netbeans/android/vmlauncher/nbproject/configurations.xml

RE: JavaFX and iOS - it will remain a dream

2013-07-31 Thread John C. Turnbull
Tom, why do you think FXML on mobiles is a bad idea? Performance? -Original Message- From: openjfx-dev-boun...@openjdk.java.net [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Tom Schindl Sent: Wednesday, 31 July 2013 16:29 To: Niklas Therning Cc: openjfx-dev@openjdk.java.net