Re: jfxrt.jar - is it platform specific?

2013-07-24 Thread Daniel Zwolenski
Ok, thanks. Is it architecture specific, i.e. within a target OS does each platform require it's own jfxrt.jar or do they all share the same? Most specifically, on iOS do the armv7 and i386 architectures use the same JAR and just different lib files or is there a specific jfxrt.jar for each? In g

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

2013-07-24 Thread hang . vo
Changeset: bfafc21f18d2 Author:jgiles Date: 2013-07-25 15:40 +1200 URL: http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/bfafc21f18d2 RT-31509: -fx-indent badly applied in TreeTableView ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeTableCellSkin.java

Re: jfxrt.jar - is it platform specific?

2013-07-24 Thread Kevin Rushforth
Yes, jfxrt.jar is platform-specific. On the desktop there are platform-specific glass and Prism classes (not sure about the WebKit classes). On embedded platforms (Linux-arm, IOS, Android) there are many differences. -- Kevin Daniel Zwolenski wrote: Obviously there are native libs (dlls, et

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

2013-07-24 Thread Kevin Rushforth
+1 on having DISABLED be first. -- Kevin Richard Bair wrote: Just to be picky, I would put DISABLED first in the list. It seems more consistent to have the only OFF mode to be first and then all the rest of the options (which happen to then have ordinals > 0) will be some form of ON mode. R

jfxrt.jar - is it platform specific?

2013-07-24 Thread Daniel Zwolenski
Obviously there are native libs (dlls, etc) that JFX uses that are outside of the jfxrt.jar. But is the actual jfxrt.jar produced by the build generic and able to be used on any platform (so long as the natives are also present) or is it platform specific itself? We are getting close to the ios/b

hg: openjfx/8/controls/rt: RT-30903: DatePicker: one column separator is a bit thicker when setting showWeekNumbers.

2013-07-24 Thread hang . vo
Changeset: d3d8305d165c Author:leifs Date: 2013-07-24 17:23 -0700 URL: http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/d3d8305d165c RT-30903: DatePicker: one column separator is a bit thicker when setting showWeekNumbers. ! modules/controls/src/main/java/com/sun/javafx/scene

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

2013-07-24 Thread hang . vo
Changeset: 2b35d89ffbcf Author:jgiles Date: 2013-07-24 14:04 +1200 URL: http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/2b35d89ffbcf RT-31775: TableRowSkinBase : Make CheckState protected ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableRowSkinBase.java

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

2013-07-24 Thread hang . vo
Changeset: 4e2b23d4b62e Author:rbair Date: 2013-07-24 16:02 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/4e2b23d4b62e RT-31912: Remove unused methods from Graphics and tighten type safety ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGGroup.java ! mod

Question about using javaFX in an external OpenGL context

2013-07-24 Thread Herve Girod
Hello again, This time I have a completely different question. We know that at some point in the future, they will be a way to use JavaFX in an external graphic context. However we would need to do this kind of thing sooner. In fact we will need to render JavaFX context on top of OpenGL terain or

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

2013-07-24 Thread hang . vo
Changeset: 517ebe5062a9 Author:rbair Date: 2013-07-24 15:37 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/517ebe5062a9 RT-31748: Collapse NGNode related classes with only one implementation - modules/graphics/src/main/java/com/sun/javafx/sg/prism/BaseCacheFilter.j

Nodes partial Mouse transparency

2013-07-24 Thread Herve Girod
Hello, We have a Use Case when we want to have one container Node (for example basically a Pane, but it can be others containers) transparent to Mouse events, but not its children. We use it mainly to group children and control their positions, but we want to receive events on the children but not

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

2013-07-24 Thread Chien Yang
Thanks for the help! I was of 2 minds about it; alphabetical or logical. public enum SceneAntiAliasing { DISABLED, // disables anti-aliasing BALANCED, // enables anti-aliasing using optimal system setting available that balances speed and quality FASTEST, // enables anti-aliasing using

Re: very poor performance on iOS :(

2013-07-24 Thread Tobias Bley
Hi Richard and Niklas, here are the results of pulseLogger for a simple click of a ToggleButton in a StackPane: PULSE: 3 [12259ms:306ms] T1 (1 +27ms): CSS Pass T1 (28 +0ms): Layout Pass T1 (28 +0ms): Waiting for previous rendering T1 (29 +0ms): Copy state to render graph T7 (56 +1ms): Dirty Opts

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

2013-07-24 Thread hang . vo
Changeset: 3d5588fa9814 Author:rbair Date: 2013-07-24 14:01 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/3d5588fa9814 RT-31906: Remove unused methods from NGShape ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGShape.java Changeset: 22ce97df3e10 Autho

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

2013-07-24 Thread Richard Bair
Just to be picky, I would put DISABLED first in the list. It seems more consistent to have the only OFF mode to be first and then all the rest of the options (which happen to then have ordinals > 0) will be some form of ON mode. Richard On Jul 24, 2013, at 2:37 PM, Chien Yang wrote: > Thank y

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

2013-07-24 Thread Chien Yang
Thank you for the feedback! We decided to drop DEFAULT in favor of BALANCED. So here is the revised SceneAntiAliasing enum entries: public enum SceneAntiAliasing { BALANCED, // enables anti-aliasing using optimal system setting available that balances speed and quality DISABLED, // dis

hg: openjfx/8/controls/rt: RT-31643: Um-al-qura calendar is not initialized properly when opened for the first time

2013-07-24 Thread hang . vo
Changeset: 6d0b751603ce Author:leifs Date: 2013-07-24 13:56 -0700 URL: http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/6d0b751603ce RT-31643: Um-al-qura calendar is not initialized properly when opened for the first time ! modules/controls/src/main/java/com/sun/javafx/scene/

hg: openjfx/8/graphics/rt: Added HelloWebView to toys

2013-07-24 Thread hang . vo
Changeset: edeb3bc0ecbc Author:rbair Date: 2013-07-24 13:57 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/edeb3bc0ecbc Added HelloWebView to toys ! apps/toys/Hello/src/main/java/hello/HelloRectangle3D.java + apps/toys/Hello/src/main/java/hello/HelloWebView.java

Re: Drag and drop tabs in TabPane

2013-07-24 Thread Tom Schindl
I have on the very top of my contribution list for new features, so i'll take a first look on it in the weeks although i know it is too late for fx8 :-) Tom Von meinem iPhone gesendet Am 24.07.2013 um 22:02 schrieb Jonathan Giles : > At present there are no plans to implement this, but that is

Re: Drag and drop tabs in TabPane

2013-07-24 Thread Jonathan Giles
At present there are no plans to implement this, but that is simply due to the fact that at present our focus is on bug fixing rather than features / tweaks. In other words, if this is a high priority for the community (via votes on the relevant jira issue - which looks like your one at [1]), t

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Jonathan Giles
I've filed https://javafx-jira.kenai.com/browse/RT-31903 Thanks, -- Jonathan On 24/07/2013 11:28 p.m., Anthony Petrov wrote: Hi Jonathan, setResizable(false) only disables the Maximize button (for obvious reasons.) And this should already be implemented. As to the setIconifiable(boolean) fu

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

2013-07-24 Thread Petr Pchelko
> What about on Windows, is there any impact there from this change or is it > truly just for Mac? No. This change affects only Mac. With best regards. Petr. On Jul 24, 2013, at 11:07 PM, Richard Bair wrote: > So this should impact the "jitter" you would see on mac. What about on > Windows,

very poor performance on iOS :(

2013-07-24 Thread Niklas Therning
Please try running with perfLogger and also Instruments. As I've pointed out before RoboVM is in early stages of development. It doesn't do release builds yet. Virtually nothing has been done yet to optimize things for speed. So my guess is that you will find that a lot of time is spent in RoboVM c

Re: Can JavaFX do CAD?

2013-07-24 Thread Richard Bair
That would be terrific. In answer to Fabrizio's question, it depends. What kinds of nodes, and what is their cost to render. It would be interesting to get some bounded sizes. I had gathered some of this information ages ago in an ad-hoc way, it would be good to have some kind of repeatable tes

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

2013-07-24 Thread Richard Bair
So this should impact the "jitter" you would see on mac. What about on Windows, is there any impact there from this change or is it truly just for Mac? Has anybody tried to measure for dropped frames on Windows? Richard On Jul 24, 2013, at 11:31 AM, Petr Pchelko wrote: > Hello, Richard. > >

Re: Embedding Swing/SWT/Native inside JavaFX

2013-07-24 Thread Tom Schindl
You can not embed a heavyweight toolkit (SWT) into a lightweight (JavaFX) one as far as i know. I've investigated doing an SWT port which uses JavaFX under the covers but without major funding this won't be proceeded (at least) by us. Tom Von meinem iPhone gesendet Am 24.07.2013 um 20:36 schr

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

2013-07-24 Thread hang . vo
Changeset: 051ec7d12a9f Author:Felipe Heidrich Date: 2013-07-24 11:04 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/051ec7d12a9f RT-31458: Font fallback returned by DirectWrite might not be available to JFX ! modules/graphics/src/main/java/com/sun/javafx/font/Pri

Embedding Swing/SWT/Native inside JavaFX

2013-07-24 Thread Reto Urfer
Hi In FX8 a SwingNode is avalable to integrate old legacy Swing code into a new JavaFX based application. We currently have an Eclipse 3 RCP application with some embedded Swing parts. For the Migration to the Eclipse 4 platform it could be interresting to use FX instead of SWT because we h

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

2013-07-24 Thread Petr Pchelko
Hello, Richard. These changes fix the problem with dropping frames on Mac because of locking between the render thread and UI thread. I have made some measurements with Controls benchmark and GUIMark2. The numbers without braces is the FPS rendered by Prism and the braced numbers represent how

Re: Can JavaFX do CAD?

2013-07-24 Thread Scott Palmer
Because my document is zoomable, I used the same approach SVG->FXML to represent some icons that are used on items throughout the document. This works but I have always felt that it is too heavy for my use-case. Specially since I have the same icon appearing in multiple places, which means I need

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

2013-07-24 Thread hang . vo
Changeset: f2481964fc5a Author:lisa.se...@oracle.com Date: 2013-07-24 13:35 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/f2481964fc5a Fix for rt-31220 - Virtual keyboard popup flickers when a textField gets input. ! modules/graphics/src/main/native-glass/lens/wm/

Re: Lambda Expressions Backported to Java 7, 6 and 5

2013-07-24 Thread Danno Ferrin
It relies off of Java 8 bytecode, so there are still issues relating to APIs in the backport that may trump this approach. I don't know much about the lambda internals, but unless the backport can be compile with a Java 7 boot classpath and outputting Java 8 bytecode retrolambda won't be much of

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

2013-07-24 Thread Richard Bair
The name of the issue is pretty ho-hum, but actually this was a huge amount of work to get finished. Petr, Artem, or Steve, can you give us a run-down of the performance impact of this change on Mac? Thanks Richard On Jul 24, 2013, at 12:32 AM, hang...@oracle.com wrote: > Changeset: dd30604ab7

Re: WebView capabilities review

2013-07-24 Thread Artem Ananiev
On 7/24/2013 2:55 AM, Felix Bembrick wrote: Windows 7 64-bit here. On this platform, JavaFX web component is compiled without JIT support for JavaScript: https://javafx-jira.kenai.com/browse/RT-24998 It explains why it is slow, but it doesn't explain rendering artifacts. Thanks, Artem

Re: Can JavaFX do CAD?

2013-07-24 Thread Fabrizio Giudici
On Wed, 24 Jul 2013 17:06:57 +0200, Richard Bair wrote: The scene graph will not support millions of nodes, How many nodes are supported? I'm helping with the prototyping of a software that should render 2D SVG. In the past the need was for relatively complex documents, converted from 2

Re: Can JavaFX do CAD?

2013-07-24 Thread Richard Bair
The scene graph will not support millions of nodes, so I agree that just representing every CAD drawn shape as a node is not going to work. Of the options presently available, you might find Canvas does what you want and allows you to use substantially the same architecture as you have now (bas

Re: very poor performance on iOS :(

2013-07-24 Thread Richard Bair
Unfortunately, I'm one of those stuck waiting for the apple developer portal to come back online in order to renew my apple developer subscription, so I can't actually try this out myself. Have you tried running with the perfLogger (I included instructions and how to understand the output in an

Fwd: Lambda Expressions Backported to Java 7, 6 and 5

2013-07-24 Thread Richard Bair
Interesting. If we end up using more Lambda's in FX, there might still be an easy way to maintain the back port to 7. Richard Begin forwarded message: > From: Esko Luontola > Subject: Lambda Expressions Backported to Java 7, 6 and 5 > Date: July 24, 2013 1:40:33 AM PDT > To: lambda-...@openjdk

Mixing 2D and 3D

2013-07-24 Thread August Lammersdorf, InteractiveMesh
Hi Richard, thanks a lot for your detailed reply and the insights into your intentions and ideas. The mailing list members will appreciate being preferentially informed. "I think we already do multiple active cameras?" More precisely: simultaneous viewing from different points of view into

Re: Can JavaFX do CAD?

2013-07-24 Thread Scott Palmer
You mention zoom level and bezier curves... I found JavaFX Path drawing combined with zooming and a ScrollPane was pathologically slow (approximately 100 times slower than normal). I filed an issue with a test case: RT-25166 I managed to speed it up a bit by avoiding the use of one of the Group

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

2013-07-24 Thread hang . vo
Changeset: eb0a6b4fece3 Author:Daniel Blaukopf Date: 2013-07-24 17:31 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/eb0a6b4fece3 RT-31830 GTK port of Glass not built for embedded Linux targets ! buildSrc/armv6hf.gradle ! buildSrc/armv6sf.gradle ! buildSrc/x86egl.

very poor performance on iOS :(

2013-07-24 Thread Tobias Bley
Hi, i would like to start a discussion about the performance of JavaFX8 on iOS (via RoboVM). If you make a little app with just one toggle button and run it on iPhone4 (not simulator), the JavaFX rendering is very slow. So the button press is painted with a really noticeable delay. I don’t unde

Re: Can JavaFX do CAD?

2013-07-24 Thread Chris Gay
Hi Daniel, I totally agree with your wishes, and even wonder if it is feasible in JavaFX. With my Swing App, although I support mouse-over sensitivity on things like JButtons, I do not support it on graphical objects, simply because the effort would kill the system, given millions of objects. O

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Fabrizio Giudici
On Wed, 24 Jul 2013 12:52:27 +0200, Anthony Petrov wrote: Otherwise, it's up to the user to maximize/unmaximize the dialog, or only resize it whenever and however it is needed/convenient at the moment. As I said, to me UI design is also constraining the user in the set of meaningful ac

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

2013-07-24 Thread hang . vo
Changeset: 5eab61f82635 Author:Martin Sladecek Date: 2013-07-24 13:30 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/5eab61f82635 Forgot to trigger pulse on requestLayout after RT-31644. ! modules/graphics/src/main/java/javafx/scene/Parent.java ! modules/graphics/

Drag and drop tabs in TabPane

2013-07-24 Thread Peter Penzov
Hi, I would like to ask you for which JavaFX version do you plan to implement draggable tabs into TabPane? It will be very useful for users to change the order of the tabs using mouse drag and drop. Best wishes, Peter

Re: Can JavaFX do CAD?

2013-07-24 Thread Chris Gay
Hi Hervé, Many thanks for your advice. Can I ask, did you manage to achieve "Rubber-banding" type XOR Mode Graphics as a way to indicate feedback to mouse movement, or was it not relevant to your app? Does JavaFX have a different philosophy? Kind regards, Chris On 24 Jul 2013, at 12:07, Hervé

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Anthony Petrov
Hi Jonathan, setResizable(false) only disables the Maximize button (for obvious reasons.) And this should already be implemented. As to the setIconifiable(boolean) functionality, I agree it would be fine to have it. Please file a JIRA issue and we'll implement it. To address Tom's suggestio

Re: Can JavaFX do CAD?

2013-07-24 Thread Hervé Girod
We switched a vector editor which used swing to JavaFX (using a standard called ARINC 661), and we have no problems of performance in the Editor even for thousands of nodes. But I agree that you should not use the obvious Swing-converted way to do the same thing in JavaFX. Hervé Sent from my i

hg: openjfx/8/graphics/rt: SW pipeline: using new subPixel text API (RT-31289)

2013-07-24 Thread hang . vo
Changeset: 7e07bb2d6202 Author:Martin Soch Date: 2013-07-24 12:46 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/7e07bb2d6202 SW pipeline: using new subPixel text API (RT-31289) ! modules/graphics/src/main/java/com/sun/pisces/PiscesRenderer.java ! modules/graphics

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Anthony Petrov
On 07/24/13 12:29, Fabrizio Giudici wrote: On Wed, 24 Jul 2013 09:59:07 +0200, Artem Ananiev wrote: On 7/24/2013 12:45 AM, Fabrizio Giudici wrote: On Tue, 23 Jul 2013 22:34:48 +0200, Anthony Petrov wrote: I don't agree. IMO, it's annoying when I'm able to resize a window freely but unable t

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Anthony Petrov
On 07/24/13 11:54, Artem Ananiev wrote: Unminimizable windows are annoying. If we disable that, we'll likely get some weirdness, e.g. Win+M or Win+D on Windows will leave the window on the desktop, which is not what users expect. Minimizing a modal dialog does not achieve much because the ownin

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Tom Schindl
I called it TrimButton because this is the term used in SWT - maybe StageButton is the better word. StageButton should be an enum. enum StageButton { MIN, MAX, CLOSE } Tom On 24.07.13 12:29, Werner Lehmann wrote: > I'd like this the most, assuming that a "trim button" is the same as a >

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Werner Lehmann
I'd like this the most, assuming that a "trim button" is the same as a button on the window decoration (not familiar with the term trim button). Other than that, I'd also like the ability to minimize a modal dialog if that actually minimizes the main window... It is not common on Windows but ma

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Fabrizio Giudici
On Wed, 24 Jul 2013 09:59:07 +0200, Artem Ananiev wrote: On 7/24/2013 12:45 AM, Fabrizio Giudici wrote: On Tue, 23 Jul 2013 22:34:48 +0200, Anthony Petrov wrote: I don't agree. IMO, it's annoying when I'm able to resize a window freely but unable to maximize it. This just doesn't look lo

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Artem Ananiev
On 7/24/2013 12:45 AM, Fabrizio Giudici wrote: On Tue, 23 Jul 2013 22:34:48 +0200, Anthony Petrov wrote: I don't agree. IMO, it's annoying when I'm able to resize a window freely but unable to maximize it. This just doesn't look logical or convenient. I'm with Werner here. Maximixing a dial

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Artem Ananiev
On 7/24/2013 12:34 AM, Anthony Petrov wrote: Hi Werner, On 07/23/2013 03:19 PM, Werner Lehmann wrote: On 23.07.2013 12:39, Artem Ananiev wrote: To me, making a window non-resizable is a good way to make the window unmaximizable. Do you see any cases, when a window should be resizable, but not

hg: openjfx/8/graphics/rt: Merged AnimationPathHelper and Position2D into PathTransition

2013-07-24 Thread hang . vo
Changeset: a22a79de9b10 Author:Martin Sladecek Date: 2013-07-24 09:35 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/a22a79de9b10 Merged AnimationPathHelper and Position2D into PathTransition ! modules/graphics/src/main/java/com/sun/javafx/TempState.java - module

FBX Importer for OpenJFX

2013-07-24 Thread Robert Fisher
Hi all, We would like to be able to load FBX files into the 3DViewer app. Are there any plans to develop an FBX importer, or is this something we should implement ourselves? Thanks in advance. Rob

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

2013-07-24 Thread hang . vo
Changeset: dd30604ab7d0 Author:Petr Pchelko Date: 2013-07-24 11:24 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/dd30604ab7d0 RT-26702 Poor DisplacementMap effect performance on Mac Reviewed-by: anthony, art, snorthov ! modules/graphics/src/main/native-glass/mac/

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread steve . x . northover
Tom is correct. They can be set individually and a best effort is made to honor them. If you create an SWT stage whose parent is another SWT stage without specifying the trim buttons, the default for the operating system is chosen. Steve On 23/07/2013 5:18 PM, Tom Schindl wrote: Hi, The q

Re: Can JavaFX do CAD?

2013-07-24 Thread Daniel Zwolenski
I think the below comment makes it sound more straight forward than it is. In building a diagramming tool there is much more to it than just the rendering frame rate. This topic about CAD-like apps and 'performant' highly visual jfx apps in general has been raised here and in the forums before