Talk:JavaFX

Outdated Summary
"JavaFX is intended to replace Swing as the standard GUI library for Java SE, but both will be included for the foreseeable future."

JavaFX is not included in the JDK anymore (it has been converted into a 3rd party project). This makes it rather unlikely to become a Swing replacement. 2.205.65.151 (talk) 09:04, 1 March 2021 (UTC)

"JavaFX has support for desktop computers and web browsers on Microsoft Windows, Linux, and macOS."

"…and web browsers…" Is this still true? I thought JavaFX needs the Java Plugin to run in a browser. The plugin has been discontinued in most browsers. Is there still away to run it in the browser? Or do we need to rewrite the intro? —MiguelMunoz (talk) 15:29, 12 March 2021 (UTC)


 * No, since NPAPI isn't supported by any current browser that most people have heard of. Firefox supported it in the ESR branch until 2021.
 * You'll find options that claim to support using it in modern browsers online. The primary one I found was something called "WebFX" which has what at first appears to be a 1995 Geocities home page and uses Google GWT to transpile Java into Javascript as some way of getting this working.
 * Optimizing Runtime with Deferred Binding
 * At runtime, GWT uses a mechanism called deferred binding to load the correct permutation for the end user’s browser. Deferred binding serves just the code the user needs and no more. What are the benefits of deferred binding? Because each permutation is tailored to work around the bugs and idiosyncrasies of its intended web browser, using deferred binding is faster for the user. Your application download contains no unnecessary bytes. The application doesn’t need to sniff for browsers or provide multiple branches for each browser. Faster for you. GWT does the work of generating the correct JavaScript for each browser so that you don’t have to spend so much time dealing with differences between browsers.
 * I'm not sure why they brag about that given that the whole point of java applets was that you'd just be able to write programs that would run poorly on any computer architecture and browser and not deal with the whole mess. If it didn't behave like a java applet it wouldn't really be a
 * They go on to show compilation generating 6 different .js files for different browsers which sounds like a nightmare. In the older sample I found it  tries to be a 1-to-1 reconstruction of the original Java in identically behaving javascript so it's incredibly ugly,  and has additional overhead from Java it didn't need to run as Javascript...  Probably for the sake of matching some behaviors of regular java, but it doesn't look like something you'd use if you had a choice.   Especially considering what kind of impact running javascript-heavy pages has on battery life of mobile devices vs. plain HTML5.
 * My quick search also found a Chrome plugin that does the same hacky thing but associates the applets with itself and converts them to Javascript + WebAssembly on the client side which is even more end-user overhead and not likely to be installed on many machines. A Shortfall Of Gravitas (talk) 10:48, 23 August 2023 (UTC)
 * My quick search also found a Chrome plugin that does the same hacky thing but associates the applets with itself and converts them to Javascript + WebAssembly on the client side which is even more end-user overhead and not likely to be installed on many machines. A Shortfall Of Gravitas (talk) 10:48, 23 August 2023 (UTC)

Typos
"on any browser that could run Java EE" - browsers do not usually run Java EE nor are they asked to do that. What does that statement mean? — Preceding unsigned comment added by Osman-pasha (talk • contribs) 14:13, 8 September 2013 (UTC)

JavaFX 3D?
No mention of JavaFX 3D though it's mentioned in at least one other Wikipedia article (Java3D development was suspended so they could concentrate on 3D for JavaFX or something to that effect). Is it vaporware? or does it exist? 72.234.110.47 (talk) —Preceding undated comment added 07:22, 24 July 2012 (UTC)

It is true. JavaFX 2 is the best replacement for Java 3D and Java 2D and Swing and Java Media Framework (JMF), that is what meant by rich application platform. Some of these will be deprecated. But Swing and Java 2d can't be deprecated .اقرأ (talk) 23:32, 6 November 2012 (UTC)


 * Yes, here is an Oracle proposal on the OpenJDK mailing list : 3D Features Planned for Version 8. The planned API seems to be really rich. Version 8 means that they plan to have it available with Java 8, the next Java version, as future JavaFX versions will be integrated with JREs (it is already the case since the August release of Java 7). Hervegirod (talk) 00:51, 7 November 2012 (UTC)

It is great that they want to make 3d easier and more powerful. JavaFX 3D is now good enough and runs on Java SE 6 (Windows only) and on Java SE 7 (all platforms). Some tutorials are available as:  and. اقرأ (talk) 01:59, 11 February 2013 (UTC)

software currently in development?
✅

"This article or section contains information about computer software currently in development."

<< i'm sure, javafx is being developed, but it's also released to the public already.

spring, and fall
The world does not consist of America only, - spring may be early in the year or late in the year depending on where you live. —Preceding unsigned comment added by 121.73.125.183 (talk) 06:56, 26 March 2009 (UTC)
 * Thank you for your suggestion. When you believe an article needs improvement, please feel free to make those changes. Wikipedia is a wiki, so anyone can edit almost any article by simply following the  link at the top. The Wikipedia community encourages you to be bold in updating pages. Don't worry too much about making honest mistakes—they're likely to be found and corrected quickly. If you're not sure how editing works, check out how to edit a page, or use the sandbox to try out your editing skills.  New contributors are always welcome. You don't even need to log in (although there are many reasons why you might want to).  Sorry for the form response :)  ~a (user • talk • contribs) 14:02, 1 July 2009 (UTC)


 * You are right, but in some cases US companies themselves mention "Spring release"; In this case, I think that it's legitimate to keep the expression. I don't know if it's the case here though. Hervegirod (talk) 00:55, 7 November 2012 (UTC)

JavaFX Script merge JavaFX Article
JavaFX is NOT a scripting language: Even though it is called JavaFX Script, JavaFX is NOT a scripting language (in the dynamic sense). JavaFX code gets compiled to Java bytecode at design time. So, JavaFX is similar to Flex (except for the XML-UI part). Note that JavaFX started as a scripting language in Sun Labs, but quickly became a compiled language (probably for performance reasons). Sun keeps using the term “JavaFX Script” to distinguish the language from the JavaFX brand and to avoid using the word “language,” which would make it too obvious that JavaFX is another language all together.

Ellison at JavaOne: Myths About JavaFX, Android, and J2ME
 * JavaFX is the platform, and JavaFX Script is the language. At the time of writing, the latter is open source, while the former is not. In the quote, Larry is referring to two things: (1) JavaFX Script is not interpreted, like most scripting languages, and (2) it suffers from the Frankenstein phenomenon (people popularly refer to the monster as "Frankenstein", but that's not the monster's actual name). Just because some use the shorthand "JavaFX" in reference to "JavaFX Script", does not mean the articles should be merged (any more than the ActionScript article should be merged into Flash/Flex). JavaKid (talk) 19:09, 1 October 2009 (UTC)
 * The articles should not be merged, as both subjects differ. Sae1962 (talk) 14:00, 6 October 2009 (UTC)

Bizarre behavior
For some reason when I visit this Wikipedia page in particular the style sheet is different from the rest of Wikipedia. —Preceding unsigned comment added by 24.6.155.52 (talk) 03:20, 1 December 2009 (UTC)

Not an article, but advertisement!
“Technical highlights”?? SERIOUSLY?? Reads like a advertisement, rather than a article! This desperately needs fixing! — 88.77.157.152 (talk) 15:24, 7 March 2011 (UTC)
 * It's he same in a lot of other tech articles, for example .NET Framework has a Principal design features paragraph which has exactly the same problem, and is hardly sourced at all like this one. I agree that the two paragraphs are broken (and not the entire article), however what is broken is not the text IMO but the fact that it is not properly sourced, nor attributed to whom marketed it (in this case, maybe Sun or Oracle). Hervegirod (talk) 22:32, 7 March 2011 (UTC)

My two cents: It would read less like an advertisement for many people if there was a header on these tech pages for "Flaws/Issues" with helpful info on limitations and a reasonably detailed but concise note on any bugs and their fixes. By hiding the topic of "flaws" in these programs, it gives the impression that petty corporate advertisement pushing the "everything-is-perfect" myth trumps pragmatic concerns of the users the product was designed for! And who is Wikipedia for? Corporations or regular users? Nuff said. 50.72.177.136 (talk) 21:06, 5 April 2013 (UTC)

Outdated
I've just cut this from the lead:
 * Attention: This article was written for the JavaFX 1.x series. However, the new version of JavaFX from Oracle, 2.0, is so different from the 1.x series that the article needs a complete rewrite.  People interested in the technology should refer to the company's website while waiting for this page to be rewritten.

It's quite valid, but not encyclopaedic, and belongs here rather than in the article. -- Perey (talk) 05:16, 20 December 2011 (UTC)

OpenFX link dead
The external link to OpenFx is dead.

Is the project already defunct? Compare this JavaFx live developer link:

http://www.oracle.com/technetwork/java/javafx/overview/index.html

quote: " JavaFX 2.0.2 is now available for download (December 12, 2011) "

G. Robert Shiplett 14:26, 31 January 2012 (UTC)

This article reads like gobbledygook
I came upon this article as I was trying to work out why I had JavaFX on my computer as well as Java? After googling JavaFX and reading a couple of the Oracle articles (Highest rating in Google. I wonder why?), I thought try Wikipedia. Why did I bother! This article reads like the Oracle articles that I just read (OMG, idea! Was it written by an Oracle employee!  Of course not, this is ..... ).  This article is of no use at all except to promote Jave/Oracle and it is no clearer to me what JaveFX does. Silly me, I must be .... despite being a heavy computer user since before PCs.

I know this sounds drastic, however I think this article should be deleted!

Keelback (talk) 14:26, 5 April 2012 (UTC)


 * Deleted?! No! Edited maybe, but not deleted.  I found the article useful to me.  I'm considering updating my software from Swing to JavaFX and I need some kind of Wikipedia article on JavaFX.


 * kaydell 64.255.89.81 (talk) 17:34, 29 May 2013 (UTC)

Architecture
I think this article should go a bit more in depth. I would like to see a section like "Architecture".

As a reader I would like to know:


 * What does the overall architecture of JavaFX itself look like?
 * What are the major components of JavaFX's architecture?
 * What does the architecture of a programm using JavaFX look like?
 * What distinguishes JavaFX from other types of Java Programms like applets and Java applications (with GUI Toolkits like AWT, Swing, SWT etc.) ?
 * What distinguishes JavaFX from competing RIA techniques / products (like Flash, Silverlight AIR etc.) ?
 * How does the deployment and updating process of JavaFX application work? — Preceding unsigned comment added by 79.226.185.203 (talk) 13:46, 13 October 2012 (UTC)

I think that would be a real improvement of this article.

P.S.: I know there are two sections "2 Design highlights" and "3 JavaFX platform components", but they barely answer those questions.

While trying to answer my own questions I saw there oracle recently published some information, e.g. a roadmap for JavaFX. Maybe this contains new information relevant for this article. http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html

There is an chapter in the official JavaFX documentation, which should answer some of the questions: http://docs.oracle.com/javafx/2/architecture/jfxpub-architecture.htm

At least the links of the references 15 and 16 are dead. — Preceding unsigned comment added by 79.226.185.203 (talk) 13:57, 13 October 2012 (UTC)

--79.226.185.203 (talk) 13:04, 13 October 2012 (UTC)

Merge JavaFX Mobile to here
Given that JavaFX Mobile is now obsolete, should it be merged into this article? I think so. Toddst1 (talk) 17:55, 25 October 2012 (UTC)
 * Agree mainly due to size and lack of references, fundamentally it could have its own article per the different java editions but, just no. Widefox ; talk 16:45, 8 February 2013 (UTC)

External links modified
Hello fellow Wikipedians,

I have just added archive links to 1 one external link on JavaFX. Please take a moment to review my edit. If necessary, add after the link to keep me from modifying it. Alternatively, you can add to keep me off the page altogether. I made the following changes:
 * Added archive https://web.archive.org/20081217162601/http://blogs.sun.com:80/meetjeet/entry/javafx_the_road_ahead to http://blogs.sun.com/meetjeet/entry/javafx_the_road_ahead

When you have finished reviewing my changes, please set the checked parameter below to true to let others know.

Cheers.—cyberbot II  Talk to my owner :Online 00:39, 23 February 2016 (UTC)

External links modified
Hello fellow Wikipedians,

I have just modified 3 external links on JavaFX. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
 * Added archive https://web.archive.org/web/20121201211443/http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html to http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html
 * Corrected formatting/usage for http://blogs.oracle.com/chrisoliver/entry/f3
 * Added archive https://web.archive.org/web/20150105113138/http://download.java.net/jdk9/jfxdocs/javafx/scene/control/Dialog.html to http://download.java.net/jdk9/jfxdocs/javafx/scene/control/Dialog.html

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

Cheers.— InternetArchiveBot  (Report bug) 11:55, 2 January 2017 (UTC)

External links modified
Hello fellow Wikipedians,

I have just modified one external link on JavaFX. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
 * Added archive https://web.archive.org/web/20121201211443/http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html to http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

Cheers.— InternetArchiveBot  (Report bug) 23:13, 19 April 2017 (UTC)

Bibliography: unable to edit a dead link: manning.com domain name said to be blacklisted
I tried to edit a dead link for the following entry in the Bibliography section:


 * Morris, Simon (November 23, 2009). JavaFX in Action. Manning. p. 375. ISBN 978-1-933988-99-3.

I was unable to do so because the new link I've found — https:// www. manning.com/books/javafx-in-action — is said to belong to a blacklisted domain name: manning.com

Isn't that curious?

Then I checked the Wikimedia Global blacklist, and, another surprise: it has no mention of manning.com

P.S. and right now I am having a hard time creating this new section because of the said domain name Kirisakow (talk) 18:16, 1 September 2022 (UTC)