Lightning Strikes Not Once But Twice
A double dose of Brazilian Java
Seriously, I didn't set out to do a "stuff from Brazil" theme in the Projects and Communities section today. Roger Brinkley had noted the new project for a Brazilian Portugese localization of the JDK as a possible front page item, and while I was digging for other items for the page, I came across the contest results on the NetBeans.org page and liked the story, mostly because of the idea of the clever plugin to bind mouse gestures to actions. That's an interesting form of human-computer interaction I hadn't thought about since the last time I deleted text on a Newton with a "zorro slash", although now that I think about it, there's also a new video game called Okami, in which you use your controller like a calligraphy brush to draw figures and achieve various magical effects. At any rate, the idea of greater use of gestures appeals to me -- I'd love to, say, save off text or URL not with a careful highlight-and-right-click-menu-item but maybe by just circling the target text with my mouse.
Anyways, it was only when I'd put both items into CS that I realized they were both Brazilian in nature. I think that's pretty cool because instead of laboring to contrive some sort of "Brazil Day" theme, it means there's so much Java development and innovation happening there that the two items I picked for the page would just happen to be from in Brazil. Obviously, that speaks volumes about just how hot the Java is in that country.
Elaborating on these Brazilian items in Projects and
Roger Brinkley and Bruno Souza have announced the Brazilian Community Translation of the Java API Specification. The project, in the works for a year, will tanslate the JDK 5 APIs and Guides into Brazilian Portuguese. "It is believed that by translating this specification we will remove a barrier to entry for new software developers in Brazil, thus growing the Java Community."
The winners of "Desafio NetBeans" -- "NetBeans Challenge" in Portugese -- were announced at NetBeans Day Sao Paulo. First place in this plugin-writing contest went to Wagner Bastos' RSI Prevention Module, and second place to Mouse Gestures Module, a team effort that allows invocation of an action by a specific mouse gesture, such as drawing a shape while right-clicking.
In today's Forums,
golovnin has some AWT advice in
Re: Relation between java.awt.Toolkit and java.awt.GraphicsConfiguration:
"Try to set the system property 'awt.toolkit' to the name of your class, e.g.: java -Dawt.toolkit=MyToolkit MySwingApplication The method java.awt.Toolkit#getDefaultToolkit() will create and return an instance of your class. You class must have a public no-arg constructor. Hope this helps."
Will JFileChooser ever get fixed on Windows?
"I'm getting a LOT of pressure at work to write my own JNI code to access the native Windows file dialogs because the Swing implementation is so poor. Our customers complain, other developer's complain, our sales people complain.. etc.. So now I'm complaining here. There are several open bugs for this... and they are all old. Some have been closed without being resolved, but many are still open. I appreciate some of the performance improvements I've seen recently with Mustang... they help a bit.. but there is so much more to do."
For everyone who's ever blocked forever on network problems or server problem in RMI, Neil O'Toole has a solution in today's Weblogs. In
RMI Interruptus! - Interrupting RMI method calls, he asks:
"Ever wanted to interrupt an RMI call that's taking too long? The user clicks the 'Cancel' button, but your RMI thread is blocked in IO, and you want that thread back! Unfortunately there's nothing you can do (until now that is!). "
Confessions of a noob..., java.net intern Sonya Barry asks (and answers) the question
"What am I doing here anyway?"
Konstantin I. Boudnik wants to know what's up in the micro space in
Smaller Java, but bigger market?:
"The post on recent CTIA event: why didn't we see a lot of Java producers presented? I'm kinda wondering what is the message JavaME community will be getting by this de-marsh?"
In Also in
Beginning and intermediate developers may have heard of object pooling (keeping reusable objects around in a "pool" instead of frequently creating and destroying objects) without having had an opportunity to put the concept to work. It's critically important in database work, given the expense of creating and destroying database connections, and Kunal Jaggi walks through an application of the idea in Database Connection Pooling with Tomcat, in which he shows how to use JNDI to allow your components to find and use the pool.
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
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
Current and upcoming Java
- April 24-27, 2006 - MySQL Users Conference 2006
- April 25-28, 2006 - Enterprise Java Architecture Workshop Toronto
- April 28-30, 2006 - Northern Virginia Software Symposium
- May 3-4, 2006 - Sun Tech Days - Johannesburg
- May 7-9, 2006 - Rocky Mountain Software Symposium: Spring Edition
- May 8-10, 2006 - Eclipse Forum Europe 2006
- May 8-12, 2006 - Enterprise Architektur Konferenz
- May 8-12, 2006 - JAX 2006 - Konferenz f