Posted by editor
on March 21, 2007 at 6:56 AM PDT
The day after JavaOne slides were due... also:
Java Today: jxta.org hosts code search tool, assessing the IDE's, and SDN stays "Steal Our Code"
Weblogs: @ConstructorProperties annotation, JRuby and NetBeans, and testing free software
Forums: Messing with Graphics, adding Images to containers, and adding images to video
The day after JavaOne slides were due
OK, if you know someone who's presenting at JavaOne, be nice to them today. Last night was the deadline for submitting slides for tech sessions, a deadline that was less than three weeks after the final batch of acceptances went out. Depending on the state of your original proposal, three weeks is either plenty of time (if you're doing a suitcase talk you've done a hundred times before and only need to tweak things to time or to use Sun's presentation template), or not nearly enough (if you had a neat idea for a session based on an idea that you thought kind of might work, maybe, and you now have to write the code, get it working, and pull together the presentation). From what I can tell from friends on IM who are speaking, a lot of people spent the weekend and the first part of this week cranking on their presentations, including Hans and Josh , Chet and Romain , and two (1 , 2 ) from Daniel.
Slides are optional for birds-of-a-feather sessions. I did a set of 52 for mine, which I plan to whip through in about 25 minutes, leaving the rest of the time for discussion. Yes, I think I can get through that many slides in that kind of time, since I have a couple of those "dramatic reveal" cliché sequences where you add items to a list or graphic, one slide after another. Those go by pretty fast. Someday, I'd like to do a presentation where the slides are like one or two words each, and serve only to underscore what the speaker's saying. But that would require a lot of, oh what's it called again? "Rehearsal". Right. Which goes against my usual habit, for shows other than JavaOne, of writing my slides the morning of the presentation or, even more worse, during someone else's presentation.
Anyways, 47 days until JavaOne... funny, that means we have more time to sit on our presentations than we had to put them together.
In Java Today ,
the jxta.org site now offers a wide-ranging code search tool , powered by Krugle . To use it, go to jxta.org and click the "openCollabNet" tab, then look for the "Find Code" box on the right. The feature allows you to search for keywords in various Collabnet-administered Open Source sites, including java.net and netbeans.org.
Walking right into the fray of everyone's favorite holy war, DevX author tries to take an even handed look at the major Java IDE's in Eclipse, NetBeans, and IntelliJ: Assessing the Survivors of the Java IDE Wars . "It reviews the three major Java IDEs--NetBeans, IntelliJ IDEA, and Eclipse--from the viewpoint of basic, common features (installation, performance, editor, etc.), but it really focuses more on their strengths in four common areas of development: Swing, JSP/Struts, JavaServer Faces (JSF), and J2EE/EJB 3.0. Wherever possible, it also evaluates JPA (Java Persistence API) support, instead of hard-coded JDBC queries or particular libraries (such as Hibernate or Oracle TopLink)."
SergeyÂ Malenkov offers a tutorial on How to use the @ConstructorProperties annotation in today's Weblogs . "The @ConstructorProperties annotation for constructors was introduced in JDK version 6. This annotation shows how the parameters of annotated constructor correspond to object's properties."
Re: A dozen tips for testing free software , DavidÂ Herron writes:
"A dozen tips for testing free software is an interesting article about OSS quality. I want to compare this with some ideas we in the OpenJDK Quality Team have for quality of the OpenJDK and commercial JDK releases."
Finally, DavidÂ Rupp combines
JRuby and NetBeans . "Two great tastes? Or one sticky mess?"
Romain Guy continues an active SwingX discussion today's Forums , by pointing out where some Swing guidelines are seldom practiced. In Re: painter final review , he writes: "However, making permanent changes to a Graphics remains useful. Painters should document any permanent change they do but you really are trying to find problems where there's none. Developers have been able to modify the Graphics in paintComponent() since Swing was born and it indeed enabled them to create some specific visual effects. Every single component in Swing breaks the "rule" anyway: how often do you call setColor() without restoring the color that was set at the beginning of your paint method?"
Hinkmond Wong shows where a GUI has gone off the rails in
Re: java.awt.Conteiner 's validate method not working with NULL layout . "It's hard to comment specifically on your problem without seeing your Java source code of your application. In general, the tricky part about using images in Java is that you should be using a Canvas object to paint() the image, then add that Canvas object to a Container, like a Frame. You do not really want to "add images to [a Container object]" as you say in #1. If you do you will have painting problems like in your #2 & #3."
could use some media help in
need some initial help with merging pics to a video
"Hey, I want to develop a little program, which captures the screen and saves that as a movie (for example .mov). It will be used to record some automatic test cases. After searching the web, I came to the conclusion, that Image IO could be a solution to get it working. But I can't find a good piece of example code, which shows me how to merge the single screenshots to a video file."
Current and upcoming Java
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
Archives and Subscriptions: This blog is delivered weekdays as
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
The day after JavaOne slides were due