February 2009
1 post
Dr Patel is charged with the grievous bodily harm of Mr Vowles following a bowel...
– Source: The Australian
January 2009
1 post
The Calculation US Bankers showed Bush to prove... →
October 2008
1 post
Where there is love, caring and concern and a lack of strife then one is likely...
– Coot (in the comments)
September 2008
1 post
3 tags
You’re probably thinking to yourself “Wow! That’s a lot of news!”, and you’d be...
– General Manager, Windows Product Management at Microsoft on new Virtualized Desktop options.
You are now provided with different options of running enterprise OS within a virtual environment on Employee-owned machines ($110 per year), Contractor machines ($110 per year), Employees who work from...
August 2008
8 posts
Java.net is disconnected with reality. For every guy who knows Swing/Java there...
– Jan Erik
Why JavaFX Should Be Inlineable with HTML →
August 18, 2008 Ask the (JavaFX) Experts
http: //java.sun.com/developer/community/askxprt/sessions/2008/jl0818.jsp
me: What is the long term future of javafx.ext.swing.* classes in JavaFX's
technological roadmap? Are new Node-based ui classes in-the-works to supercede this?
Joshua Marinacci: We plan to keep the swing classes but they will only be in the desktop profile. New gui classes based on nodes are in the works. These new gui components will be available on all platforms.
me: Currently, there are only a handful of people who are able to skin Swing components, are there plans to make skinning accessible to web developers? I note that a prototype skin design tool exists for Nimbus.
Joshua Marinacci: We have plans for CSS support for skinning.
me: The DropShadow filter is very slow for large objects (e.g. 300x400px), especially for animations. Can we have a flag to switch over to a low-fi version [when] using animations?
Joshua Marinacci: That's an interesting idea. We'll look into it. thanks.
me: It is difficult to write serious web applications if JavaFX doesn't support multiline formatted text. Anything planned in this respect?
Joshua Marinacci: We are working on that as well.
me: How many of these (node based ui components, css) are slated for 1.0? I'm assessing whether there's a market for 3rd party components, and need to know what gaps would already be filled by Sun.
Joshua Marinacci: We don't have a final list yet, but it's going to be just the basics for the 1.0 release. Things like buttons and scrollbars. We won't have more targeted components like you see from the various Swing component vendors. There is definitely a market for 3rd party components.
me: Memory use is still a problem. A JavaFX hello world with Client JVM takes 31Mb of private memory space (jre1.6u7). For comparison purposes, Meebo on DHTML reputedly takes 43Mb, while GMail takes 50Mb on my laptop. I haven't tested any Flex apps. So I have my concerns that using Node-based UI instead of flyweight rendering (as in JTable) will tax the capability of most machines. Last weekend, I drew 65536 rectangles with JavaFX and the JVM ran out of heap space. Will 1.6u10 JavaFX applets load a smaller class library by default?
Joshua Marinacci: We are still doing lots of optimization work. Getting the memory usage down is one of our core concerns.
me: Is the JavaFX interpreter going to be shipped with 1.6u10? Most web hosters support PHP and not java compilers, and that means if the applets can consume JavaFX script, PHP could be used to generate UI. This can help adoption. For example, silverlight supports XAML inlined with HTML.
Joshua Marinacci: The old interpreted version of JavaFX is deprecated. The only way to build JavaFX applications now is to use the compiler. However, it shouldn't matter what your hosting company has. You will compile the JavaFX application on your development desktop computer and only upload the binary jars and html to the website. From the webserver's point of view they are just binary files which are served to the user, the same as images or media files.
me: May I post your response on my blog? http://teyc.tumblr.com/
Joshua Marinacci: absolutely. Thanks for your great questions.
2 tags
Comparing Animations in Flex vs JavaFX →
The video above illustrates how skins and animations are set up in Flex.
JavaFX’s key-frame based timeline animation is richer and more complex, but ironically, I find Flex’s animation more declarative.
For instance, to move a button from A to B in JavaFX, a Timeline has to be crafted to move the element.
In Flex, the programmer declares that when the location of a button changes,...
1 tag
We are all rednecks up here. We don’t carry it around as a badge of shame,...
– Bob Katter, talking about the Mayor of Mt Isa’s appeal for “beauty-disadvantaged” women to find love in their city.
1 tag
JavaFX, the new RIA kid on the block
Sun has released a JavaFX preview. Having played around with it, here are my questions:
Will using the scenegraph api consume less resources than a comparable app developed using DHTML?
Why is interpreted JavaFX script slow, when interpreted javascript is fast enough for client-side work?
Silverlight will consume markup generated from any web server. JavaFX requires a server-side compiler, or...