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 if

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. https://github.com/openjdk/jfx/tree/master/modules/javafx.web/src/main/native/Source/WebCore/

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 actively

Re: Remove JavaFX JPMS enforcement

2020-04-20 Thread Mike Hearn
d, > isn't it? > > As a side 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 s

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 gran

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

2020-01-30 Thread Mike Hearn
in a browser via Cmd+/-. In a 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

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

2020-01-30 Thread Mike Hearn
that can not work because layouts 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- >

Explanation of different scaling factors anywhere?

2020-01-27 Thread Mike Hearn
t happens. It feels like someone probably explored this 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 oth

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 a

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
y also aren't being 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 actu

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 am

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 th

Re: WebView and WebGL

2017-09-14 Thread Mike Hearn
> > Is it about reusing Java knowledge, unique Java libraries, something else? > You seem to be asking "why write desktop apps" in general. For my own projects there have been two different drivers (for different programs): 1. Peer to peer networks and the web don't mix well. If you want to

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 somewhat

Re: WebView and WebGL

2017-09-09 Thread Mike Hearn
I'm not on the FX team, but I'd suggest just starting work on it and see how far you get. You might duplicate some of the research the FX engineers are doing but you also might not, or you might find yourself being able to influence the direction of the project with unique input. If you can make W

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 l

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 I

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 > again > (for the record

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, but that’s another demo of using snapshot approach…the question is: > why can’t we use this effect in live? > You can. It works, and can even be quite smooth if you have a good GPU and non-hidpi display. It just isn't smooth enough for my liking on retina displays.

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 fou

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 licens

Re: JEP 253: UI control skins and input mapping discussion

2015-08-07 Thread Mike Hearn
I don't know much about skins and how they work, as I haven't implemented custom controls. My only knowledge comes from rummaging around inside the code to find some hacky way to get a particular effect, often via CSS. I was hoping to read about the skins infrastructure, what it's for, how it work

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

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? Th

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. Ja

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 p

Re: JavaFX features in JDK 9

2015-06-30 Thread Mike Hearn
ybe it should its aspirations a little higher, especially 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 > wrote: > > > > JavaFX has *never* claimed t

Re: JavaFX features in JDK 9

2015-06-30 Thread Mike
implemented. > >> > >> W dniu 2015-06-29 o 20:30, Kevin Rushforth pisze: > >> > >>>>> JavaFX accessibility is already implemented and was delivered > >>>>> in JDK 8u40. > >>>>> > >>>>> -- Kev

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 wrote: > Why are you asking me? > > On 28 June 2015 at 05:24, Mike wrote: >

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 wrote: > Thanks Kevin but I am left a little underwhelmed by this tiny list. It > seems that Ja

Re: JavaFX features in JDK 9

2015-06-27 Thread Mike
a lot of FULL blown Webrtc support and building something in Javafx (like Scene Builder) that Proves Webrtc support would be awesome. Ditto to Webgl support. On Sat, Jun 27, 2015 at 8:07 AM, Kevin Rushforth wrote: > Hi Felix, > > Sorry for the delay. Most of us were still pretty focused on 8u60,

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 fina

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 GPU

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 H

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 instanc

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 > wrote: > > > > Mike wrote: >> Does Intel Edison run jdk8 u40? > > [off topic adve

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

2015-04-27 Thread Mike Hearn
Heh. Welcome to Unicode :( Unfortunately, many file systems especially in the UNIX world do not precisely specify how file names are to be encoded. Some of them treat file names as opaque null terminated byte arrays. Thus this may not be a bug in Java so much as a design problem/oversight with th

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 boar

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.

Re: Enhancements to 3D for JFX9?

2015-04-23 Thread Mike Hearn
Well, JavaFX is actually a GUI widget toolkit rather than a 3D graphics engine. I think Kevin laid out what they plan to do for v9 so you can assume that the other things won't get done unless you contribute the code yourself. I think there are people who are embedding arbitrary OpenGL contexts in

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 b

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 > wrote: > > In my company at least in the business (healthcare in hospitals) we target > JavaFX for (as a replacement of old app

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 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 es2 and sw so I don

Re: Private APIs not usable in Java 9?

2015-04-09 Thread Mike Hearn
the appropriate list. FX >>> is simply bound by the rules that are set there. >>> >>> There will be a -XX flag in JDK 9 that jigsaw provides to aid in the >>> transition. >>> >>> Also remember FX is open source. You can propose patches ! >&

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: Private APIs not usable in Java 9?

2015-04-08 Thread Mike Hearn
sed -i 's/private/public/g' ;) The whole notion of a strongly enforced private keyword is IMHO dumb when not using sandboxing. The number of gross hacks that occur in an attempt to work around overly strict enforcement of this stuff is crazy. The D compiler has a special flag that disables visibil

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

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

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: 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 wrote: > +1 > > On Mar 30, 2015, at 3:11 PM, Danno Ferrin wrote: > > > Kevin, Chris, please review > > > > jira: https://j

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 > 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 > encounter any problems.

Re: 8u40 is released / SB

2015-03-05 Thread Mike Hearn
> > And then there are GroovyFX and ScalaFX, which embed the declarative > UI language in the host language. To me, FXML seems to be just > compensation for the lack of expressiveness in Java. I think the main benefit of FXML is that Scene Builder and programmers can both work with it directly, r

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

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
roducts/downloads/ > This download is based 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 : > >> Hi Kevin, >> >> Scene Builder

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 real

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 enough

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 questi

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 ne

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 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 > t

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

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 -- I think we deserve an answer! On Mon, Jan 26, 2015 at 10:21 AM, wrote: > yes, why ??? > > - Mail original - > De: "Ladislav Törö

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 wrote: > Indeed, this is really bad news then. :-( > > JavaFX gets further from "

Re: Lighthouse

2015-01-20 Thread Mike Hearn
We launched the public beta of Lighthouse today: https://www.vinumeris.com/lighthouse Feedback has been good so far and we've received lots of compliments about how slick the UI is, and how un-Javay it feels ;) Actually it's just Modena with a few CSS tweaks, and a few animated effects. I hope i

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
Wide=true via the > CLI. This will cause the application to be installed with admin privleges. > > Can you open a bug for this (just cut and paste the e-mail) so it will > work for local installs? > > On Jan 5, 2015, at 1:09 PM, Mike Hearn wrote: > > OK, then I might switch

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
ion 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 wrote: > > Scene Builder doesn't do it this way - AFAICT yo

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
can peruse the > source code to see the details, it's all OpenJDK - > http://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 wrote: > > > What is Application.getApplication() here? The JavaFX Applic

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 Sce

How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
8u40 has javapackager improvements to help you do file associations in your installers. I'm looking forward to this, though for now I have to do it manually with 8u20. But one problem I've found is that just setting up the file associations is not enough. You must handle the "openFile" messages se

Objectwheel Training Videos -- Javafx

2015-01-05 Thread Mike
/objectwheel We are seeking more Angel funding for this project. (send me your friends please) Mike Tallent CEO Objectwheel

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: JavaScript library for JavaFX fans?

2014-12-16 Thread Mike Hearn
Watch out for Angular. They're rewriting it from scratch and Angular 2 is totally different to the current Angular. The rate of churn in Javascript web dev is much, much higher than with Java desktop app dev. GWT has been around for a while and Google use it a lot internally. It's not likely to su

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

2014-12-01 Thread Mike Hearn
like the issue is Apple changed an internal API but didn't update all their own callers? So a bug in AppKit? On Mon, Dec 1, 2014 at 10:09 PM, Tobias Bley wrote: > They work but the performance goes down to many native exceptions…. > > Tobi > > > > Am 01.12.2014 u

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 wrote: > Kevin and David, > > Please review this patch for the issue added with the 10.10

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Mike Hearn
have to place priorities > and then the most likely usage will get implemented first (since most > usages already have some existing platform, "alternative" or "replacement" > for an that platform comes to mind). > > > > Apparently it is not animati

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Mike
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 wrote: > Really? My point is, why have such good built-on classes to support the > building of everything

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

Re: Embedding Mac native widgets into a Scene

2014-11-01 Thread Mike Hearn
rote: > Hi 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 t

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 recognit

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 We are excited Beta Testing soon.

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: https://github.com/vinumeris/

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 c

Why would most FontAwesome icons work but not one?

2014-10-10 Thread Mike Hearn
I'm using FontAwesomeFX in my app (thanks for that guys!) and it works brilliantly except for one icon (THUMB_TACK), that is being set as a graphic in a listview. It works fine on MacOS but renders only a box on Windows. The icon shows fine in the fontawesome website. The only explanation for

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. BT

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

2014-10-03 Thread Mike Hearn
Oh well the hacks aren't so bad :-) Hack 1: animatedBind(loadingIndicatorArea, loadingIndicatorArea.opacityProperty(), when(isLoading).then(1.0).otherwise(0.0)); // Hack around a bug in jfx: progress indicator leaks the spinner animation even if it's invisible so we have

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 t

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

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

2014-09-29 Thread Mike Hearn
My app consistently uses about 10-15% of a CPU even when off screen and nothing is being animated. I had assumed JFX would idle in this case but it seems not. I suspect I've done something that is forcing the system to "pulse" no matter what, but I don't know where to begin investigating this. Prof

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

  1   2   >