Re: Can JavaFX do CAD?

2013-07-26 Thread Fabrizio Giudici
On Sat, 27 Jul 2013 01:12:26 +0200, Daniel Zwolenski wrote: b) lack of any big or notable players out there actually using it, or at least publicly saying they are using it My only - so far - customer currently using JavaFX has a strong experience with Swing and recently also the NetBeans

Re: Detecting when a TreeItem is no more used

2013-07-26 Thread Fabrizio Giudici
On Sat, 27 Jul 2013 05:35:37 +0200, Tom Schindl wrote: Correct, but then i1 is not referenced anymore and so GC should free it, not? As I said in my previous email, my TreeItem is bound to resources other than memory and this kind resources must be released synchronously - the GC would

Re: Can JavaFX do CAD?

2013-07-26 Thread Scott Palmer
On 2013-07-26, at 7:12 PM, Daniel Zwolenski wrote: > > It's not that we think the JFX team aren't slogging their guts out, clearly > you are. It's just that in some key areas, there are small-ish blocks that > stop the whole rocket from launching. To then see a whole lot of effort be > poured in

Re: Detecting when a TreeItem is no more used

2013-07-26 Thread Tom Schindl
Correct, but then i1 is not referenced anymore and so GC should free it, not? Tom On 26.07.13 21:45, Fabrizio Giudici wrote: > On Fri, 26 Jul 2013 13:47:50 +0200, Tom Schindl > wrote: > >> Not sure but what is reused is the TreeCell, the TreeItem is not freed >> and has to exists as long as you

hg: openjfx/8/graphics/rt: 3DViewer: Added task to install 3DViewer into local maven repository.

2013-07-26 Thread hang . vo
Changeset: 074b23ebf5f1 Author:Alexander Kouznetsov Date: 2013-07-26 17:50 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/074b23ebf5f1 3DViewer: Added task to install 3DViewer into local maven repository. ! apps/experiments/3DViewer/build.xml

Re: Mixing 2D and 3D

2013-07-26 Thread Chien Yang
Hi August, John Yoon, Richard and I have a private discussion on the possibility of avoiding "cloning" for your use case. We wonder do you ever need to interact with the 3D scene via the various sub views? Or these sub views are purely for viewing the 3d scene with different cameras? If t

Re: WebView capabilities review

2013-07-26 Thread Felix Bembrick
Hi Richard, The impact.js sample is here: http://bartaz.github.io/impress.js When I run your HelloAnimatedRectangle as is it looks pretty smooth but when I reduced the durations of the transitions so that everything moves quicker it does have obvious jitter. I have attached the pulse logger outp

RE: Can JavaFX do CAD?

2013-07-26 Thread John C. Turnbull
Like Daniel said, none of what we say is in any way a criticism of the JavaFX development team who, in my view and that of the entire community, are doing an awesome job. For mine, all the shortcomings of JavaFX (perceived or actual) can be blown away if I could just demonstrate what JavaFX is

Re: Can JavaFX do CAD?

2013-07-26 Thread Daniel Zwolenski
+1 I've failed to convince multiple clients that they should use JFX because of a) lack of examples of what it can really do, and how to make it do that (e.g. in enterprise space we have http://static.springsource.org/docs/petclinic.html) b) lack of any big or notable players out there actually us

RE: Can JavaFX do CAD?

2013-07-26 Thread John C. Turnbull
Hi Richard, I have to stop posting late at night, that one came across as really ANGRY! It's not anger, it's passion... and frustration. I am frustrated because I spend much of my day trying to convince my employer that we should be using JavaFX. They ask me questions like: "What happens if Or

Re: Building JavaDoc and Sources JARs

2013-07-26 Thread Daniel Zwolenski
Thanks guys - the source target worked like a charm so that's that bit sorted. I don't need platform specific separations of source or javadoc just the simple stuff - although technically I should put the source for the native libs alongside the native files when I deploy them too. I don't suppose

Re: TableView column resize problem

2013-07-26 Thread Jonathan Giles
Please file a bug - this is not currently known. This is likely related to all the scenegraph performance work that has been done recently. -- Jonathan On 27/07/2013 6:16 a.m., Sven Ehrke wrote: Hi, since b99 resizing of columns using the mouse on the column separators of the table header do

Re: Detecting when a TreeItem is no more used

2013-07-26 Thread Fabrizio Giudici
On Fri, 26 Jul 2013 13:47:50 +0200, Tom Schindl wrote: Not sure but what is reused is the TreeCell, the TreeItem is not freed and has to exists as long as you show the tree! TreeItem<...> i1 = new TreeItem<...>(); treeView.setRoot(i1); TreeItem<...> i2 = new TreeIte

hg: openjfx/2u/dev/rt: RT-31877 : Performance regression in CSS since 7u40 b32 - remove previous RT-29975 pushes

2013-07-26 Thread hang . vo
Changeset: 0e6929a9a63d Author:mickf Date: 2013-07-26 18:17 +0100 URL: http://hg.openjdk.java.net/openjfx/2u/dev/rt/rev/0e6929a9a63d RT-31877 : Performance regression in CSS since 7u40 b32 - remove previous RT-29975 pushes ! javafx-ui-common/src/com/sun/javafx/css/StyleManager.jav

hg: openjfx/8/graphics/rt: Fix to RT-31949: Incorrect Javadoc for property cullFace of Shape3D class for JavaFX 8

2013-07-26 Thread hang . vo
Changeset: 21668dae41d7 Author:Chien Yang Date: 2013-07-26 12:01 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/21668dae41d7 Fix to RT-31949: Incorrect Javadoc for property cullFace of Shape3D class for JavaFX 8 ! modules/graphics/src/main/java/javafx/scene/shape

Re: very poor performance on iOS :(

2013-07-26 Thread Richard Bair
Sadly, not much. There is a reasonable chance that the VM is playing a large role here, as 27ms for CSS for a single button is pretty bad, but unfortunately there isn't enough information in the logger to nail down exactly what is the issue. If you have a build environment setup, you can try to

Re: very poor performance on iOS :(

2013-07-26 Thread Richard Bair
Also, Tobi, do you have the example code you are actually executing? Are you tapping it manually, or do you have a timer that is pressing the button? Richard On Jul 24, 2013, at 3:03 PM, Tobias Bley wrote: > Hi Richard and Niklas, > > here are the results of pulseLogger for a simple click of

TableView column resize problem

2013-07-26 Thread Sven Ehrke
Hi, since b99 resizing of columns using the mouse on the column separators of the table header does not work smoothly anymore. The mouse even looses hold of the resize handle. With b97 this worked fine. This can be reproduced even without any items in the table:

Re: Mixing 2D and 3D

2013-07-26 Thread Chien Yang
Yes, that is still the approach. The challenge isn't just strictly on rendering. Let's take picking a "shared" node as an example. Imagine this node is in a scenegraph viewed by more than 1 camera. The question is where do we hang the set picked information. There is some level of "cloning" nee

Re: Antialiasing in 3D

2013-07-26 Thread Chien Yang
Hi John, My apology, I must have grouped this thread with the long "MSAA" thread in my earlier reply. For JavaFX 8 we have no plan to read in control setting from the user via Control Panel or some sort. I'm not sure how feasible it is to access this information from different GPU vend

hg: openjfx/8/graphics/rt: Minor typo fixes

2013-07-26 Thread hang . vo
Changeset: 58503961f1cb Author:rbair Date: 2013-07-26 10:27 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/58503961f1cb Minor typo fixes ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGGroup.java ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/N

Re: resize issue

2013-07-26 Thread Artem Ananiev
On 7/26/2013 7:35 PM, Peter Penzov wrote: I tested to resize component using mouse drag in JVM 8 b94. It's working very smooth and easy when I move the mouse and hold the border of the component. I also tested the same code in JVM 8 b99. It's not very easy to resize the component. I cannot hold

Re: hg: openjfx/8/graphics/rt: RT-26702 Poor DisplacementMap effect performance on Mac

2013-07-26 Thread Artem Ananiev
On 7/25/2013 9:24 PM, Richard Bair wrote: Hi Petr, We are in a separate thread discussing "jitter" where being able to measure dropped frames is crucial. We have the PulseLogger class which keeps track of this kind of information (at least, it measures the amount of time spent in a particular p

Re: A different way to handle pulse timing

2013-07-26 Thread David Hill
On 7/26/13 Jul 26, 1:22 AM, Richard Bair wrote: As for multiple scenes, I'm actually curious how this happens today. If I have 2 scenes, and we have just a single render thread servicing both, then when I go to present, it blocks? Or is there a non-blocking present method that we use instead?

hg: openjfx/8/graphics/rt: Added StretchyGrid toy (from days of yore!)

2013-07-26 Thread hang . vo
Changeset: 74153cae7697 Author:rbair Date: 2013-07-26 08:22 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/74153cae7697 Added StretchyGrid toy (from days of yore!) + .idea/StretchyGrid.iml ! .idea/modules.xml + apps/toys/StretchyGrid/src/main/java/stretchygrid/Stre

hg: openjfx/8/graphics/rt: RT-31713: MouseExited delivered to a node before it is removed from scene.

2013-07-26 Thread hang . vo
Changeset: 3f5c247aa268 Author:Pavel Safrata Date: 2013-07-26 16:38 +0100 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/3f5c247aa268 RT-31713: MouseExited delivered to a node before it is removed from scene. ! modules/graphics/src/main/java/javafx/scene/Parent.java ! m

Re: Can JavaFX do CAD?

2013-07-26 Thread Richard Bair
> For Flash, there are literally millions of examples of > fancy/complex/impressive graphics and animations out there that can be > really impressive at times. I have not seen ONE such example in JavaFX! Point to one? Have you seen any of the JavaOne examples? The movie wall or movies on a stack

resize issue

2013-07-26 Thread Peter Penzov
I tested to resize component using mouse drag in JVM 8 b94. It's working very smooth and easy when I move the mouse and hold the border of the component. I also tested the same code in JVM 8 b99. It's not very easy to resize the component. I cannot hold the border of the component for long time. I

hg: openjfx/8/graphics/rt: RT-31824: fast/js/large-expressions.html is crashing again

2013-07-26 Thread hang . vo
Changeset: 29893e4b9ceb Author:Vasiliy Baranov Date: 2013-07-26 17:33 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/29893e4b9ceb RT-31824: fast/js/large-expressions.html is crashing again ! modules/web/src/main/native/Source/WTF/wtf/StackBounds.cpp

RE: Can JavaFX do CAD?

2013-07-26 Thread John C. Turnbull
Back on topic, I think the original question posed in this thread really needs an answer. I have previously asked about the capabilities of JavaFX for non-trivial uses and don't believe that this issue is at all resolved. For a toolkit which was first released 6 years ago, there is a remarkable l

Re: Detecting when a TreeItem is no more used

2013-07-26 Thread Tom Schindl
Not sure but what is reused is the TreeCell, the TreeItem is not freed and has to exists as long as you show the tree! Tom On 26.07.13 13:37, Fabrizio Giudici wrote: > Hello. > > I have a library which creates a hierarchy of TreeItems out of a data > model, and of course the root TreeItem is lat

Detecting when a TreeItem is no more used

2013-07-26 Thread Fabrizio Giudici
Hello. I have a library which creates a hierarchy of TreeItems out of a data model, and of course the root TreeItem is later attached to a TreeView. I need to know when those TreeItems are no more used, so I can free some resources in the data model. I supposed that TreeItem had a life-cycl

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

2013-07-26 Thread hang . vo
Changeset: 15a2bcadb625 Author:Alexander Zvegintsev Date: 2013-07-26 14:21 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/15a2bcadb625 RT-28289 Unable to determine the selected ExtensionFilter when a FileChooser closes ! modules/graphics/src/main/java/com/sun/java

RE: Antialiasing in 3D

2013-07-26 Thread John C. Turnbull
Hi Richard, I haven't seen any comments by Chien on this thread so I must have missed them. I am still not sure: 1. If the driver's Control Panel can be used to override the AA settings specified by the developer in a JavaFX application. 2. How iPhone and WebGL games get such awesome quality gra

hg: openjfx/8/graphics/rt: RT-31883: EffectUtils should be merged into Effect as package private API

2013-07-26 Thread hang . vo
Changeset: 70604761e83f Author:Eva Krejcirova Date: 2013-07-26 09:08 +0100 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/70604761e83f RT-31883: EffectUtils should be merged into Effect as package private API - modules/graphics/src/main/java/com/sun/javafx/effect/Effect

AW: Building JavaDoc and Sources JARs

2013-07-26 Thread Robert Fisher
For a source jar/zip I added the following top-level task to my build.gradle file: task jfxrtSources(type: Zip) { group = "Basic"; description = "Packs all sources for jfxrt.jar into a zip file"; archiveName = "build/javafx-src.zip"; includeEmptyDirs = false;