Chet Haase, friend, co-author and former colleague of mine, just published his new book, When I am King.

If you know Chet or if you’ve seen him speak in public you may know about his bad habit of cracking jokes all the time. I’ll even dare say he’s a funny guy. When I am King is a collection of the jokes, puns and funny stories Chet posts regularly on his blog. I found it to be a very enjoyable book that you can read little by little and I promise you’ll get a least a few smiles out of it (check out the copyright legal blurb at the beginning for instance.)

When I am King

Chet and I will be at Devoxx together to give yet another Filthy Rich Clients talk. If you plan n going to our session and if you get lucky, I might convince Chet to replace his boring part of the talk about Flex by a standup comedy show.

New Book, “When I am King”

Thanks to the hard work of Kouichi Matsuda, Filthy Rich Clients is now available in Japanese. Now I wish I didn’t drop out of my Japanese class after only one year :)

Filthy Rich Clients in Japanese

I would like to apologize to the loyal readers of this blog for the lack of updates since last december. Android is a fascinating project which keeps me very busy at work and I would probably need to clone myself a few times to implement all the features I would like to see in it. I’ve also spent quite some time settling in my new life in California and this blog was the unfortunate victim of those time-consuming tasks. I do not despair coming back to my writings very soon. I can at least tell you that Filthy Rich Clients will be back this year at JavaOne, maybe with a surprise :)


Geertjan Wielenga just published his review of Filthy Rich Clients.

Another Filthy Rich Clients Review

Chet finally released his AnimatedTransition library. This library is discussed in details in Chapter 18 of our book. Given its name, I won’t insult you by explaining what this library does :)

Animated Transitions Made Easy

Some of you asked for an eBook version of Filthy Rich Clients and so far the only way to download a PDF of our book was to subscribe to Safari. You can now buy the PDF only on informIT, without any subscription. Enjoy!

eBook for Filthy Rich Clients

Geertjan sent us a great plugin for NetBeans 6. When installed, this plugin lets you open any of the examples from our book directly into NetBeans. Just click on the File > New Project... menu item, select your demo, and you’re done!

Alpha Window

To add this feature to NetBeans, you first need to download the plugin and the install it manually from the Tools > Plugins > Downloaded screen.

Last but not least, Geertjan is showing on JavaLobby how to use Filthy Rich Clients techniques in NetBeans. If your application is built on top of the NetBeans Platform, you might want to read these articles: Part 1, Part 2 and Part 3.

Filthy Rich Clients Demos as NetBeans Plugin

Geertjan recently asked Chet and I to choose a few of our Filthy Rich Demos to be included in the NetBeans Sample Catalog. Geertjan also started working on a new NetBeans module that lets you create a New Project template from one or more samples. This module can now be used to add all of the demos in the New Project wizard at once.

Also note that Geertjan will soon provide us with a NetBeans module containing all of our demos. That way, you will be able to have them opened in NetBeans by just adding a module to the IDE.

Filthy Rich Samples in NetBeans

InfoQ just published a review of Filthy Rich Clients. This review contains a link to chapter 14 of the book, Timing Framework Fundamentals. Enjoy!

Another Free Chapter

If you’re still not sure whether you should buy a copy of Filthy Rich Clients, take a look at our first review by Gregg Bolinger. Thanks Gregg!

First review for Filthy Rich Clients

InformIT is hosting a free sample chapter of Filthy Rich Clients, the book Chet Haase and I recently published. InformIT offers the full chapter 8 about image processing with Java 2D. Chapter 8 belongs to Part II of the book, advanced graphics rendering.

Refer to filthyrichclients.org to download the source code of the examples.

Free Sample Chapter for Filthy Rich Clients

Filthy Rich Clients is available and several readers already received their copy. To make sure you can follow all of our examples easily, Chet and I just released the demos of the final chapters: Static Effects, Dynamic Effects and Animated Transitions.

These chapters’ demos are our favorites so make sure to check them out!

The official web site and the java.net project page now host a total of 82 demos, all available under the BSD license. We hope you will enjoy those demos as much as you will enjoy the book.

82 Swing and Java 2D Demos

By the way, the source code of the demos from chapters 14 and 15 of the book Filthy Rich Clients are available. These chapters cover the Timing Framework in depth.

Demos for Chapters 14 and 15

I just received my copy of Filthy Rich Clients, the book I wrote with Chet Haase. You will probably be happy to know that you will soon stop hearing about it on this blog :)

Filthy Rich Clients

The Book is Here!

I blogged a while ago about Artemis. This simple tool uses a blurry background to draw user’s attention onto a modal progress bar. Artemis is a good example of how you can use a blurry background. It emphasizes the importance of the modal dialog which doesn’t require any context.

You can watch a video of Artemis in action. Note that I did not take the time to polish the UI. Therefore, the blurry background does not appear progressively but instantly (and the indeterminate progress bar clearly needs some work.)


The full source code of Artemis is part of chapter 16 of Filthy Rich Clients. It will be released at the same time as the book will be available in book stores.

Putting Blurry Background to Good Use

This week, Chet and I released the source code, demos and examples for chapters 12 and 13 of our upcoming book, Filthy Rich Clients. These chapters explain how to create simple animation with Java SE’s APIs and how to avoid some common rendering artifacts.

Next week, we will release demos for chapters 14 and 15 which present the Timing Framework, one of the most valuable tools to create animated effects for Swing and Java 2D.

Demos of the Week, It’s All About Animations

The source code, demos and examples for the chapter 11 of Filthy Rich Clients are available online. This chapter presents the repaint manager.

Chapter 11 presents two demos, TranslucentPanel and ReflectionPanel The first one is an exercise for the reader showing why and when the user of a RepaintManager is necessary. The second one presents a component that can render real-time reflections of its children. The demo requires QuickTime for Java to add a reflection effect to a QuickTime movie streamed from the web. When QuickTime is not available, the demo reverts to regular Swing components.

Update: The final PDF of the book is available for purchase online \o/

Both screenshots below show what the demo looks like. As you can see, the reflection panel can be used with any component you fancy. All you have to do is add() your component inside the panel and you’re done.

Real-time reflection on a movie

Real-time reflection on Swing components

Repaint Manager Demos (Chapter 11)

The source code, demos and examples for the chapter 10 of Filthy Rich Clients are available online. This chapter presents layered panes.

The next batch of demos, focusing on Repaint Manager, will contain my favorite demo, a real-time reflection applied on a QuickTime movie.

Demos for Layered Panes

Our editor told us a couple of days ago that our book has been sent to the printers. Printing should be over in about a month so you can expect the book to hit the shelves early/mid-August.

I’ll post more demos on the book’s web site on Monday :)

Book Sent To Print

The source code, demos and examples for the chapters 8 and 9 of Filthy Rich Clients are available online. These chapter present image processing and glass panes.

Demos for Chapter 8 and 9 available

The source code, demos and examples for the 7th chapter of Filthy Rich Clients are available online. This chapter presents Java 2D gradients, including the new gradients included in Java SE 6. Some performance tricks are also covered.

Note: FTP fixed, you can download the zip files.

Update: The web site has now been tested, fixed and tested again with Internet Explorer 6. You should now be able to view the web site in good conditions.

Demos for Chapter on Gradients Available

Chet just uploaded www.filthyrichclients.org, the web site I designed for our upcoming book, Filthy Rich Clients.

Filthy Rich Clients Web Site

We will try to make the demos and their source code available on this web site as zip archives. For the time being, the web site offers a link to the project page where you can find the CVS repository. This web site is still very much a work in progress and has been tested only with a few web browsers so please forgive me would you encounter any problem.

Update: The web site has now been tested, fixed and tested again with Internet Explorer 6. You should now be able to view the web site in good conditions.

New Web Site

The source code for the demos of chapters 5 (Performance) and 6 (Composites) from our book is available in the CVS repository.

Demos for Chapters on Performance and Composites

I just uploaded the source code for the demos of the fourth chapter of our book. The source code of the demos are available in the CVS repository. Chapter 4 focuses on images and contains explanations on how to resize images efficiently.

Source Code and Demos for Chapter 4 (Images)