Archive for September, 2006

Java SE 6 anti-hack feature

I just installed a fresh weekly of the JDK 6 (b100) and I discovered something unusual. While compiling a demo, here is the message I got:
C:\Documents and Settings\gfx\Desktop\mailman2\mailman\src\com\sun\javaone\mailman\ui\MessagePane.java:133: warning: com.sun.java.swing.plaf.windows.WindowsLookAndFeel is Sun proprietary API and may be removed in a future release
It seems that Sun is really trying to tell us not to rely on [...]


Java2D Gradients Performance

I have done some quick performance testing with Java2D gradients and exposed my results on java.net. I also explain the three ways you can paint gradients: regular GradientPaint, buffer image and stretched buffer image. Read the comments for very interesting follow-ups by other java.net members. One of them describes a fourth way of painting gradients, [...]


China, Datong and the Yungang caves

Fellows


Audio track for Filthy Rich Clients presentation

I recently uploaded the slides of my presentation called Filthy Rich Clients but the audio was missing to fully understand all of them. Fortunately, JavaZone has set up a podcast with the audio track for every session. If you read my presentation and think you missed something, just download the audio track (MP3). There was [...]


China, Beijing and its zoo, the Great Wall

Great Wall


JavaDay 2006 (bonus: a video of Aerith you can watch)

developpez.com, a french web site, just released the videos of JavaDay 2006, an event organized by Sun France that took place in Paris. There are many interesting videos available, among which 4 of mine.
The first one shows Aerith. It's a DivX file so everyone should be able to finally see Aerith animations and music live [...]


New Blendings Modes for Java2D

Java2D contains one of my favorite Java SE classes, java.awt.AlphaComposite. You can set an alpha composite on a Graphics2D context to blend a draw primitive with the current graphics. I have written a small tool that helps you understand how these composites work:

You can also download the source of this tool.
AlphaComposite is very useful, and [...]


Disco, Hype or Reality?

It's been a while since I've talked about a Mac OS X application in this blog. For the past few weeks, I have followed with interest the hype surrounding Disco. One of this authors has also an interesting blog where he gives clues about the application but also about icon design. Incidentally, those guys also [...]


Filthy Rich Clients presentation slides (JavaZone 2006)

I gave a presentation entitled Filthy Rich Clients this morning at JavaZone 2006. This presentation explains how to create good looking Swing applications by using Java2D, animations and 3D. It also contains some performance tips. You can download or view the presentation in one of the following formats:

Apple Keynote
PDF
HTML/Flash
Microsoft PowerPoint

The demos source code can be [...]


JavaPolis guys rock!

JavaPolis is an excellent Belgian Java conference. Even better, the organizers have a wonderful sense of humor. I can only encourage you to watch this year's video advertisement. Beware, it's not for the faint of heart! Oh, and digg it!


JavaZone 2006

It's great :)


What do you want to know about Swing and Java2D?

It's 5am here and I somehow can't get myself to sleep. Besides it's been a long time since I showed some cool demos on this blog, so I have one question for you:
Is there anything you would like to know about Swing and Java2D?
Maybe you would like to understand a particular behavior or API in [...]


Chet is Back!

Chet Haase is a Sun Microsystems Java engineer, but mostly a jester. He tells jokes. Good ones. All the time. Anyway, he finally opened a non-tech blog where you can read his (good) non-tech writings. You won’t regret it!


Sun Tech Days à Paris au printemps prochain

Il y aura bien des Sun Tech Days à Paris en 2007. Ce sera donc l'occasion d'apprendre plein de choses sur NetBeans, Java SE, Java ME, Java EE et Solaris. J'ai un petit faible pour les Tech Days qui furent ma première conférence, en tant que journaliste à l'époque. J'avais également rencontré Alexis pour la [...]


Lightzone, a fantastic Java app for photographers

You should know by now that I like photography. In fact, I spend a lot of time processing RAW files. It took me a while to finally find the tools I was the most confident with and I settled with Adobe Camera Raw and iView Media Pro. Nevertheless, I still try other tools from time [...]


China, Forbidden City in Beijing

Glass wall


China, Suzhou

Colors


China, third batch of pictures

Maze


Swing mashups made easier

Richard Bair just unveiled some cool new classes to help you access REST web services. Those classes are a Java port of the well known XmlHttpRequest JavaScript object. They also bring support of JSON. By combining these new API with the SwingWorker and the BackgroundWorker you can ease off your pain very quickly. Besides, with [...]


China, second batch of pictures

Chess