Search |
||
JavaFX 1.0 is here: On your desktop, in your browser, and on your mobile phonePosted by terrencebarr on December 6, 2008 at 6:06 PM PST
Updates:
JavaFX 1.0 is here! JavaFX is the expressive platform for creating and delivering rich Internet experiences across all the screens of your life: for web browsers and desktops - and (in preview) for mobile phones. Today's JavaFX 1.0 release includes these components
What's unique about JavaFX?
Because JavaFX leverages the power and pervasiveness of the Java platform JavaFX will run most everywhere Java is running today - including mobile devices. On the Desktop. In the Browser. And on your Mobile Phone. Same code everywhere. Ok, show me! ... glad you asked ;-) Let's try out a simple but useful example of a JavaFX application with a nice little GUI that accesses a web service (Yahoo! Local Business search). You can deploy and run this application (using the exact same unmodified application code) on your desktop, within a browser, and on the mobile emulator (as well as on many MSA-compliant phones - coming soon) with the touch of a button. It will give you a good idea what JavaFX is and how to get started with it. I will be doing a screencast on this and other demos soon but for now here are the step-by-step instructions:
As you can see JavaFX is a whole new ball game with many new exciting features and possibilities. I'll be talking about this and more over the next couple of weeks - especially with a focus on mobility. Finding out more
Have fun playing with JavaFX! Cheers, -- Terrence PS: For Linux and Solaris support see the JavaFX blog. Update regarding running JavaFX applications on real devicesI spoke too soon regarding the ability to run the resulting JavaFX app not only on the mobile emulator (as in step 11) but also on off-the-shelf MSA-compliant devices. Running on phones was supported in internal prerelease versions of the tool chain but that feature is a work in progress and was not considered ready for the JavaFX 1.0 release - so it was removed. Unfortunately, I got mixed up with versions and it looks like I tested my instructions using a prerelease version ... So, for now at least, running on real devices is not supported. But let me ensure you
In the meantime I encourage you to start experimenting with JavaFX Mobile using the emulator - it's where the platform is going. Sorry for the confusion and stay tuned. »
Related Topics >>
Mobile and Embedded Comments
Comments are listed in date ascending order (oldest first)
Submitted by ronaldtm on Thu, 2008-12-04 08:26.
... and it still doesn't support Linux...
Submitted by terrencebarr on Thu, 2008-12-04 09:06.
On Linux support: Please see the javafx blog at http://blogs.sun.com/javafx/entry/a_word_on_linux_and
Submitted by varan on Fri, 2008-12-05 07:40.
Quite disappointing I must say to look at the samples advertised on the Java FX site.
It seems to suggest that neat graphics tricks (blurring, shuffling rectangles, rotation, scaling etc.) is all that JavaFX provides.
There is perhaps a small set of people in the intersection of two sets: nerdy Java programmers who want to be graphical designers, and graphical designers who aspire to be programmers. JavaFX should really appeal to this set.
Submitted by pandora808 on Fri, 2008-12-05 16:38.
I actually tried running the jar for LocalSearch on my phone, didn't even install. I watched Jacob's video, and I have the same phone he's demoing with (SE w760). sooo... what do i have to do to actually run this on my phone? i just followed your steps here. I'm really anxious to try javafx out on my phone.
Submitted by joaogalli on Fri, 2008-12-05 20:54.
Hi Terrence, I ran the sample, and found this in the JAD: MicroEdition-Profile: JAVAFX-1.0. We will have to wait for compliant devices? oh boy!
Submitted by jaxer on Sun, 2008-12-07 09:49.
Of course it won't run ! Can you tell me how an MSA-compliant phone is supposed to have the javafx.* and com.sun.javafx.* packages ? I first thought that the netBeans JavaFX plugin was taking care of this by including the JavaFX mobile libraries or by rewriting portions of the JavaFX code to JSR-226 calls, but apparently it's not. The bytecode is left as it is, with minor changes (i.e check if the Double class is there before using this type / CLDC 1.1).
Let alone the JAVAFX-1.0 profile...
Terrence, did you follow your own step-by-step instructions ?
Submitted by terrencebarr on Sun, 2008-12-07 14:05.
Let me double-check that. I ran multiple FX Mobile applications that I built with NB 6.5 on my Sony Ericsson W910 demo device. I'll try reproducing this tomorrow - maybe I mixed up something in the rush of the last couple of days. Sorry about that.
-- Terrence
Submitted by terrencebarr on Mon, 2008-12-08 09:49.
Ok, I've figured out what went wrong. Of course, you guys are right ... I evidently used a prerelease version of the JavaFX 1.0 SDK for my instructions. Please see the updated section at the bottom of my blog ("Update regarding running JavaFX applications on real devices").
I apologize for the confusion. -- Terrence
Submitted by jaxer on Mon, 2008-12-08 12:27.
No problem, Terrence, I was suspecting that somehow. It'll be nice if you can update us on the situation, or maybe give an early access to the SDK builds. I think I'm not the only one who's eager to test this on real devices.
Also, a list of the required JSR's would be nice as, apart from Sony Ericsson java platforms, the market is quite fragmented.
Thanks again for checking.
Submitted by terrencebarr on Mon, 2008-12-08 12:44.
Jaxer,
Absolutely - keeping the developer community informed about everything mobile JavaFX is a big part of what I will be doing. And feeding input and feedback back into Sun. Much more to come over the next weeks and months. -- Terrence
Submitted by bsarkar on Fri, 2008-12-19 16:37.
I have one doubt about that 'all screens' claim. Java FX, I find, allows Swing classes to be imported. So if I write code that uses Swing, how will it run on a mobile platform?
And talking of Swing, is there any possibility of having LWUIT integrated into FX?
Biswajit
Submitted by terrencebarr on Tue, 2009-03-10 10:15.
Biswajit,
Sorry for the slow reply. See Jeet Kaul's answer on his blog http://blogs.sun.com/meetjeet/entry/javafx_the_road_ahead: 5. Do you have plans to reduce the desktop FX runtime's dependency on Swing? Yes we will be adding new UI controls and widgets that'll be based on the common profile of the JavaFX platform. This will remove dependency on Swing and allow the UI components to be used across all devices. We will, however, also provide a better integration for existing Swing applications separately. Hope this clarifies it. Best, -- Terrence This is an innovation in
Submitted by jimdiggerson on Wed, 2009-09-16 08:43.
This is an innovation in technologies and programming I should say. Thanks for good news.
Free research papers | buy a research paper | term paper
Thanks! i just followed your
Submitted by jamessmall on Thu, 2009-10-08 08:28.
Thanks! i just followed your steps here. I'm really anxious to try javafx out on my phone. cialis
|
||
|
|