Re: RFR: 8236689: macOS 10.15 Catalina: LCD text renders badly

2022-03-15 Thread Mike Hearn
On Wed, 13 Oct 2021 23:59:40 GMT, Phil Race wrote: > On an external (non-retina) monitor JavaFX LCD text on macOS is painful on > the eyes. > Retina diminishes it rather than cures it. > > The problem is a mix of a couple of things > 1) CoreText no longer generates LCD glyphs (except perhaps

Re: Questions ad JavaScript in JavaFX' WebEngine

2020-05-14 Thread Mike Hearn
The WebKit binding code is some of the more complex code in JavaFX. Rather than try to extend the script tag you could instead look at the code for the tag and the old support for Netscape-style plugins.

Re: Remove JavaFX JPMS enforcement

2020-04-21 Thread Mike Hearn
Maybe openjfx.io needs more maintainers? I opened a PR against that repo some days ago and it's not been looked at. The JavaFX docs are certainly a weak point right now, given that the Java 8 era docs aren't really being maintained, and aren't open source, and the main docsite isn't really

Re: Remove JavaFX JPMS enforcement

2020-04-20 Thread Mike Hearn
de note: MethodHandles are not supported by GraalVM native image > and so this would probably collide with the attempts to get JavaFX running > on Android/iOS. > > Am 20.04.20 um 11:28 schrieb Mike Hearn: > > With respect to reflection, it seems like the module system really wants

Re: Remove JavaFX JPMS enforcement

2020-04-20 Thread Mike Hearn
With respect to reflection, it seems like the module system really wants you to use Lookup capabilities rather than "open" modules to reflection. That is, JFX could be changed to use var objects = FXMLLoader.load(MethodHandles.lookup(), new URL("")); The semantics of a Lookup are that it

Re: [EXTERNAL] Explanation of different scaling factors anywhere?

2020-01-30 Thread Mike Hearn
browser you only need > this feature because web-sites are so inconsistent in their styling, which > is normally not the case for desktop applications. > > Just my two €ent > > Am 30.01.20 um 17:29 schrieb Mike Hearn: > > Yes, a scale transform doesn't affect layout. That's t

Re: [EXTERNAL] Explanation of different scaling factors anywhere?

2020-01-30 Thread Mike Hearn
uts don't take the scale factor into > account nor does stuff like ScrollView but i could be wrong. > > Tom > > On 27.01.20 17:29, David Grieve wrote: > > Wouldn't this just be a scale transform? > > -Original Message- > From: openjfx-dev On Behalf Of > M

Explanation of different scaling factors anywhere?

2020-01-27 Thread Mike Hearn
s before now. Is there a way to effectively expand the size of every node without altering the size of the containing viewport, to get browser-style layout affecting zoom? If not, has anyone explored the complexity of the modifications required? thanks, -mike

DropShadow effect kills gfx responsiveness OS-wide

2018-11-04 Thread Mike Hearn
I'm on macOS High Sierra with a very new and very high end MacBook Pro. I have a pretty basic GUI that uses translucency fairly aggressively. I added a DropShadow effect to some nodes, which looks great, but to my great surprise this one line of code kills the UI performance not of my app, but

Re: JavaFX 11 is released

2018-09-18 Thread Mike Hearn
Excellent work, congratulations to everyone involved and the new site is wonderful.

Re: Is JavaFX going to truly be a community project?

2018-09-02 Thread Mike Hearn
I believe you're over-thinking this Pedro. A quote from Margaret Thatcher springs to mind: "They are casting their problems on society and who is society? There is no > such thing! There are individual men and women and there are families and > no government can do anything except through people

Re: Docs hosting for Java 11?

2018-08-31 Thread Mike Hearn
Thanks!

Re: Docs hosting for Java 11?

2018-08-31 Thread Mike Hearn
eing updated. > > They are not under an open-source license. You would need to read the > license to see what the terms of use are and whether that would meet your > needs. > > -- Kevin > > > On 8/31/2018 9:36 AM, Mike Hearn wrote: > > I was actually referring to all the docs

Re: Docs hosting for Java 11?

2018-08-31 Thread Mike Hearn
I was actually referring to all the docs that *aren't* JavaDocs, like the tutorials, the CSS reference, the getting started guides, interop guides etc. As far as I know they haven't been updated since Java 8, however the API is backwards compatible so they are still useful learning materials. I

Docs hosting for Java 11?

2018-08-31 Thread Mike Hearn
As JavaFX is being removed in Java 11, presumably the docs that come with it won't be hosted by Oracle/openjdk.net anymore. And this is a problem because the way you get JavaFX and its tools will no longer be obvious to newcomers, who won't have read this list or know

Re: WebView and WebGL

2017-09-10 Thread Mike Hearn
> > (And yes, the current JavaFX 3D features are extremely rudimentary and not > particularly useful. I don't expect them to be ever enhanced. They're > effectively "frozen". It's a harsh call but I think they were a mistake > from day one. We need a completely different alternative). > I

Re: Update on FX plans for JDK 9

2015-12-17 Thread Mike Hearn
> > JDK-8091107: Add java.awt.Desktop support to javafx > JDK-8091517: Implement com.apple.eawt APIs that make sense in JavaFX (FX > equivalent for JEP 272) > Exposing platform APIs is a big deal for anyone who wants to make an app that really benefits from being on the desktop. Doing things

Re: Future of JavaFX

2015-12-08 Thread Mike Hearn
I'm pretty surprised by this thread. Guys, JavaFX is a widget toolkit. That's it, that's all it is. GUIs haven't changed that much in their general design and capabilities for decades now, probably the last major 'innovations' being things like the MS Office Ribbon. JFX has all the capabilities

Re: Java & JavaFX on mobiles

2015-10-08 Thread Mike Hearn
Re: AOT. At the JVMLS summit there was a talk on a HotSpot AOT compiler mode. It's being worked on, however, as a commercial feature. RoboVM provides an AOT compiler for iOS.

Re: Fwd: HostServices on Linux Ubuntu 14.04 trusty

2015-09-28 Thread Mike Hearn
I believe the issue it is has a hard-coded name of programs to invoke, and that list isn't always accurate for every Linux host system. On Sat, Sep 26, 2015 at 4:04 PM, John Maton wrote: > Stefan > I confirm that works for me on all platforms, Windows/Mac/Ubuntu, thanks >

Re: Blur effect on live scene?

2015-08-10 Thread Mike Hearn
That seems like a great summary Jim, thanks.

Re: Blur effect on live scene?

2015-08-10 Thread Mike Hearn
Yes, it can be done, and I have done this in my app. Take a look here: https://github.com/vinumeris/lighthouse/blob/master/client/src/main/java/lighthouse/Main.java#L474 I do it by taking a snapshot, then blurring that, then cross-fading, then replacing it with a live blur effect once done. I

Re: Can we use JavaPackager and a get full JRE?

2015-08-09 Thread Mike Hearn
UpdateFX has code that can restart a javapackager packaged process, look here: https://github.com/vinumeris/updatefx/blob/master/api/src/main/java/com/vinumeris/updatefx/UpdateFX.java#L60 It's not beautiful but it works. You could extract the code and use it in your app: UpdateFX is Apache

Re: Results of review of private JavaFX API for consideration to make public in JDK 9

2015-08-07 Thread Mike Hearn
If there were to be an API for getting basic graphics device data, what would that look like and would it be hard to write? My app uses some internal APIs not listed above to query the pixel scale and whether we're using software/hardware graphics, to reduce usage of some expensive effects. These

Re: How to Include a License File in Self-Contained Application Package

2015-08-06 Thread Mike
This is awesome news! Congrats Sent from Objectwheel Mike On Aug 6, 2015, at 1:11 PM, Tai Hu tai...@veroanalytics.com wrote: Hi all, I am preparing our product (built in JavaFX 8) for submission to Apple Mac Store. All code signing and self-contained installer generation are done

Re: Another JavaFX Application Thread

2015-08-06 Thread Mike Hearn
That seems like a roundabout way to do things. The web tells me: The asciidoctor.js project is a direct port of Asciidoctor from Ruby to JavaScript using the Opal Ruby-to-JavaScript cross compiler Why don't you use JRuby and run the original Asciidoctor code directly in a background thread?

Re: RejectedExecutionException

2015-08-04 Thread Mike Hearn
Race free shutdown in multi-threaded programs is always very hard. At Google some programs and libraries simply didn't support it: for servers, the cost in terms of bugs and extra code was deemed to outweigh the benefits, so the only supported way for a process to end was for it to be killed.

Simple equivalent to display: none?

2015-07-22 Thread Mike Hearn
One common layout task that seems harder than necessary in JavaFX is to temporarily remove a node from the scene graph, without having to actually mess about with the parent container. In HTML you can do use #foo { display: none; } to hide something temporarily. In JFX you have to remove from the

Re: JavaFX features in JDK 9

2015-06-30 Thread Mike
pisze: JavaFX accessibility is already implemented and was delivered in JDK 8u40. -- Kevin Michał Zegan wrote: What about accessibility work? Work on it has been started, but not sure if it is still targetted for 9. W dniu 2015-06-27 o 20:16, Mike pisze: a lot of FULL

Re: JavaFX features in JDK 9

2015-06-30 Thread Mike Hearn
with the advent of unity, webgl or even scenegraph impls such as jmonkeyengine that do. Sent from my iPhone On 30 Jun 2015, at 09:42, Felix Bembrick felix.bembr...@gmail.com wrote: coughJavaFX has *never* claimed to be write once, run anyway/cough On 30 Jun 2015, at 18:13, Mike mikeg...@gmail.com

Re: JavaFX features in JDK 9

2015-06-27 Thread Mike
Felix how many full time Engineers does Oracle have on Javafx and Java? How does this break up? How many open source contributors are Committing often? On Sat, Jun 27, 2015 at 11:38 AM, Felix Bembrick felix.bembr...@gmail.com wrote: Thanks Kevin but I am left a little underwhelmed by this tiny

Re: JavaFX features in JDK 9

2015-06-27 Thread Mike
I thought you knew. Your spending a lot of time researching information about your upcoming blog post so I thought that was part of your common knowledge. On Sat, Jun 27, 2015 at 12:37 PM, Felix Bembrick felix.bembr...@gmail.com wrote: Why are you asking me? On 28 June 2015 at 05:24, Mike

Bug report: HostServicesFactory on Linux needs a more complete browsers list

2015-06-15 Thread Mike Hearn
The file HostServicesFactory.java (I cannot find it in the JFX8+ repo) contains this line of code, for Linux. It should be re-arranged and extended for better compatibility: - static final String[] browsers = new String[]{google-chrome, firefox, opera, konqueror, mozilla}; + static final

Re: Integrated vs. Discrete Graphics on OS X

2015-05-26 Thread Mike Hearn
The relevant Apple dev doc is here: https://developer.apple.com/library/mac/technotes/tn2229/_index.html Essentially it involves setting flags on the GL pixel format. Then you can receive a callback from the OS either via NSOpenGLView or an old C style callback which tells you that the active

Re: Integrated vs. Discrete Graphics on OS X

2015-05-25 Thread Mike Hearn
I believe the tricky part is not setting the magic flag in your Info.plist file but rather handling the GL context changes on the fly. It requires/would require some code in the Mac GL specific part of JavaFX. Otherwise if you force it to integrated then some other app causes a switch to discrete,

Re: slightly ot: java9 runtime images

2015-05-07 Thread Mike Hearn
Do you actually need JAR signatures anyway? The JVM is bundled, it's not like you have to pass some system security policy beyond Gatekeeper/Windows code signing.

Re: JDK 1.8.0 33/40, diacritics and file problems

2015-04-28 Thread Mike Hearn
I thought Mac OS X has a standard normalization for unicode filenames. Linux just treats whatever it gets as bytes so it is up to the software creating the file. Am I correct? Looks like you are: https://developer.apple.com/legacy/library/technotes/tn/tn1150.html#UnicodeSubtleties So HFS+

Re: JDK 1.8.0 33/40, diacritics and file problems

2015-04-28 Thread Mike Hearn
They were rsynced from Mac OS X. I said *original* app. Rsync is not the original app and most likely does not attempt to re-encode or re-normalise Unicode strings. I feared that. In the end it might be even reasonably doable, if I can take advantage of some preconditions... for instance:

Re: Intel Edison

2015-04-27 Thread Mike
I did not mean to include anything from Intel My own research appears to indicate jdk8 will run edison Sent from my iPhone On Apr 27, 2015, at 2:52 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Mike wrote: Does Intel Edison run jdk8 u40? [off topic advertisement

Intel Edison

2015-04-25 Thread Mike
Does Intel Edison run jdk8 u40? The Intel® Edison is an ultra small computing platform that will change the way you look at embedded electronics. Each Edison is packed with a huge amount of tech goodies into a tiny package while still providing the same robust strength of your go-to single

Re: Enhancements to 3D for JFX9?

2015-04-24 Thread Mike Hearn
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 bleak future, as the way forward is clearly bundled JREs. At

Re: Off topic: named parameters

2015-04-21 Thread Mike Hearn
I don't know about JEP submission process, but you'd first have to solve the problem that when Java added serialization of parameter names to class files in Java 8, the OpenJDK devs explicitly decided *not* to expose them for the JDK itself, on the grounds that they didn't want parameter names to

Re: Font size, dpi and text crispness (snapping to pixels)

2015-04-16 Thread Mike
This has caused us a lot of sleepless days Blur issue and fonts Cross platform scaling Sent from my iPhone On Apr 16, 2015, at 3:24 PM, Matthieu BROUILLARD matth...@brouillard.fr wrote: In my company at least in the business (healthcare in hospitals) we target JavaFX for (as a

Re: Private APIs not usable in Java 9?

2015-04-09 Thread Mike Hearn
provides to aid in the transition. Also remember FX is open source. You can propose patches ! If there are specific APIs that are missing from FX that are suitable to be *supported* public APIs then those could be considered here (this list). -phil. On 4/8/2015 9:28 AM, Mike Hearn wrote

Re: Canvas performance on Mac OS

2015-04-09 Thread Mike
This is important Thanks guys Sent from my iPhone On Apr 8, 2015, at 9:25 AM, Chris Newland cnewl...@chrisnewland.com wrote: Hi Jim, I'll post the verbose prism output from my iMac when I get home. Just tried this on my Linux workstation and the performance gap is the same between

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Mike Hearn
For the benefit of the devs on the list, could you please point out what private APIs you currently need to use? That way we can make sure proper JIRAs are filed and we can connect those to actual real-world problems. e.g. handling a double click of a file on MacOS is impossible without

Re: Review Request: RT-39975 - AppCDS support for packager

2015-03-31 Thread Mike Hearn
The bug is restricted - intentional? I'm guessing this is class data sharing and would make startup of packaged apps faster? On Tue, Mar 31, 2015 at 12:52 AM, Chris Bensen chris.ben...@oracle.com wrote: +1 On Mar 30, 2015, at 3:11 PM, Danno Ferrin danno.fer...@oracle.com wrote: Kevin,

Re: Review Request: RT-39975 - AppCDS support for packager

2015-03-31 Thread Mike Hearn
, Mar 31, 2015 at 3:59 PM, Chris Bensen chris.ben...@oracle.com wrote: Correct! On Mar 31, 2015, at 4:41 AM, Mike Hearn m...@plan99.net wrote: The bug is restricted - intentional? I'm guessing this is class data sharing and would make startup of packaged apps faster? On Tue, Mar 31, 2015

Re: What are the plans for Java9?

2015-03-31 Thread Mike Hearn
One of the major pain points I see is that the java-packager does not support to set a splash-screen Does your app really need one? My laptop can throw a Stage onto the screen in about 500msec. Then you can just show your own splash whilst the app loads ...

Re: PLEASE READ: Pushing changesets to FX 9-dev and 8u-dev

2015-03-26 Thread Mike
Does this support webrtc? Sent from my iPhone On Mar 26, 2015, at 8:21 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: All, The newer WebKit + compiler upgrade has been pushed to 8u-dev and we have done a successful test build on all platforms. Please let me know if you

Re: 8u40 is released

2015-03-04 Thread Mike Hearn
Hi Kevin, Scene Builder source code is available in the OpenJFX repo under the BSD license, but separate binaries are no longer being released as of 8u40. I'm a bit confused what this means. People who want to use Scene Builder are expected to compile it themselves from now on? Does that

Re: 8u40 is released

2015-03-04 Thread Mike Hearn
on the latest 8u40 source code in OpenJFX. It includes the 8u40 Controls (e.g. Spinner, Dialogs). Hope this is helpful. - Johan 2015-03-04 16:31 GMT+01:00 Mike Hearn m...@plan99.net: Hi Kevin, Scene Builder source code is available in the OpenJFX repo under the BSD license, but separate

Re: 8u40 is released

2015-03-04 Thread Mike Hearn
Hey Jonathan, If you let us know who does make these decisions, we will happily repeat our questions to them :) Mark Reinhold perhaps? I mean, I appreciate that GUI libraries are probably not a prime driver of sales for Oracle, but as an enterprise focused company I assume management understands

Re: 8u40 is released

2015-03-04 Thread Mike Hearn
2349 Unresolved Bugs seems buggy to me: https://javafx-jira.kenai.com/issues/?jql=issuetype%20%3D%20Bug%20AND%20resolution%20%3D%20Unresolved Any software project always has lots of unresolved issues in the issue tracker, though, especially something as large as a UI toolkit. Qt has about

Re: 8u40 is released

2015-03-04 Thread Mike Hearn
This is what we did at Gluon (http://gluonhq.com), and the result can be downloaded at http://gluonhq.com/products/downloads/ Thanks Johan! Looks like Gluon is the Trolltech equivalent I just wished for - that was fast :-) From your blog post, it sounds like you're planning to fork SB or at

Re: HEADS-UP: [9] New WebKit + compiler upgrade for FX 9

2015-02-24 Thread Mike Hearn
I see, thanks for the background Anton. I haven't used WebView in my own app (partly because it's security sensitive) so didn't realise how integrated the control is! That's indeed a very impressive level of integration. It's possible I'm over-thinking this. Disabling JavaScript is probably

Re: HEADS-UP: [9] New WebKit + compiler upgrade for FX 9

2015-02-20 Thread Mike Hearn
The changeset patch is 185 Mbytes and touches 11,688 files including added, removed, modifiled files. I tried generating a webrev, but it is just too big and unweildy to upload (over 1.6 GBytes). A 185 megabyte patch!? That is .. mind boggling. I don't envy you guys! Couple of

Re: Question/feedback regarding Windows Hi DPI support and how it will affect applications

2015-02-18 Thread Mike Hearn
Finally, it would be nice to get information about the actual screen DPI. In my tests Screen.getDpi always returns 96, regardless of what it actually is... You can reflectively access Screen.getPixelScale() to learn if you're on Retina. Of course, don't expect to swap out the JRE for a newer

Re: iMX6Q graphics performance

2015-01-28 Thread Mike
What is your Favorite Embedded board if you got something right now? Odroid U3? or something else. I guess the Odroid U3 is availabe in Early Feb again at 179.00 US. http://www.hardkernel.com/main/products/prdt_info.php?g_code=G140448267127 On Wed, Jan 28, 2015 at 11:56 AM, Jasper Potts

Re: iMX6Q graphics performance

2015-01-28 Thread Mike
Thanks so much guys! Last Question is Which boards from BoundaryDevices have you tried with Javafx? I see they have a new board too. This is very helpful information and will save us a lot of time. We are after Top Graphics Performance in Embedded. Mike On Wed, Jan 28, 2015 at 2:03 PM, David

Re: iMX6Q graphics performance

2015-01-28 Thread Mike
OH sorry David, I think you answered this already -- reading above. On Wed, Jan 28, 2015 at 2:03 PM, David Hill david.h...@oracle.com wrote: On 1/28/15, 3:44 PM, Mike wrote: What is your Favorite Embedded board if you got something right now? Odroid U3? or something else. I guess

Why do the Linux packages go into /opt?

2015-01-27 Thread Mike Hearn
javapackager makes debs that install things into /opt, which means they aren't on the path. Is there a reason for this choice rather than making FHS-compliant packages that install into /usr? thanks!

Re: JDK 8u33 for ARM and JavaFX

2015-01-26 Thread Mike
Why is Oracle ignoring questions about embedded? .. We put our Careers and Lifes behind products like #Javafx https://twitter.com/hashtag/Javafx?src=hash -- I think we deserve an answer! On Mon, Jan 26, 2015 at 10:21 AM, oma...@free.fr wrote: yes, why ??? - Mail original - De:

Re: JDK 8u33 for ARM and JavaFX

2015-01-22 Thread Mike
Sorry -- can you clarify? What embedded platforms are supported by Jdk9? Where do I get a list? What is the most common Embedded device in low cost Mass production? On Thu, Jan 22, 2015 at 3:17 PM, Florian Brunner fbrunnerl...@gmx.ch wrote: Indeed, this is really bad news then. :-( JavaFX

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
What is Application.getApplication() here? The JavaFX Application class does not have a setOpenFileHandler method. Is that a Mac-specific API? It's too bad that 8u40 won't have this. Being able to easily open double clicked files is pretty basic. Perhaps post 8u40 the JFX team could go through

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
://hg.openjdk.java.net/jdk8u/jdk8u40/jdk/file/564bca490631/src/macosx/classes/com/apple/eawt On Jan 5, 2015, at 10:43 AM, Mike Hearn m...@plan99.net wrote: What is Application.getApplication() here? The JavaFX Application class does not have a setOpenFileHandler method. Is that a Mac-specific API

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
application too, just tried it locally. You may be thinking of an older iteration of the apple application listener classes or perhaps the native level of the code. On Jan 5, 2015, at 11:04 AM, Mike Hearn m...@plan99.net wrote: Scene Builder doesn't do it this way - AFAICT you're only

3D shape not clipped by ScrollPane properly?

2014-12-29 Thread Mike Hearn
I have a ScrollPane into which I put a Pane with a min width/height, and then I place a Button and a Sphere. For both of them I use setLayoutX/Y to move them around. Now when I scroll the ScrollPane I can see it move the button around correctly, and the sphere, but the sphere is able to draw over

Re: [8u40]: Review request for RT-39489: Latest 10.10.2 beta update causes NSTouch exceptions continually

2014-12-01 Thread Mike Hearn
What happens to existing jfx apps once 10.10.2 starts rolling out? Do they all break?! I didn't see much discussion of the scope of this issue in the bug report. On Mon, Dec 1, 2014 at 9:44 PM, Morris Meyer morris.me...@oracle.com wrote: Kevin and David, Please review this patch for the issue

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Mike
thats funny -Scene! boy I can't spell On Mon, Nov 24, 2014 at 2:39 AM, Mike mikeg...@gmail.com wrote: Actually Felix Everybody is waiting for you to write such a tool. I don't think anybody has scene your Disney Animation Movie Credits but me. On Mon, Nov 24, 2014 at 2:20 AM, Felix Bembrick

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Mike Hearn
already have some existing platform, alternative or replacement for an that platform comes to mind). Apparently it is not animations, personally I'm still hoping 3rd party controls support in SceneBuilder will get higher on the list, but I'm not getting my hopes up. But as Mike pointed out

Re: Embedding Mac native widgets into a Scene

2014-11-01 Thread Mike Hearn
Mike, Embedding native controls in FX runs afoul of the whole lightweight/heavyweight issue. I had a hack of this once using SWT native controls and I was able to have them appear on Windows because HWND clipping was honored but on Mac, FX drew on top of the native control. Mac was changed

Embedding Mac native widgets into a Scene

2014-10-31 Thread Mike Hearn
JavaFX provides a great set of widgets that are pretty complete, but a few lag behind behind their native counterparts on some platforms. This is especially noticeable with the Mac text field widget, which has things like integrated spelling/grammar checking, auto correct, services, speech

Objectwheel android beta Javafx

2014-10-14 Thread Mike
Sigh ups for Javafx android beta https://abigdreamer.wufoo.com/forms/objectwheel-android-javafx-beta-signup/ Sent from my iPhone

Objectwheel -- Sharing - Javax Androi

2014-10-13 Thread Mike
Sorry to barge in here but we think developers should know http://youtu.be/qK0WdWVAab0 http://t.co/SuQZZKKeAo We are excited Beta Testing soon.

Re: Why would most FontAwesome icons work but not one?

2014-10-10 Thread Mike Hearn
I've noticed this with some icons, double check that the font file you're using in FontAwesomeFX does actually contain the icon, FontAwesome seems to add new icons even in minor releases. It's the same JAR on all three platforms, and Windows is the only one it fails on. I don't think it can

Re: Mirrored observable collections

2014-10-10 Thread Mike Hearn
Someone got in touch with me today and pointed out a bug in this code, but it was already fixed by me some time ago. I've refreshed the gist with the latest versions of these classes, but the upstream project is now fully open source. You can get the latest code here:

Re: How do I find out why the render loop is running?

2014-10-03 Thread Mike Hearn
Well, this was a pain in the ass. The cause is indeed ProgressBar/ProgressIndicator. It turns out that they can leak animations even when removed from the scene graph or their parents are made invisible. I filed: https://javafx-jira.kenai.com/browse/RT-38894 I now have a bunch of hacks to set

Re: How do I find out why the render loop is running?

2014-10-03 Thread Mike Hearn
So you are using opacityProperty() and not visibleProperty(), so my exact workaround would not work anyway. I did originally put some code into animatedBind to set visible == false when opacity == 0.0 and vice versa, but it didn't seem to solve the animation leak so I took it out again. BTW

Re: How do I find out why the render loop is running?

2014-09-30 Thread Mike Hearn
2) A control, such as a ProgressIndicator, that uses animation to display changes (even if the control is scrolled off the screen) One common control animation that is easily overlooked is a text cursor, which is animated to blink - when the control has focus. That would only cause one

Separating observable data structures out into a separate library?

2014-09-21 Thread Mike Hearn
Observable data structures are a useful and general abstraction, which JavaFX deploys to great effect. Combined with the mirroring techniques I posted about a few months ago I found them to be a good way of combining background work and network-updated state with GUI apps. For this reason, they'd

Lighthouse

2014-09-12 Thread Mike Hearn
good fit for the Bitcoin community, because we suffer quite badly from the limitations and problems of web apps. HTML5 + decentralisation don't mix very well. A plain old desktop app works better, and JavaFX is a good way to build such things. thanks, -mike

Re: Tagging UI control

2014-09-08 Thread Mike Hearn
I've not encountered one, but building such a thing should be quite straightforward. You could use CSS to create a text-area like rectangle with an HBox inside it, and then have a no-border textedit that simply expands to fill the available space. When the user presses enter you create an

Image decoding - native or java?

2014-09-03 Thread Mike Hearn
If I load image bits into an Image how is the decoding done? Is this using native code and if so there is a way to swap out the decoding engines for ones written in Java? I see native image libraries in my JRE lib directory so I suspect the answer is, they're decoded in C. I ask because I'm

Re: outstanding resource locks

2014-09-02 Thread Mike Hearn
I see this message quite frequently. What sort of things do you need in these bug reports? On Tue, Sep 2, 2014 at 5:38 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Any time you see this message, it isn't your fault. Rather this is a bug in the JavaFX runtime. Please file a JIRA. --

Re: outstanding resource locks

2014-09-02 Thread Mike Hearn
to demonstrate the bug. I know this can be a challenge for an intermittent bug. -- Kevin Mike Hearn wrote: I see this message quite frequently. What sort of things do you need in these bug reports? On Tue, Sep 2, 2014 at 5:38 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Any time

Any plans to support CSS transitions?

2014-08-29 Thread Mike Hearn
I enjoy iterating on my UI using JFX CSS and a simple hot reload feature I added to my app, but I still have to drop back into writing code for doing animations. In practice this means I use fewer nice animations than I otherwise would, as perfecting them takes longer. CSS3 has a way to denote

Re: How to set CFBundleVersion?

2014-08-25 Thread Mike Hearn
Hi Tony, Please be aware that your messages to this list are getting spamfoldered by Gmail and likely other providers too. Not much you can do about it other than ask the OpenJDK list admins to fix their list so it doesn't break DKIM body hashes. Yahoo has a strict policy and many mailing lists

Re: How to learn the identity of the graphics card?

2014-08-07 Thread Mike Hearn
Thanks for the tip. Bug filed: https://javafx-jira.kenai.com/browse/RT-38224

Re: How to learn the identity of the graphics card?

2014-08-06 Thread Mike Hearn
that with a number of embedded GPUs... ...jim On 8/1/14 2:27 AM, Mike Hearn wrote: Scott is correct about the determining of the SW pipeline. To add to that, if knowing whether you are running on SW is sufficient Unfortunately for the Intel HD4000 card that some older

Re: How to learn the identity of the graphics card?

2014-08-06 Thread Mike Hearn
shouldn't use the word bad card. What I'm saying is that you will have to add it to your blacklist if you don't want JavaFX to use it for rendering due to poor framerate. - Chien On 8/6/2014 9:57 AM, Mike Hearn wrote: The card isn't bad per se, it's just the HD4000 integrated graphics chip

Re: How to learn the identity of the graphics card?

2014-08-01 Thread Mike Hearn
Scott is correct about the determining of the SW pipeline. To add to that, if knowing whether you are running on SW is sufficient Unfortunately for the Intel HD4000 card that some older laptops have, it technically supports 3D but struggles to do basic shader effects at 60fps when running at

How to learn the identity of the graphics card?

2014-07-31 Thread Mike Hearn
I'd like to change my animations depending on whether the users GPU can keep up. For now, I'm OK with some manual string matching on adapter IDs. I see no way in JavaFX to find out what hardware I'm on. Is there a different/other way to get this data, via some other Java API?

Re: How to learn the identity of the graphics card?

2014-07-31 Thread Mike Hearn
Would it be feasible for you to do some measurements / calibration on the system and make the determination based on measured speed? That seems more to the point anyway. I don't know how to do that without actually drawing to the screen, which I don't want to do.

Re: Mirrored observable collections

2014-07-23 Thread Mike Hearn
Thanks Tomas! I'm a big fan of your work and blog. I learned about ReactFX after I started writing my current project, seems like a very useful abstraction indeed, although so far I've found the basic JFX stuff to be nearly sufficient (a few more transformers and mirrored observables were so far

Mirrored observable collections

2014-07-22 Thread Mike Hearn
I have what I imagine is a fairly typical JavaFX application (once it's released I'll post more about it). It has a GUI, some mostly asynchronous state management, and interactions with various servers that can change the apps state. At first I tried the simple and obvious approach in which the

Re: OT: Netbeans ported to JFX?

2014-07-11 Thread Mike
I would rather see an android and ios project cross platform that's compelling enough by oracle with a fancy scene builder based impressive GUI and datafx mongodb backend Sent from my iPhone On Jul 10, 2014, at 8:35 AM, Jeff Martin j...@reportmill.com wrote: I wish Oracle would try to

Re: JavaFX at JavaOne 2014

2014-06-23 Thread Mike Hearn
There are no reasons that JavaFX could not work well on mobile platforms, providing there is a JVM. I was convinced that mobile UI toolkits were very specific, but it's really not the case. Android UI Toolkit has really very few mobile specificities for example. It's not so much the

Re: JavaFX at JavaOne 2014

2014-06-20 Thread Mike
Don't expect anything from Oracle related to IOS and Android other than some code contributions. They have said ADF Mobile / Jdeveloper (etc) will suffer financially if Oracle supports IOS and Android directly. On Fri, Jun 20, 2014 at 9:43 AM, Pedro Duque Vieira pedro.duquevie...@gmail.com

Re: New bundler in 8u20 question...

2014-06-15 Thread Mike Hearn
Does the new bundler still create DMGs as well? AppName-version-MAS.pkg where the -MAS variant is for Mac App Store, this will show up in next weeks build. Could I suggest -AppStore instead of -MAS, which is a rather opaque acronym.

  1   2   >