Skip to main content

Crosseyed and Painless

Posted by editor on February 17, 2006 at 7:38 AM PST

Crosseyed and painless

Wrangling a J2SE 5.0 animation issue

Among the articles on the stack is a piece on animation from Sun engineer Chet Haase -- it will probably appear next week or the week thereafter -- and he includes a nice applet to show off techniques to improve the actual and perceived quality of the animation.

Only thing is, the applet uses J2SE 5.0, and I'm on a Mac. 5.0 is available for the Mac as an optional download, but it does not replace 1.4.2 as the default JVM. Instead, the two versions co-exist side-by-side. In fact, on PowerPC Macs, you'll still have a version of 1.3.1 hanging around /System/Library/Frameworks/JavaVM.framework. But I digress. The point is, browsers pick up the default version of Java and that's 1.4.2, so the applet didn't work for me.

So, just to make sure it worked, I navigated to 5.0's home directory and ran appletviewer from there. It worked, but it was still a disappointment not to have the surrounding page text that shows how to run the applet.

Well, wouldn't you know it, you can get 5.0 to be your browser... if you use the right browser. A set of release notes points out a "Java Preferences" app you can run to set J2SE 5.0 as your default JVM for applets. This preference is picked up by Safari, and apparently by other WebKit-based browsers (I use Shiira, and it worked without a hitch).

So, now I'm happy. I've got J2SE 5.0 in by browser. So what does Sun go and do this week? They release the Java SE 6 beta. Sigh, I'll never catch up...


In Projects and
Communities
,

Roger Brinkley's Mustang Blog Carnival One Delight After Another rounds up 19 blogs that have been posted by JDK engineers talking about new features and improvements in Java SE 6, which just went beta. Topics include core Java, Desktop, XML, Tools, and Quality.

Daniel Brookshier has recently posted two JXTA-related interviews to his blog: one with Joan Esteve Riasol entitled Juxta-CAT: A JXTA project in Spain at Universitat Politecnica de Catalunya, and another with Edward Ribeiro titled An Interview with a P2P/JXTA Brazlillian.


The latest java.net poll asks "Which Java SE 6 (Mustang) features appeal to you most?" Cast your vote on the front page, then visit the results page for results and discussion.


Ed Burns announces New Drafts of Java EE Web Tier: JSF 1.2, JSP 2.1, Servlet 2.5 in today's Weblogs:
"I'm pleased to announce another revision of the Java EE Web Tier. This revision of the Java Web Tier is fully implemented in glassfish build 37, Sun's open source Java EE 5 Application Server, and the basis for the upcoming Java EE SDK."

Christopher Atlan kicks off his blog talking about his struggles with
NetBeans and Java Web Start:
"Web Start is my first choice for application deployment, but the JNLP files offers you many options, and it is hard to remember everything. The support for JNLP files in NetBeans had been bad; not even the standard xml editor features worked."

Alexander Potochkin wraps up his event-dispatch thread blogs with
Debugging Swing, the final summary:
"It's taken some time to study all possible ways of detecting Event Dispatch Thread rule violations, and now I feel I this topic is about to be closed."


In today's Forums, pauldb wants to combine Java3D with
Video capture:
"Hi, has anyone successfully created a video (AVI, MPEG etc) from Java3D. I know this topic comes up occassionally but all I see is that people are referred to the J3D.org page on capturing still frames from an offscreen canvas. For video, that page merely suggests using JMF."

In Re: Dolphin: play nice with non-java languages, jwenting dismisses some calls for the JVM to better support arbitrary languages.
"And there's a LOT of languages that run fine on the JVM. Python and Ruby come to mind. All you need is a decent compiler to generate classfiles out of your sources. If one doesn't exist, don't go whining at Sun that the JVM doesn't understand your favourite language, go to the language owners and whine there for a compiler that generates Java classfiles (or better yet, write your own). It's not called the JAVA virtual machine for nothing."


In Also in
Java Today
,

Micah Dubinko is marvelling over The Power of 'No'. in a feature article from XML.com. "XML itself is based on the Power of No: XML imposes a level of structure beyond plain text. The vast majority of random strings of characters won't qualify as XML. This ties in with basic definitions of information, uncertainty, and entropy." He goes on to consider how this philosophy of XML is seen in XML vocabularies and microformats, and how you should put it to work.

The new Java Architecture for XML Web Services (JAX-WS) will replace JAX-RPC in the upcoming Java EE 5 and Java 6 (codename: Mustang). In JAX-RPC Evolves into Simpler, More Powerful JAX-WS 2.0, John J. Yates introduces JAX-WS 2.0 and shows how to use it to transform a Java class into a Web service.


In today's java.net
News Headlines
:

Registered users can submit news items for the href="http://today.java.net/today/news/">java.net News Page using our
news submission
form
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News RSS
feed.


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.

Wrangling a J2SE 5.0 animation issue