Skip to main content


Posted by editor on September 27, 2006 at 8:03 AM PDT

Take a look at Java2D and SwingX visuals

In an odd coincidence, Aerith co-developers Joshua Marinacci and Romain Guy both posted graphics-intense blogs yesterday, so it seems only natural and appropriate to highlight them in the daily blog.

Even though they're working in different API's, both of them offer powerful tutorials on pushing desktop Java's imaging capabilities farther than you might know to take them. And really, Java2D and Swing aren't that far apart -- after all, one of Swing's greatest strengths is the ease with which you can call upon Java2D to provide pixels for your GUI. Indeed, Joshua's current topic, SwingX Painters, exist for the explicit purpose of using and reusing Java2D painting logic.

When Joshua and I did a presentation a few JavaOnes ago, we found ourselves coming back to the phrase "if you can paint it, you can have it". Our point was that you weren't bound to any particular appearance, or simple shapes and colors. The idea was that whatever you can compose in Java2D can easily be part of a Swing GUI, often just with a Graphics.drawImage() call in an overridden paintComponent() method.

So hopefully you'll enjoy the graphics bent of today's Weblogs, which kicks off with
Introducing Painters II: filters, shapes, and the builder, in which
"Joshua continues his introduction to Painters with filters, shape effects, and a visual builder tool."

Then in
Java2D Gradients Performance, Romain Guy reports
"Gradients are one of my favorite Java2D tools and I just made some interesting discoveries about their performance."

Also in today's Weblogs, Rama Pulavarthi introduces
Support for WS-Addressing in JAX-WS 2.1 RI EA1:
"JAX-WS 2.1 RI EA1 has added support for WS-Addressing. One of the nice things is that it makes using Addressing in Java Web Services easier. Users don't need to deal with sending/consuming various addressing headers. Thats all done by JAX-WS RI. All that User needs to do is enable Addressing Feature. Read on to find about doing that in JAX-WS..."

Following up on his SwingX Painters blog, Joshua Marinacci seeks input in the Forum, message Painters: next steps:
"I've just committed all of the code for the visual builder an a few other outstanding changes I had. So what are the next steps? I really want to let you guys drive this. What do you want out of painters? I have a list of things I know I need to do (like trim out extraneous support jars) but in terms of the grand scheme I need feedback. What is missing? What are the architectural issues we need to fix? What should we do to improve the gui tool?"

Elsewhere in the forums, bobfoster32 is troubled by a debugging problem in
part of soap response not unmarshalled:
"After generating the client proxy from a wsdl file, I managed to send and receive a soap message. The thing is though, that only parts of the reply are accessible through the object.. I mean not all is unmarshalled. It would be a great help if there was a way to get debug messages but I can not find a way to turn them on. Even setting in log4j.xml to debug does not lead to any messages. What can I do?"

In Java Today,

Mark Reinhold writes: "The aging source-code management (SCM) system we've been using for the JDK all these years is unsuitable for open development. To which newer system should we migrate as we open-source the code?" In Source-code management for an open JDK he looks at the history of SCM for JDK development, the requirements for such a system, and reveals that the team is currently leaning towards using Mercurial.

The 259th issue of the NetBeans Newsletter is out, highighted by an announcement of the Governance Board election results: David Strupl and Rich Unger have been re-elected for another year, while Charlie Hunt will stay on as the Sun-appointed member. The newsletter also covers what's new in NetBeans 6.0 Milestone 3, seeks input for editor features, links to new NetBeans tutorials, and more.

The Intelligent Tester project is focusing on optimized test case generation intelligently by means of Intelligent Agents, pieces of software that are designed to make computing and other tasks easier by assisting and acting on behalf of the user. "The user can interact with the agent through the user interface while the agent can sense and act according to the condition of the external environment."

In today's
News Headlines

Registered users can submit news items for the href=""> News Page using our
news submission
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href=""> News RSS

Current and upcoming Java

Registered users can submit event listings for the href=""> Events Page using our href="">events submission form.
All submissions go through an editorial review before being posted to the

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 it will be
archived along with other past issues in the href=""> Archive.

Take a look at Java2D and SwingX visuals