Skip to main content

I Feel Speed

Posted by editor on November 20, 2008 at 7:30 AM PST


Animation on the go

We're back to LWUIT in the latest feature article, and can you blame us? While we wait for JavaFX-compatible mobile devices, LWUIT gives ME developers an opportunity to create cutting-edge user interfaces for today's Java-capable phones.

One of the most significant GUI trends this decade is the use of animation. Used appropriately, it's a useful visual cue to the user that there's been a change in context or content: you've navigated to a new screen, your IM buddy has logged off, your file has been crumpled up and thrown in the trash.

But writing animation code by hand is a pain, setting up timers, coordinating multiple animated objects, calculating how much has changed and what to draw. An animation framework to standardize at least some of this stuff is badly needed.

In todays' Feature Article, Biswajit Sarkar looks at
Animation and Transition with LWUIT. He begins with a look at how to support "page-flip" style animation of images, something you can do with your own timed painting code or just by loading in an animated GIF. Then he moves on to the more advanced case of transition, which use LWUIT's animation APIs to animate the way a form is brought into or out of an LWUIT display.

Have a look... it's not much work to provide transitions, and can make your mobile application vastly more appealing.


In Java Today,
Sun has announced it is teaming up with Carnegie Mellon University to continue work on Alice, the key research project of The Last Lecture author Randy Pausch. The Java-based Alice is "an innovative 3D programming environment that makes it easy to create an animation for telling a story, playing an interactive game, or a video to share on the web. Alice is a teaching tool for introductory computing. It uses 3D graphics and a drag-and-drop interface to facilitate a more engaging, less frustrating first programming experience. "

Reflection and Birthday Greeting from Jonathan Schwartz
The NetBeans 10th Birthday Celebration closes with a special interview with Sun CEO Jonathan Schwartz. He talks about why developers are important to Sun, looks back on how software development has changed over the last 10 years and why NetBeans matters to Sun and the industry.

InfoWorld has posted an article on Why developers prefer Macs, pointing out its popularity among Ruby and Java developers. "Java development on the Mac is also very popular, in part because all the major Java development environments are written in Java. Therefore, Eclipse, IntelliJ, and NetBeans all run about the same on Windows, Mac, and Linux boxes." However, the article also notes competition from other flavors of Unix, and James Gosling's recently delcared preference for OpenSolaris over Mac OS X.


In today's Forums, klemensz hopes to override TextField default key codes / mapping. "Is there a way to override the mapping of key codes to characters/numbers, for example if I want to have German characters available as well? Looking at the source code I saw that DEFAULT_KEY_CODES is not accessible from outside the class or a subclass. Is there a special reason for that? I see a possibility to accomplish what I need by overwriting the default input modes with my own input modes using addInputMode(). Is this the "correct" way? It might be easier if there was a getter for DEFAULT_KEY_CODES."

Project Wonderland user twright announces the posting of some
WonderDAC Papers. "It's been a while since I last posted, though I have been actively lurking. Some of you may recall that my modest contribution to Wonderland has been to devise a discretionary access control system called WonderDAC. My efforts on this front have recently culminated in a small, but realistic, test of Wonderland and WonderDAC. I won't bother you with all of the details and outcome, here; please visit my website for links to several papers on WonderDAC that I've authored (http://www.cleverbedlam.net/node/21)."

Gail Risdal wants GlassFish v3 Prelude users to contribute to documentation, as explained in
REVIEW REQUEST: Troubleshooting Guide. "The GlassFish v3 Prelude Troubleshooting Guide is now available for review. Please review the document and provide feedback by close of business Monday Nov 24th PT (earlier would be even better). I know that's not much time, but that's the reality of the schedule. The document is available from the doc comments wiki: http://wiki.glassfish.java.net/Wiki.jsp?page=TroubleShootingGuideV3. Please add your comments to the page or, given the short timeline, send them directly to me."

Finally, we're fortunate that "king maker" andrewhh has contributed an applet experience opinion to the thread Re: The ongoing switch from Java to Flash. "Also, I use Linux, so when I see an applet loading I cringe. I expect a clunky experience that will increase my blood pressure by forcing me to wonder "is it wedged? is my browser hosed? is it a server issue?" Don't make Linux a second class citizen. We Linux users are a vocal, evangelical, knowledgeable and most important, trusted group. We're the ones who told our Windows using friends to ditch IE for Firefox. We're the ones who explain the liabilities of vendor lockin. We are king makers and you ignore us at your peril."


Today's Weblogs with Arun Gupta showing you how to build a webapp, in Screencast #28: Simple Web Application using Eclipse and GlassFish v3 Prelude. "GlassFish v3 Prelude is now available! Some of the cool features are: Modularity using OSGi, Rapid deployment using retain session data across HTTP redeploys and deploy-on-save, embeddability, dynamic languages and frameworks, faster start up time, integrated NetBeans and Eclipse tooling, etc. This screencast shows how you can create a simple Web application using JSP and Servlets in Eclipse 3.4, deploy it directly on GlassFish v3, use rapid deployment, and debug the application."

Daniel Wildt asks Brazilian readers to save the date for
RSJUG Day - December 13th of 2008. "Upcoming event from Rio Grande do Sul Java Users Group. This is a Java Users Group from Brazil, the first JUG created in Brazil. The call for papers is open, so you can send your proposal until December 1st of 2008."


Current and upcoming Java
Events
:

Registered users can submit event listings for the href="http://www.java.net/events">java.net Events Page using our href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
site.


Archives and Subscriptions: This blog is delivered weekdays as
the Java
Today RSS feed
. Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.

Animation on the go