Swing links of the week: November 30, 2008

December 1st, 2008 | 15 Comments »

Here are some Swing links that you might have missed during the last week:

In three days, JavaFX Desktop 1.0 will be officially released. I have been skeptical about JavaFX over the last few months, and while this may be attributed to general inclination of programmers towards being “entrenched” in the technologies that they know, there are other reasons as well. Aside from a few unnamed technology partners that were participating in shaping the capabilities of this release, the community has been effectively shut from lending its hand in commenting, testing and evolving the platform. We have long heard about “being blown away” by the new functionality being brought by JavaFX to the RIA market, and this week we will finally see if it is going to live up to the marketing hype.

Personally, i will be very glad to see at least one out of the following ten items being available for JavaFX, as well as cross-platform Swing applications come December 4:

  1. 6u10 / 6u11 for Apple – [update] see bug 6761033 for some interesting news.
  2. Full java lightweight rendering of SWF files even without installed Flash engine
  3. Full java lightweight rendering of H.264 files even without installed codecs
  4. Adaptive video streaming based on the client CPU and network utilization
  5. Video capture and creation
  6. Fully skinnable lightweight browser component based on WebKit or Mozilla / Gecko
  7. Inclusion of form-oriented layout manager
  8. Support for high level shader language (HLSL) for hardware accelerated custom effects
  9. Nimbus designer
  10. JavaFX.com with JavaFX-only applet driven content

And is it me, or are we going to see Sun ditching its own module initiative and move towards restructuring JDK as a collection of OSGI bundles?


15 Comments on “Swing links of the week: November 30, 2008”

  1. 1 lqd said at 3:28 pm on December 1st, 2008:

    i believe jmc will come with the on2 native decoder, scenario will also have a new media node (instead of embedding the swing player for instance)

  2. 2 Tom said at 12:11 am on December 2nd, 2008:

    Well, on the JUG here they said that JavaFX will support all local installed codecs and an all java cross-platform one licensed by On2.

    That kinda feels fine to me: I can stay cross platform, but (like PDF) I have to restrict to a certain format. Or I can play SWF and whatever, but am depending on the OS.

    I’m having more problems with the amount JavaFX syntax deviates from Java. That was not nessecary, groovy prooves otherwise. Form-Follows-Function or not.

  3. 3 Richard Oz said at 3:28 am on December 2nd, 2008:

    Kirill: your links to the javaposse newsgroups re: the old painter issue are broken (but can be worked out easily enough if you’re determined).

    Where did that list come from? just a random selection or driven my some internal knowledge? You know the browser and website are more-or-less done. the website is tricky because you can’t really promote a new technology nobodies installed yet, or convinced them to install it without using the existing/opposing technologies . The odd demo won’t hurt though, although I’d expect complicated/integrated ones might expose the horrible web start like security warnings. Would have thought form based layout would be a natural enemy to JavaFX components.

    tom: is swf a codec?

  4. 4 Richard Oz said at 3:30 am on December 2nd, 2008:

    ..actually extend that last question “is swf a codec? and can the JWebPane play Flash?”

  5. 5 Richard Oz said at 3:35 am on December 2nd, 2008:

    Oh and the release of Nimbus designer was supposedly only held up by legal issues last we heard. Someone needs to collar Jasper at Devoxx. Wonder what’s Jaspers position in the swing team since he moved back to the UK?

    Shame about that jdk 6u10 Painter package, creates incompatibilities with SwingX. Substance have its own Painter too? seems a shame to be forced into using adapters over a stupid naming rules.

  6. 6 Tom said at 4:50 am on December 2nd, 2008:

    @Richard: no, SWF is not a codec, it’s the Flash source file extention. And flash player is not really a codec either.

    But appearantly you can play flash movies (embedding flash player) in JavaFX. But I haven’t gotten much further than hear-say by sources close to the source. ;-)

    T-3

  7. 7 obinna henry said at 7:39 am on December 2nd, 2008:

    well, guys i dunno but whatever it is, m excited abt javafx and cant wait to c what its got. i think sun will do good on this one.

  8. 8 lqd said at 10:20 am on December 2nd, 2008:

    the on2 native decoder lib does come with javafx 1.0, you can see some things here yourself -> http://download.java.net/javafx/
    there _is_ a flash provider, haven’t tested it yet though.

  9. 9 Mark said at 10:54 am on December 2nd, 2008:

    Do you have a link to Olivier Gout’s work? All that is there is a link to a previous post about synth builders.

  10. 10 Richard Oz said at 11:02 am on December 2nd, 2008:

    Are you saying javaFX does include “Full java lightweight rendering of SWF files even without installed Flash engine” – wouldn’t than mean a full cleanroom reverse engineering of Flash into Java? – pretty unlikely (why bother then with JavaFX).

    Or are you saying on2 includes an Flash video decoder .FLV not actually offering full Flash .SWF support (without the Flash plugin installation;)

  11. 11 lqd said at 11:12 am on December 2nd, 2008:

    i’m saying jmc _does_ play flv files encoded with on2/vp6 (it plays this: http://download.java.net/javadesktop/jmc/bbc.flv for instance). I also _believe_ it does without flash ever being involved, and that i don’t _know_ about the lightweight part (yet :) but i think/hope since I’m using it in scenario’s SGMediaView (you can add pixel shader effects over it, etc) – and scenario nodes are usable in swing within a JSGPanel – but i haven’t really tested that deeply.

  12. 12 Kirill Grouchnikov said at 11:24 am on December 2nd, 2008:

    Mark – the link has been added.

    Thanks
    Kirill

  13. 13 lqd said at 11:55 am on December 2nd, 2008:

    kirill: did you try the kinda internal jsl ‘language’ that comes with decora (scenegraph-effects) ? the compiler generates java (SE and ME if i remember correctly), hlsl, glsl, java/sse shaders.

    it’s not a ‘pure shader’ in that it “always” mixes at least some java (more than you’d logically think – ie not only for params, i think i remember seeing some loops in java even for hw shaders, but it’s been long since i’ve looked at it).

    Even though i dislike fx script i really like scenario/decora a lot – if you add jmc, jwebpane, the nimbus designer tool (maybe they’re not showing it/releasing it/talking about it because they’re using it as a basis for the fx designer tool :) – or project nile, (all open source with nice licenses of course) and i’d be quite happy.

    The first thing i did with the javafx preview was some code that transcoded fx files exported with nile into java using scenario nodes, hopefully we’ll be able to easily use the compiled fxscript objects directly in java, doubtful i know.

  14. 14 Kirill Grouchnikov said at 4:13 pm on December 2nd, 2008:

    I’ve seen a few interesting nuggets in there including this language, CSS stylesheet for Nimbus and the partial CSS stylesheet for the (i guess new) Pulse skin. Will try to explore this further tonight…

    Thanks for the link to the downloads :)

  15. 15 ben said at 5:07 pm on December 2nd, 2008:

    Kirill,

    I hope you are right on this. Javafx could blow flex away if they pull this off. It just pisses me off that I couldn’t be part of it and contribute to an open, community based project. Being kept in the dark sucks, but what sucks more is the history of being kept in the dark and disappointed by sun.

    I wish they would learn!