JavaFX 1.2 brings more UI controls

June 2, 2009

JavaFX 1.2 arrived silently last night in order to coincide with the opening of JavaOne 2009. I’m happy to see many more UI controls included in this latest release of JavaFX, most notably ScrollBar, which is so painful to re-implement yourself.

Here’s a look at some of the new controls based on a Sun web-start app I found here (run it):
javafx_1_2_ui_controlsHere’s the full list of new UI controls:

  • Button
  • Label
  • CheckBox
  • ToggleButton
  • RadioButton
  • Hyperlink
  • ProgressBar
  • ProgressIndicator
  • Slider
  • ScrollBar
  • ListView
  • TextBox

I wasn’t expecting the controls to have a platform neutral look, though I think this was a good idea (similar to how Adobe Flex controls have an platform agnostic look).

Check out the full JavaFX 1.2 API — note how much fuller it is than in JavaFX 1.1.

I’m interested in hearing you’re thoughts on JavaFX 1.2, specifically about the new UI controls.

About these ads

9 Responses to “JavaFX 1.2 brings more UI controls”

  1. maxwell Says:

    Looks pretty in ubuntu 9.04, we need really a official version of javafx foir linux, I have some rich applications in swing, and I have a lot of ideas to improve with javafx.. =)

  2. Chui Tey Says:

    ListView is more like a listbox, and quite immature. The events are a little bit anemic, for instance, you can’t implement onHover.

  3. Sebastian Says:

    Well, at least it looks like, Sun is getting more reasonable on establishing wider use of JavaFX. Maybe by the time there is a 2.0, it could be a real option for desktop applications.

    S.

  4. Sakuraba Says:

    I must say it looks quite nice, could be a lot less fancy though, but that is just looks. It is great to see that the tab-button-navigation works.

    The only bad thing is the fact that it chokes 60-70 % of my MacBook Pro CPU….


  5. I don’t understand how I can turn this into something people will buy. JavaFX is like a slow Swing clone created by college students. Vmware made something similar I think and nobody cared.

    “JavaFX is replacing AJAX” says the top dog at Sun.. unbelievable..

    I’m so horrified by JavaFX that I have started reading Cocoa documentation and writing C++.

  6. Jesper Says:

    @maxwell: There IS an official version of JavaFX for Linux – JavaFX version 1.2. Get it from http://javafx.com

    Unfortunately it does not seem to work flawlessly on 64-bit Linux… (Webstart apps with JavaFX don’t work and also the video codecs do not seem to work properly on my 64-bit Ubuntu 9.04).

  7. Jeremy Says:

    I’m stoked by the little things: like the “undefined” checkbox state. We’ve been trying to come up with an elegant way to introduce that to JCheckBoxes for a while. Unfortunately JavaFX is still a long way off for us, but it looks like it’d be fun to explore. (Maybe by the time we’re ready to work with it it will be a little more stable/tested, too…)

    • Ken Says:

      Hey Jeremy,

      Yeah, it looks like their really trying hard to make the common things easy to do. I think they’ve learned a lot from Swing.

      -Ken


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 27 other followers

%d bloggers like this: