Re: Anyone using JMX with JavaFX?

2016-06-14 Thread Robert Krüger
while still preserving >>>>>> the ability for developers to use it. This is >>>>>> only used for tooling, so >>>>>> requiring qualified exports, as is done for >>>>>> Robot and >>>>>> PerformanceTracker, is not a problem. >>>>>> >>>>>> Separately, if we don't remove it for JDK 9, we >>>>>> probably will deprecate >>>>>> it with the intention to remove it in a future >>>>>> release. >>>>>> >>>>>> -- Kevin >>>>>> >>>>>> >>>>>> -- >>>>>> <http://www.oracle.com> Dalibor Topic | Principal >>>>>> Product Manager >>>>>> Phone: +494089091214 >>>>>> > | Mobile: >>>>>> +491737185961 >>>>>> > >>>>>> >>>>>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | >>>>>> 22761 Hamburg >>>>>> >>>>>> ORACLE Deutschland B.V. & Co. KG >>>>>> Hauptverwaltung: Riesstr. 25, D-80992 München >>>>>> Registergericht: Amtsgericht München, HRA 95603 >>>>>> >>>>>> Komplementärin: ORACLE Deutschland Verwaltung B.V. >>>>>> Hertogswetering 163/167, 3543 AS Utrecht, >>>>>> Niederlande >>>>>> Handelsregister der Handelskammer >>>>>> Midden-Niederlande, Nr. 30143697 >>>>>> Geschäftsführer: Alexander van der Ven, Jan >>>>>> Schultheiss, Val Maher >>>>>> >>>>>> <http://www.oracle.com/commitment> Oracle is >>>>>> committed to developing >>>>>> practices and products that help protect the >>>>>> environment >>>>>> >>>>>> >>>>>> -- >>>>>> <http://www.oracle.com> Dalibor Topic | Principal Product Manager >>>>>> Phone: +494089091214 >>>>> > | Mobile: +491737185961 >>>>>> >>>>>> > >>>>>> >>>>>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg >>>>>> >>>>>> ORACLE Deutschland B.V. & Co. KG >>>>>> Hauptverwaltung: Riesstr. 25, D-80992 München >>>>>> Registergericht: Amtsgericht München, HRA 95603 >>>>>> >>>>>> Komplementärin: ORACLE Deutschland Verwaltung B.V. >>>>>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande >>>>>> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 >>>>>> Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher >>>>>> >>>>>> <http://www.oracle.com/commitment> Oracle is committed to >>>>>> developing >>>>>> practices and products that help protect the environment >>>>>> >>>>> >>>>> -- >>>>> <http://www.oracle.com> Dalibor Topic | Principal Product Manager >>>>> Phone: +494089091214 | Mobile: +491737185961 >>>>> >>>>> >>>>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg >>>>> >>>>> ORACLE Deutschland B.V. & Co. KG >>>>> Hauptverwaltung: Riesstr. 25, D-80992 München >>>>> Registergericht: Amtsgericht München, HRA 95603 >>>>> >>>>> Komplementärin: ORACLE Deutschland Verwaltung B.V. >>>>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande >>>>> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 >>>>> Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher >>>>> >>>>> <http://www.oracle.com/commitment> Oracle is committed to developing >>>>> practices and products that help protect the environment >>>>> >>>> >>> -- >>> <http://www.oracle.com> Dalibor Topic | Principal Product Manager >>> Phone: +494089091214 | Mobile: +491737185961 >>> >>> >>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg >>> >>> ORACLE Deutschland B.V. & Co. KG >>> Hauptverwaltung: Riesstr. 25, D-80992 München >>> Registergericht: Amtsgericht München, HRA 95603 >>> >>> Komplementärin: ORACLE Deutschland Verwaltung B.V. >>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande >>> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 >>> Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher >>> >>> <http://www.oracle.com/commitment> Oracle is committed to developing >>> practices and products that help protect the environment >>> >> > -- > <http://www.oracle.com> Dalibor Topic | Principal Product Manager > Phone: +494089091214 | Mobile: +491737185961 > > > ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg > > ORACLE Deutschland B.V. & Co. KG > Hauptverwaltung: Riesstr. 25, D-80992 München > Registergericht: Amtsgericht München, HRA 95603 > > Komplementärin: ORACLE Deutschland Verwaltung B.V. > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher > > <http://www.oracle.com/commitment> Oracle is committed to developing > practices and products that help protect the environment > -- Robert Krüger Managing Partner Lesspain GmbH & Co. KG http://lesspain.software http://kyno.software

Re: Feature matrix

2016-01-18 Thread Robert Krüger
e addition to the Gluon website. > > Does anyone else think they would find this useful? Could someone from > Oracle and Gluon please respond? > > Felix -- Robert Krüger Managing Partner Lesspain GmbH & Co. KG www.lesspain-software.com

Re: Future of JavaFX

2015-12-03 Thread Robert Krüger
Thanks Chien and Kevin. I will recheck my issues with JDK 9 early access and report back, probably here because I cannot comment in JBS. On Wed, Dec 2, 2015 at 8:44 PM, Chien Yang wrote: > On 12/2/15, 4:46 AM, Robert Krüger wrote: > >> How much of a priority are quality issues, >

Re: Future of JavaFX

2015-12-02 Thread Robert Krüger
c > > - UI Control Actions API > > - Public Focus Traversal API > > - JavaFX support for multi-resolution images > > - Draggable tabs > > - Image IO > > > -- Kevin > > [1] > http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-December/003149.html > > -- Robert Krüger Managing Partner Lesspain GmbH & Co. KG www.lesspain-software.com

Re: Future of JavaFX

2015-12-02 Thread Robert Krüger
n, HRA 95603 > > Komplementärin: ORACLE Deutschland Verwaltung B.V. > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher > > <http://www.oracle.com/commitment> Oracle is committed to developing > practices and products that help protect the environment > -- Robert Krüger Managing Partner Lesspain GmbH & Co. KG www.lesspain-software.com

Re: OpenGLNode or NativeSurfaceNode

2015-09-08 Thread Robert Krüger
On Tue, Sep 8, 2015 at 1:30 PM, Edu García wrote: > I've seen that, but if I understood that correctly, I need to ship a > modified version of JavaFX in order for it to work properly on Windows, and > it continues to be a hack that might or might not work... That is far from > ideal :) > > it is

Re: OpenGLNode or NativeSurfaceNode

2015-09-08 Thread Robert Krüger
On Tue, Sep 8, 2015 at 7:45 AM, Edu García wrote: > So, years ago somebody asked on this list if it was possible to have some > sort of OpenGL or NativeSurface node, to be able to integrate OpenGL or > DirectX rendering on top of JavaFX (in my case, to embed something like > LibGDX). > > Has any

Re: JavaFX graphic performance slow on Mac? Clock app

2015-07-07 Thread Robert Krüger
On Tue, Jul 7, 2015 at 1:32 PM, Tobias Bley wrote: > > > Hi, > > currently our experiences with JavaFX on Mac are very disappointing. While > JavaFX on Windows runs very good with low cpu usage, JavaFX on Mac via > Java 8 doesn’t perform well. I created a little clock app which uses > between 25%

Re: MediaPlayer - Out of sync video & audio when playing from slow medium

2015-05-22 Thread Robert Krüger
;;. > It worked for me, media player plays video correctly with buffering, but > this solution has disadventeges: > - more CPU > - problems with seeking video > - complexity > > > Any other suggestions? > -- Robert Krüger Managing Partner Lesspain GmbH & Co. KG www.lesspain-software.com

Re: JavaFX JIRA issues moving to JBS on June 5

2015-05-21 Thread Robert Krüger
y case, typing in an old RT-n number into > JBS will open the bug even after it is mapped into the JDK project. > > -- Kevin > > [1] > http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-April/017083.html > [2] https://bugs.openjdk.java.net/ > > -- Robert Krüger

Re: Enhancements to 3D for JFX9?

2015-04-24 Thread Robert Krüger
On Fri, Apr 24, 2015 at 5:27 PM, Donald Smith wrote: > Yes, but then read the rest of the thread. You really must not rely on > the theoretical possibility of an XX flag that magically kicks all your > problems down the road a year or two. The best time to get all this nailed > correctly is now

Re: Enhancements to 3D for JFX9?

2015-04-24 Thread Robert Krüger
direction that Oracle is taking Java. > > > Neil > > > > > From:Robert Krüger > To:"openjfx-dev@openjdk.java.net" , > Date:04/24/2015 09:36 AM > Subject:Re: Enhancements to 3D for JFX9? > Sent by:"openjfx-dev

Re: Enhancements to 3D for JFX9?

2015-04-24 Thread Robert Krüger
On Fri, Apr 24, 2015 at 2:19 PM, Tom Schindl wrote: > Did you read the reply from Phil in the other thread? > > > There will be a -XX flag in JDK 9 that jigsaw provides to aid in the > transition. > So you will not have to maintain a JDK9 build but only start with this > thread to still access

Re: Enhancements to 3D for JFX9?

2015-04-24 Thread Robert Krüger
On Fri, Apr 24, 2015 at 1:16 PM, Mike Hearn wrote: > this may mean, people who do this must work with a patched JDK in the >> future. >> > > Right. But I think that's going to be more and more common in future. If > you rely on people installing proprietary stuff like JWS or applets then > it's a

Re: Enhancements to 3D for JFX9?

2015-04-23 Thread Robert Krüger
On Thu, Apr 23, 2015 at 12:50 PM, Mike Hearn wrote: > > I think there are people who are embedding arbitrary OpenGL contexts into > the JFX scene graph, so you could plug in a third party 3D engine that way. > Though I guess it'd not work on Windows. > since the fix version of RT-36215 was chang

Re: JavaFX JIRA issues moving to JBS

2015-04-16 Thread Robert Krüger
On Thu, Apr 16, 2015 at 11:02 AM, Mario Torre < neugens.limasoftw...@gmail.com> wrote: > > On the other end, the rules for Author are clear, you need to sign the > OCA (this is the main pain point, but I believe most of the > contributors to OpenJFX already have this done anyway, isn't that a > re

Re: JavaFX JIRA issues moving to JBS

2015-04-16 Thread Robert Krüger
On Thursday, April 16, 2015, Ryan Jaeb wrote: > My frustration isn't aimed at anyone on the list, so I hope it didn't seem > like that. > > I don't usually post to the list, but I follow it enough to know that, once > we see an announcement like the one Kevin delivered, the decision has been > ma

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Robert Krüger
On Wed, Apr 15, 2015 at 4:54 PM, Richard Bair wrote: > Hi everybody, > > Moving to JBS is both good and bad. The good: > > The bad: > >- Contributing is hard (nay, impossible?) if you are not at least an >OpenJDK Author > > > That's really the only (and serious) aspect anyone is complai

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Robert Krüger
On Wed, Apr 15, 2015 at 8:53 AM, Ryan Jaeb wrote: > Do you guys have an estimate for the percentage of current JIRA > contributors that will no longer be able to participate, in a meaningful > way, in bug reporting due to this change? I can't speak for anyone else, > but I can tell you what a sw

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Robert Krüger
On Wed, Apr 15, 2015 at 12:20 AM, Kevin Rushforth < kevin.rushfo...@oracle.com> wrote: > > > A JBS account will be needed to directly report new bugs or comment on > existing bugs. Most application developers will file new JavaFX bugs at > bugs.java.com [3] just like other JDK bugs. The requirement

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Robert Krüger
On Wed, Apr 8, 2015 at 11:03 PM, Stefan Fuchs wrote: > > But in all artificial restrictions to implement your own workarounds using > private apis its another minus on our assessment of the risks involved, > when investing in the javafx technology. Others are the diminishing plugin > support by b

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Robert Krüger
On Wed, Apr 8, 2015 at 9:59 PM, Tomas Mikula wrote: > >Should I rely now on all of those fixes > > to be backported to 8? > > Why do you need them to be backported to 8? Just having them fixed in > 9 should be fine, no? (keeping the private workarounds for 8) > > It was a response to the point th

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Robert Krüger
e APIs, still hoping some of that will be fixed before we need to do something about it ourselves. On Wed, Apr 8, 2015 at 10:05 PM, Danno Ferrin wrote: > > > On Apr 8, 2015, at 1:52 PM, Robert Krüger wrote: > > our only workaround is to use private API > > For the benefit

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Robert Krüger
verly strict enforcement of this stuff is crazy. The D >>>>> compiler has a special flag that disables visibility enforcement when >>>>> compiling unit tests, and that's a good idea, but why not go all the >>>>> way >>>>> and just make

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Robert Krüger
OK, while I wrote this, all the other replies came in. So I see that your recommendation for the cases I mentioned is then to patch OpenJDK and submit Jira issues. Fair enough. Regarding Jira issues, we are already doing that. Regarding code contribution, this is a different thing, because in many

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Robert Krüger
OK, if that statement holds true it is not too unlikely it will be the death of our plans to migrate to JFX (which I am trying to convince my partners of). I am aware that using private APIs is a last resort and we don't do that if we don't have to. Realistically the pace at which JFX (which we thi

Private APIs not usable in Java 9?

2015-04-08 Thread Robert Krüger
Hi, I hope this is not too off-topic, because although it came up in a JFX context it's not strictly JFX-only. Someone from our team recently had a chat with a high-ranking regional Oracle representative who gave a talk on the state of JFX. Our guy explained our situation (evaluating JFX to migra

Re: Canvas performance on Mac OS

2015-04-07 Thread Robert Krüger
;>>>> commands versus using a single gc.strokePolygon(double[] >>>>>>>>> xPoints, double[] yPoints, int count) command. >>>>>>>>> >>>>>>>>> Creating the polygons manually with strokeLine() is >>>>>>>>> significantly faster using the ES2Pipeline on OSX. >>>>>>>>> >>>>>>>>> This is reproducible in a little GitHub JavaFX benchmarking >>>>>>>>> project I've >>>>>>>>> created: https://github.com/chriswhocodes/DemoFX >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Build with ant >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Run with: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> # use strokeLine >>>>>>>>> ./run.sh -c 5000 -m line >>>>>>>>> result: 60 (sixty) fps >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> # use strokePolygon >>>>>>>>> ./run.sh -c 5000 -m poly >>>>>>>>> result: 6 (six) fps >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> System is 2011 iMac 27" / Mavericks / 3.4GHz Core i7 / 20GB RAM >>>>>>>>> / >>>>>>>>> Radeon >>>>>>>>> 6970M 1024MB >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Looking at the code paths in >>>>>>>>> javafx.scene.canvas.GraphicsContext: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> gc.strokeLine() maps to writeOp4(x1, y1, x2, y2, >>>>>>>>> NGCanvas.STROKE_LINE) >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> gc.strokePolygon() maps to writePoly(xPoints, yPoints, nPoints, >>>>>>>>> true, NGCanvas.STROKE_PATH) which involves significantly more >>>>>>>>> work with adding to and flushing a GrowableDataBuffer. >>>>>>>>> >>>>>>>>> I've not had time to dig any deeper than this but it's surely a >>>>>>>>> bug when building a poly manually is 10x faster than using the >>>>>>>>> convenience method. >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Chris >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, March 27, 2015 21:26, Tobias Bley wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> In my opinion the whole graphics performance on MacOSX >>>>>>>>>> isn’t good at all with JavaFX…. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Am 27.03.2015 um 22:10 schrieb Robert Krüger >>>>>>>>>>> : >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> The bad full screen performance is without the arcs. It is >>>>>>>>>>> just one call to fillRect, two to strokeOval and one to >>>>>>>>>>> fillOval, that's all. I will build a simple test case and >>>>>>>>>>> file an issue. >>>>>>>>>>> >>>>>>>>>>> On Fri, Mar 27, 2015 at 9:58 PM, Jim Graham >>>>>>>>>>> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Hi Robert, >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Please file a Jira issue with a simple test case. Arcs >>>>>>>>>>>> are handled as a generalized shape rather than via a >>>>>>>>>>>> predetermined shader, but it shouldn't be that slow. >>>>>>>>>>>> Something else may >>>>>>>>>>>> be going on. >>>>>>>>>>>> >>>>>>>>>>>> Another test might be to replace the arcs with rectangles >>>>>>>>>>>> or ellipses and see if the performance changes... >>>>>>>>>>>> >>>>>>>>>>>> ...jim >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 3/27/15 1:52 PM, Robert Krüger wrote: >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> I have a super-simple animation implemented using >>>>>>>>>>>>> AnimationTimer >>>>>>>>>>>>> and Canvas where the canvas just performs a few draw >>>>>>>>>>>>> operations, i.e. fills the screen with a color and then >>>>>>>>>>>>> draws and fills 2-3 circles and I have already >>>>>>>>>>>>> observed that each drawing operation I add, results in >>>>>>>>>>>>> significant CPU load (e.g. when I draw < 10 arcs in >>>>>>>>>>>>> addition to the circles, the CPU load goes up to 30-40% >>>>>>>>>>>>> on a Mac Book Pro >>>>>>>>>>>>> for a Canvas size of 600x600(!). >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Now I tested the animation in full screen mode (only >>>>>>>>>>>>> with a few circles) and playback is unusable for a >>>>>>>>>>>>> serious application (very choppy). Is 2D canvas >>>>>>>>>>>>> performance known to be very bad on Mac or >>>>>>>>>>>>> am I doing something wrong? Are there workarounds for >>>>>>>>>>>>> this? >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks, >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Robert >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Robert Krüger >>>>>>>>>>> Managing Partner >>>>>>>>>>> Lesspain GmbH & Co. KG >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> www.lesspain-software.com >>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Robert Krüger >>>>>>>> Managing Partner >>>>>>>> Lesspain GmbH & Co. KG >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> www.lesspain-software.com >>>>>>>> >>>>>>> >>>>> >>>>> >>>> >>> >>> -- Robert Krüger Managing Partner Lesspain GmbH & Co. KG www.lesspain-software.com

Re: Canvas performance on Mac OS

2015-04-05 Thread Robert Krüger
Hi, On Sat, Apr 4, 2015 at 10:31 PM, Chris Newland wrote: > Hi Jim, > > > -snip > I think my question is: > > Does the OpenJFX group think JavaFX is a suitable technology for full > frame rate canvas-style graphics or is the degree of indirection between > application code and the graphics har

Re: Media API question regarding metadata retrieval

2015-04-02 Thread Robert Krüger
On Thu, Apr 2, 2015 at 6:16 PM, David DeHaven wrote: > > > > If not is there a specific reason not > > > to offer this functionality independently of a player? > > > > There were plans, there were also issues as we don't have a Java based > mp4 parser so we're relying on the underlying platforms

Re: Media API question regarding metadata retrieval

2015-04-02 Thread Robert Krüger
On Wed, Apr 1, 2015 at 10:50 PM, Scott Palmer wrote: > I seems like a decent compromise to defer to the native platform code that > will ultimately be used to process the file anyway. It seems a little > heavy, but the alternative is perhaps bloating the JavaFX API. > > Yes absolutely but ... (s

Re: Media API question regarding metadata retrieval

2015-04-02 Thread Robert Krüger
On Wed, Apr 1, 2015 at 9:48 PM, David DeHaven wrote: > > > I was a bit surprised that the metadata retrieval functionality > > of javafx.scene.media.Media is only usable in conjunction with a player, > so > > if I want to retrieve the dimensions of a video file I have to > instantiate > > a playe

Media API question regarding metadata retrieval

2015-04-01 Thread Robert Krüger
Hi, I was a bit surprised that the metadata retrieval functionality of javafx.scene.media.Media is only usable in conjunction with a player, so if I want to retrieve the dimensions of a video file I have to instantiate a player and wait for it to reach ready state? That's how I read the javadoc. I

Re: Packaging a JFX app in a gradle build system

2015-03-28 Thread Robert Krüger
thanks. On Sat, Mar 28, 2015 at 4:30 PM, Scott Palmer wrote: > I believe the bitbucket repo is the main page. At least the bintray page > points to it. > > Scott > > On Mar 28, 2015, at 11:10 AM, Robert Krüger wrote: > > Which repository is the master? Bitbucket or gith

Re: Packaging a JFX app in a gradle build system

2015-03-28 Thread Robert Krüger
Which repository is the master? Bitbucket or github? I just saw a posting by someone mentioning that it is also on github. On Fri, Mar 27, 2015 at 7:27 AM, Robert Krüger wrote: > On Fri, Mar 27, 2015 at 12:16 AM, Scott Palmer wrote: > >> I am successfully using the javafx grad

Re: Canvas performance on Mac OS

2015-03-28 Thread Robert Krüger
I have filed this now: https://javafx-jira.kenai.com/browse/RT-40377 On Sat, Mar 28, 2015 at 11:06 AM, Robert Krüger wrote: > This is consistent with what I am observing. Is this something that Oracle > is aware of? Looking at Jira, I don't see that anyone is working on this:

Re: Canvas performance on Mac OS

2015-03-28 Thread Robert Krüger
On Sat, Mar 28, 2015 at 11:22 AM, Chris Newland wrote: > Hi Robert, > > I've not filed a Jira yet as I was hoping to find time to investigate > thoroughly but when I saw your question I thought I'd better add my > findings. > > I believe the issue is in the ES2Pipeline as if I run with > -Dprism.

Re: Canvas performance on Mac OS

2015-03-28 Thread Robert Krüger
gt; significant CPU load (e.g. when I draw < 10 arcs in addition to the > >>>> circles, the CPU load goes up to 30-40% on a Mac Book Pro for a > >>>> Canvas size of 600x600(!). > >>>> > >>>> > >>>> Now I tested the animation in full screen mode (only with a few > >>>> circles) and playback is unusable for a serious application (very > >>>> choppy). Is 2D canvas performance known to be very bad on Mac or am > >>>> I doing something > >>>> wrong? Are there workarounds for this? > >>>> > >>>> Thanks, > >>>> > >>>> > >>>> Robert > >>>> > >>>> > >>>> > >> > >> > >> -- > >> Robert Krüger > >> Managing Partner > >> Lesspain GmbH & Co. KG > >> > >> > >> www.lesspain-software.com > > > > > > > -- Robert Krüger Managing Partner Lesspain GmbH & Co. KG www.lesspain-software.com

Re: Canvas performance on Mac OS

2015-03-27 Thread Robert Krüger
gt; see if the performance changes... > > ...jim > > > On 3/27/15 1:52 PM, Robert Krüger wrote: > >> Hi, >> >> I have a super-simple animation implemented using AnimationTimer and >> Canvas >> where the canvas just performs a few draw operations, i.e. f

Canvas performance on Mac OS

2015-03-27 Thread Robert Krüger
Hi, I have a super-simple animation implemented using AnimationTimer and Canvas where the canvas just performs a few draw operations, i.e. fills the screen with a color and then draws and fills 2-3 circles and I have already observed that each drawing operation I add, results in significant CPU lo

Re: Packaging a JFX app in a gradle build system

2015-03-26 Thread Robert Krüger
On Fri, Mar 27, 2015 at 12:16 AM, Scott Palmer wrote: > I am successfully using the javafx gradle plugin to produce a packaged app > on Windows and Linux. (Thanks Danno!) > I haven't tried much with Mac yet, but I believe it will make an > application bundle. > > That sounds great. I will give it

Re: Packaging a JFX app in a gradle build system

2015-03-26 Thread Robert Krüger
Great! Thanks for the update! On Thu, Mar 26, 2015 at 7:43 PM, Danno Ferrin wrote: > It’s not abandoned, I’ve just had a lot of work on my day job at the > moment. > > For 8u20 and later you can access most of the new features from the > builder arguments. Secondary > launchers and file asso

Packaging a JFX app in a gradle build system

2015-03-26 Thread Robert Krüger
Hi, sorry for posting this here but I have tried Stackoverflow and the Oracle JFX user forum first with no responses. I am looking for the most sensible way to integrate packaging of a JavaFX application into my Gradle build. The plugin at https://bitbucket.org/shemnon/javafx-gradle does not loo

Re: The trouble with Skins

2015-03-23 Thread Robert Krüger
On Mon, Mar 23, 2015 at 7:07 PM, Richard Bair wrote: > tl;dr; I lean toward keeping the Control API as view-agnostic as possible, > but where view details become essential to the operation of the control, > then define the Control to always include those specific view details. > > > =

Re: Media player maturity (on Mac)

2015-03-13 Thread Robert Krüger
On Thu, Mar 12, 2015 at 8:48 PM, David DeHaven wrote: > > > > One more question regarding this. Is it OK to have many instances of > AudioClip or MediaPlayer if only a few of them actually play stuff or do > they block audio resources even when they are stopped? > > > > You can have as many as me

MediaPlayer status changes

2015-03-12 Thread Robert Krüger
Hi, I don't see anything in the docs stating how status should change in MediaPlayer, e.g. will reaching end of media trigger a transition from PLAYING to STOPPED? Will a subsequent call to play() start at the beginning of the media file or do I need to seek? I was expecting some kind of status ch

Re: Media player maturity (on Mac)

2015-03-12 Thread Robert Krüger
On Thu, Mar 12, 2015 at 6:02 PM, David DeHaven wrote: > > > One more question regarding this. Is it OK to have many instances of > AudioClip or MediaPlayer if only a few of them actually play stuff or do > they block audio resources even when they are stopped? > > You can have as many as memory w

Re: Media player maturity (on Mac)

2015-03-12 Thread Robert Krüger
On Wed, Mar 11, 2015 at 5:28 PM, David DeHaven wrote: > > > No, thanks for the hint. I just did and the behavior is a bit better in > the sense that the sample start is not cut off on subsequent play > invocations (behaves more or less line instantiating a new mediaplayer for > each invocation, w

Re: Media player maturity (on Mac)

2015-03-11 Thread Robert Krüger
On Wed, Mar 11, 2015 at 5:28 PM, David DeHaven wrote: > > > No, thanks for the hint. I just did and the behavior is a bit better in > the sense that the sample start is not cut off on subsequent play > invocations (behaves more or less line instantiating a new mediaplayer for > each invocation, w

Re: Media player maturity (on Mac)

2015-03-11 Thread Robert Krüger
I have to use native APIs? Last time I checked JavaSound, it > was > > still an abandoned toy usable only for educational purposes but not for > > anything else. Don't know if that has changed or if this is even the > Audio > > strategy for JFX. > > > > Woul

Re: Media player maturity (on Mac)

2015-03-09 Thread Robert Krüger
ent> > > <http://www.oracle.com/commitment> > > On Mar 9, 2015, at 9:31 AM, Robert Krüger wrote: > > Hi, > > anyone doing serious work with the media player on the Mac? I am > experimenting and so far I am not getting the impression, this is really > something very

Media player maturity (on Mac)

2015-03-09 Thread Robert Krüger
Hi, anyone doing serious work with the media player on the Mac? I am experimenting and so far I am not getting the impression, this is really something very solid. The first Audio-Sample I tried playing plays fine the first time but when I play it for a second time by either issuing stop() follow

Re: Media player performance on Mac

2015-03-05 Thread Robert Krüger
t difference, but it should not be > that much. > > Could also be helpful to know more details about the environment you’re > running in. Keep in mind the new AVFoundation code is only supported on > 10.8 and later due to the lack of certain required APIs in 10.7 and 10.6. > > -DrD- > > -- Robert Krüger Managing Partner Lesspain GmbH & Co. KG www.lesspain-software.com

Media player performance on Mac

2015-03-04 Thread Robert Krüger
Hi, I just put a MediaView with a MediaPlayer into a FlowPane and displayed it. Playing a Full-HD H.264 file consumes between 40 and 60% of CPU. Playing the same file in Quicktime consumes about 3-4% CPU. What is the reason for the dramatic difference? Is the player subsystem not using hardware ac

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-29 Thread Robert Krüger
I have filed https://javafx-jira.kenai.com/browse/RT-39917 for this in Jira. On Wed, Jan 28, 2015 at 5:57 PM, Robert Krüger wrote: > > > On Wed, Jan 28, 2015 at 5:55 PM, Robert Krüger > wrote: > >> OK, I investigated some more. >> >> What is weird is tha

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-28 Thread Robert Krüger
On Wed, Jan 28, 2015 at 5:55 PM, Robert Krüger wrote: > OK, I investigated some more. > > What is weird is that the same table cell instance (I checked the Object > hashcode) is set to different model values while it is still visible, i.e. > I get sequences like this in the l

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-28 Thread Robert Krüger
removed from the load queue because the cell's content is overwritten while it is still being displayed. On Wed, Jan 28, 2015 at 5:17 PM, Robert Krüger wrote: > Yes, and I think there was a mistake in my code. I have it almost working > and have to analyse now, why it does not work fo

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-28 Thread Robert Krüger
r... As far as I know the > number of cells is about as many as you need for one visible page in the > tableview plus 2-4 more to facilitate scrolling. > > > On 28.01.2015 15:47, Robert Krüger wrote: > >> To clarify: I am using the stack approach you describe and I remove it >

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-28 Thread Robert Krüger
OK, hang on. I may have found a mistake and what I described may not actually have been happening. On Wed, Jan 28, 2015 at 3:13 PM, Robert Krüger wrote: > > Hi, > > On Wed, Jan 28, 2015 at 1:59 PM, Werner Lehmann < > lehm...@media-interactive.de> wrote: > >> Robert

Fwd: TableView API, no lazy retrieval of visible cell content possible?

2015-01-28 Thread Robert Krüger
forgot again to reply to all. If anyone ever considers changing the default settings of the list server, +1 from me. -- Forwarded message -- From: Robert Krüger Date: Wed, Jan 28, 2015 at 3:47 PM Subject: Re: TableView API, no lazy retrieval of visible cell content possible? To

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-28 Thread Robert Krüger
> > That's what I am doing already. Regards, Robert Werner > > On 28.01.2015 09:30, Robert Krüger wrote: > >> Doesn't help. The patterns of this property being changed are just as >> unusable for my purposes as with the other approaches (e.g. I can clearly >>

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-28 Thread Robert Krüger
think you can yourself do > much about the inefficiency that more cells than needed are created > and hold non-null items. > > Let's see if others have something to suggest. > > Tomas > > On Tue, Jan 27, 2015 at 3:49 PM, Robert Krüger > wrote: > > Hi Tomas, > >

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-27 Thread Robert Krüger
-null for the first 23 items. Am Dienstag, 27. Januar 2015 schrieb Tomas Mikula : > Hi Robert, > > instead of listening to visibleProperty(), listen to sceneProperty() > and cancel loading when scene becomes null. > > Tomas > > On Tue, Jan 27, 2015 at 1:16 PM, Robert

TableView API, no lazy retrieval of visible cell content possible?

2015-01-27 Thread Robert Krüger
Hi, either I don't see the forest for the trees or something is missing in the TableView API as I cannot seem to implement something that seems a common requirement and was rather easy (not pretty though) in Swing. Imagine an application like OSX finder in its list view, i.e. something that displ

Re: Scroll events fired in TableView although there is nothing to scroll

2015-01-25 Thread Robert Krüger
yes, that's what appear's to be happening. On Sat, Jan 24, 2015 at 9:33 PM, Scott Palmer wrote: > You are probably only seeing the event when the TableView's internal > ScrollPane doesn't consume it. > > Scott > > > On Jan 24, 2015, at 11:50 AM, Robert

Re: Scroll events fired in TableView although there is nothing to scroll

2015-01-24 Thread Robert Krüger
it simply tells you that: > a) someone used the scrollwheel on the mouse > b) used the scroll gesture eg on the touch pad > > So I think you did not really get what onScroll is doing. > > Tom > > On 24.01.15 14:15, Robert Krüger wrote: > > Hi, > > > > I am a

Scroll events fired in TableView although there is nothing to scroll

2015-01-24 Thread Robert Krüger
Hi, I am a bit surprised by the behaviour of the onScroll event handling of TableView. I just printed the events I received there to standard out and although the table does not display any scrollbars because it is large enough to fit all content into it, I receive events as if it were scrolling (

Re: Tagging UI control

2014-09-08 Thread Robert Krüger
ividual tags in an HBox on the left. > > -- Jonathan > > > On 8/09/2014 8:02 p.m., Robert Krüger wrote: >> >> Hi, >> >> how would one go about implementing (i.e. use which api) a tagging >> control (e.g. like http://xoxco.com/projects/code/tagsinpu

Tagging UI control

2014-09-08 Thread Robert Krüger
Hi, how would one go about implementing (i.e. use which api) a tagging control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX or is this already available in an existing extension library? Is this easily done with a bit of text parsing and CSS magic or as fiddely as building a rich

Fwd: JavaFx roadmap?

2014-08-14 Thread Robert Krüger
Classic, forgot to post to list. -- Forwarded message -- From: Robert Krüger Date: Thu, Aug 14, 2014 at 10:29 AM Subject: Re: JavaFx roadmap? To: Adam Granger On Mon, Aug 11, 2014 at 11:08 PM, Adam Granger wrote: > The official java fx roadmap on oracle.com seems to have b

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-23 Thread Robert Krüger
ven't looked at prism es2 in a while but >> I think we use GL2 calls for desktop in some cases. We would have to address >> those cases (if even possible) before any work started. >> >> -Joe >> >>> On 7/21/2014 10:40 AM, Robert Krüger wrote: >>> O

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-22 Thread Robert Krüger
Thanks for all the in-depth insights. As most of the time it appears easier at first glance than it actually is. On Mon, Jul 21, 2014 at 10:22 PM, Richard Bair wrote: > I was interested in Angle for exactly this same reason — it would allow us to > expose OpenGL at the public API level. However

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-21 Thread Robert Krüger
On Mon, Jul 21, 2014 at 7:09 PM, Joseph Andresen wrote: > I also forgot, > > The argument could be made that if we did indeed use angle, we could ditch > our directx 9 pipeline altogether and just use "one" hardware pipeline. We > would really have to evaluate this though, and I am not sure the wo

Re: OT: Netbeans ported to JFX?

2014-07-11 Thread Robert Krüger
On Thu, Jul 10, 2014 at 4:53 PM, David Hill wrote: > On 7/10/14, 10:40 AM, Jeff Martin wrote: >> >> That's not what Bill Gates or Steve Jobs said. > > To be fair - both of those guys are trying to build an ecosystem - not just > an OS, but an OS and tools and products layered on top of it. They wa

Re: OT: Netbeans ported to JFX?

2014-07-10 Thread Robert Krüger
On Wed, Jul 9, 2014 at 4:14 PM, Jeff Martin wrote: > My thought is that JavaFX is perfect for an IDE targeted to education, like > Greenfoot and BlueJ: > > SnapCode: SnapCode is the first and only pure JavaFX IDE > YouTube Overview: SnapCode JavaFX Overview > > SnapCode has visual

OT: Netbeans ported to JFX?

2014-07-09 Thread Robert Krüger
Hi, it is a little off-topic but the people reading this list are most likely the ones who could answer this. Is a port of Netbeans to JFX planned or even ongoing? It would certainly be a huge project but I am asking myself, if there is a way around that with Swing being de-facto legacy if Netbea

Re: API enhancement request to make stage respect scene's min size

2014-06-26 Thread Robert Krüger
r 8u40 actually... > > -Martin > > > On 06/26/2014 01:10 PM, Robert Krüger wrote: >> >> Hi, >> >> right now, I am doing this to prevent stage windows to be resizable in >> a way that cuts off their contained scene's content: >> >>

API enhancement request to make stage respect scene's min size

2014-06-26 Thread Robert Krüger
Hi, right now, I am doing this to prevent stage windows to be resizable in a way that cuts off their contained scene's content: final Scene scene = new Scene(pane); stage.setScene(scene); stage.setTitle(getClass().getSimpleName()); stage.sizeToScene(); //

Re: Exposing native surface or opengl handle

2014-06-26 Thread Robert Krüger
On Thu, Jun 26, 2014 at 9:40 AM, John Hendrikx wrote: > > On 13/06/2014 08:57, Robert Krüger wrote: >> >> Hi, >> >> it has been discussed a number of time in the passed but let me >> quickly summarize: >> >> A number of people have requested a fea

Re: Exposing native surface or opengl handle

2014-06-23 Thread Robert Krüger
le implementations and this is not the final > word on the issue. > > Steve > > > On 2014-06-23, 10:03 AM, Robert Krüger wrote: >> >> Sorry, my last reply did not go to the list. That was unintended. >> >> Oracle-Team, please someone comment on this, at leas

Re: Exposing native surface or opengl handle

2014-06-23 Thread Robert Krüger
4 at 10:41 PM, Robert Krüger wrote: > Thanks for the hint. I think this is similar to what a colleague of > mine did a while ago as a proof of concept using other com.sun.api > that then went away. As long as we're bundling the JRE with our > product and we're desperate en

Exposing native surface or opengl handle

2014-06-12 Thread Robert Krüger
Hi, it has been discussed a number of time in the passed but let me quickly summarize: A number of people have requested a feature that provides the ability to have native code draw into a surface provided by a JavaFX application as fast as technically possible, i.e. with no indirection or copyin

Re: Adding application-wide stylesheet

2014-06-12 Thread Robert Krüger
should do the trick. If I'm > missing something, then please feel free to create a new feature request in > JIRA. > > > On 6/12/14, 4:57 PM, Robert Krüger wrote: >> >> Hi, >> >> RT-18543 has been closed as not an issue with the following explanation: &g

Adding application-wide stylesheet

2014-06-12 Thread Robert Krüger
Hi, RT-18543 has been closed as not an issue with the following explanation: API exists in Application for this: http://download.java.net/jdk8/jfxdocs/javafx/application/Application.html#setUserAgentStylesheet-java.lang.String- But that does not the same thing as it replaces the default (modena)

Re: Ugly flashing when opening a css-styled stage

2014-06-02 Thread Robert Krüger
Hi Anthony On Mon, Jun 2, 2014 at 3:01 PM, Anthony Petrov wrote: > Hi Robert, > > >> Which of the >> two mailing lists is the more appropriate one to post these things >> (JFX problems which look like they might be platform-specific) to? > > > FYI: the JDK Mac OS X Port Project has been completed

Re: Ugly flashing when opening a css-styled stage

2014-06-02 Thread Robert Krüger
gt; > Does that improve the situation? > > Tom > > > On 02.06.14 09:51, Robert Krüger wrote: >> Thanks but it does not seem to improve the situation. >> >> btw, I am using 1.8.0_05-b13 on Mac OS 10.9.3 on a retina MBP. >> >> On Sun, Jun 1, 2014 at 9:5

Re: Ugly flashing when opening a css-styled stage

2014-06-02 Thread Robert Krüger
get proper drawing > _stage.setOpacity(0); _stage.show(); _stage.hide(); > _stage.setOpacity(1); > > I've done this before to trigger Stage to set it's width/height property > (which I needed to position the stage property). > > jeff > > > On Jun 1, 2014,

Ugly flashing when opening a css-styled stage

2014-06-01 Thread Robert Krüger
Hi, I'm in the process of evaluating Java FX 8 for our currently Swing-based product (also Java 8) on OSX. My first attempt to style a stage's background resulted in an ugly flashing effect which I would classify as a show-stopper for delivering a commercial product. This looks like it is caused

Re: Integrating JFX Dialog/Stage in Swing application

2014-05-31 Thread Robert Krüger
invocation on new JFXPanel() that I have in the EDT before the stage is built. On Sat, May 31, 2014 at 4:15 PM, Robert Krüger wrote: > Hi Jeff, > > thanks, yeah, that's a workaround I have also found. I am just asking > myself (and the JFX developers on this list) why this kind of >

Re: Integrating JFX Dialog/Stage in Swing application

2014-05-31 Thread Robert Krüger
> I've done quite a bit of this and it works without problems (for me). > > jeff martin > > On May 31, 2014, at 7:27 AM, Robert Krüger wrote: > >> Hi, >> >> I am trying something which I thought would technically be the easiest >> way of migrating par

Integrating JFX Dialog/Stage in Swing application

2014-05-31 Thread Robert Krüger
Hi, I am trying something which I thought would technically be the easiest way of migrating parts of an existing application from Swing to JFX, i.e. have a Swing JMenuItem trigger the showing of a JFX stage because I thought this would technically even be cleaner than to have a swing dialog contai

Re: JavaFX 2 + with LWJGL ( OpenGL )

2014-04-08 Thread Robert Krüger
The same holds for our application which includes a video player where we need every little bit of performance, especially when dealing with HD and Ultra-HD content, where every additional copy or pixel format conversion step hurts, just to add a tiny little bit of weight. Cheers, Robert On Tue,

Re: Expected frame rates for a full-screen blur

2014-04-07 Thread Robert Krüger
On Tue, Apr 1, 2014 at 7:49 PM, Mike Hearn wrote: > How do I do that? And won't that make everything blurry? Retina support is > one reason why I chose JFX. Swing on Retina Macs is pretty much unusable, > it's like looking through thick plastic. Not exactly the main point of this thread but when

Re: To Be Or Not To Be (Native), was:Look and feel mechanism?

2013-12-11 Thread Robert Krüger
Amen and +1. On Tue, Dec 10, 2013 at 9:11 PM, Stephen F Northover wrote: > As I said before, it would be up to the application. If it was critical > that your application do something like embed Excel, then it could live with > the limitations. Perhaps you work in a company where you have a cus

Re: Media is now opensource

2013-10-18 Thread Robert Krüger
gal terms. Using different codecs may >> involve using and even violating some license agreements. >> Anyway you're welcome to propose anything. >> >> >> On 18.10.2013 21:37, Robert Krüger wrote: >>> Great news! >>> >>> Does this

Re: Media is now opensource

2013-10-18 Thread Robert Krüger
Great news! Does this mean that it is now possible to add support for more demuxers/decoders e.g. by utilizing stuff from other projects (ffmpeg comes to mind)? On Fri, Oct 18, 2013 at 6:35 PM, Kirill Kirichenko wrote: > Hello OpenJFXers ! > We're happy to announce that Media part of JavaFX is n

Re: JDK 8 for ARM Early Access Releases (with JavaFX)

2013-07-10 Thread Robert Krüger
se you could easily use the same jar of your > application and let it run on the Pi without any modification. > > Cheers, > > Gerrit > > > > Am 10.07.2013 um 16:14 schrieb Robert Krüger : > > If anyone plays around with this on the Raspberry, please share your > e

Re: JDK 8 for ARM Early Access Releases (with JavaFX)

2013-07-10 Thread Robert Krüger
If anyone plays around with this on the Raspberry, please share your experience here. On Wed, Jul 10, 2013 at 3:09 PM, wrote: > JDK 8 for ARM hard float is now part of the regular JDK 8 Early Access > releases. You can get it athttps://jdk8.java.net/download.html; this > > page will be regularly

Re: JDK 8 for ARM Early Access Releases (with JavaFX)

2013-07-10 Thread Robert Krüger
Probably something wrong with your email software or something eats the content on the way. You keep sending mails with empty bodies. On Wed, Jul 10, 2013 at 12:20 PM, Daniel Blaukopf wrote: >

Re: Experience with piecewise migration Swing -> JFX

2013-06-17 Thread Robert Krüger
; I've learned about the subject - > http://pixelduke.wordpress.com/2013/06/16/integrating-javafx-and-swing-revised/?preview=true&preview_id=542&preview_nonce=e92735d108 > > Cheers, hope this helps, > > > On Sun, Jun 16, 2013 at 8:28 AM, Robert Krüger wrote: >&

  1   2   >