Skip to main content

javaFX??

4 replies [Last post]
bonechilla
Offline
Joined: 2008-04-06

Can anyone inform me of what javaFX is exactly. I've been reading a lot of articles but i'm still completly unsure. Can anyone give me a bettter description or turn me in the rite direction i even read the article in java products about it but i'm still a bit unsure of the subject. Is it just another way to write swing applications, does it act like a java version of vb were u can drag and drop for a GUI?? I'm developing and everything is primarily handeled in my engine the only thing is i created a little launcher using swing it took a lot of lines of code but its only a small part of what i'm doing. Would anyone reccomend i redo it in javaFX or i shouldn't worry about it?

Message was edited by: bonechilla

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
janerik
Offline
Joined: 2004-01-09

I should point out that there is a Netbeans JavaFX plugin. It might provide the VB like functionality you are looking for.

larswestergren
Offline
Joined: 2006-02-20

What janerik said... but I'd add that the new language is called [b]JavaFx Script[/b]. From what I understand, "JavaFx" (without the "Script" part) is Sun's branding of the push to make the JVM a better client platform for end users - a smaller initial download, hardware acceleration of 2d/3d, better support for media, a better browser plugin, the scenegraph, etc. Most of these things are in the Java6 update 10 (Java6u10), the beta of which has now reached Release Candidate state, and you don't have to use JavaFX Script to benefit from them, plain old Java works fine.

Cheers,
Lars

janerik
Offline
Joined: 2004-01-09

JavaFX is a new programming language designed for creating small visual applications. It is similar to Adobe Actionscript, which is used in Flash, Flex and AIR. It tries to compete with Adobe Flash, Google Android and the Apple iPhone SDK.

The JavaFX platform includes a language, a media API (JMC), a scene graph API (SG), a web browser component, Photoshop and Illustrator/SVG tools (Project Nile) and improved deployment options.

http://labs.teppefall.com/2008/08/media_player.html
http://labs.teppefall.com/2008/08/javafx_sdk_preview_first_impre.html

There is no VB like tool and the platform tries to merge desktop and mobile development within one API. This is old Macromedia thinking and has been criticized by many developers as being marketing fluff rather than the cold hard reality. The only system that has successfully pulled off such a design is the Apple iPhone, but this has caused many people to complain about pathetic battery life, software crashes and frequent activation problems.

Rewriting your code in JavaFX only makes sense if you want to target future mobile devices that support JavaFX. As of today, there are no such devices.

wabunoh
Offline
Joined: 2003-06-11

> JavaFX is a new programming language designed for
> creating small visual applications. It is similar to
> Adobe Actionscript, which is used in Flash, Flex and
> AIR. It tries to compete with Adobe Flash, Google
> Android and the Apple iPhone SDK.
>
> The JavaFX platform includes a language, a media API
> (JMC), a scene graph API (SG), a web browser
> component, Photoshop and Illustrator/SVG tools
> (Project Nile) and improved deployment options.
>
> http://labs.teppefall.com/2008/08/media_player.html
> http://labs.teppefall.com/2008/08/javafx_sdk_preview_f
> irst_impre.html
>
> There is no VB like tool and the platform tries to
> merge desktop and mobile development within one API.
> This is old Macromedia thinking and has been
> criticized by many developers as being marketing
> fluff rather than the cold hard reality. The only
> system that has successfully pulled off such a design
> is the Apple iPhone, but this has caused many people
> to complain about pathetic battery life, software
> crashes and frequent activation problems.
>
> Rewriting your code in JavaFX only makes sense if you
> want to target future mobile devices that support
> JavaFX. As of today, there are no such devices.

I do not know about the JavaME porting for JavaFX but for web applications that need rich gui's JavaFX is great. We work with very large data sets and being able to use JavaFX in our beta work here is proving to be a major imporvement to our application