Archive for June, 2005

Swing Hacks is available

I just saw the book on the shelves at JavaOne this morning, before entering the opening keynote. Go and grab your copy :)


NetBeans Day and then… JavaOne

After a few weeks of hard work we are finally ready for JavaOne. Tomorrow will be my last prep for the talks and demos. I hope to see some of you on Sunday for NetBeans Day. We'll discover what lies ahead for NetBeans 4.2 and I can only tell you that I've been really impressed [...]


Getting ready for JavaOne '05

It's been almost two weeks since my last post here but I have an excellent reason: we've been very, very busy (and we still are) for JavaOne '05. I would like to show you what we have been up to but I don't want to waste the surprise during the show. I can only say [...]


Jewel Case with Java2D

You can run the WebStart demo. Using the reflection effect presented in Swing Glint and a few pictures you can easily create a realistic looking CD jewel case: You can also drag and drop any picture onto the application to render the jewel case with it. I suggest you to grab any CD cover you [...]


StackLayout

The more demos I write, the more effects I'd like to reuse for other demos. In some cases I'd like to reuse only a part of an effect. In the application I'm writing, I wanted to use the animated curves from Help Your Shelf. In this demo, there is a CurvePanel extending GradientPanel. My first [...]


Swing Glint

It's been almost a week since the last trick and it's high time I presented you something new. Our beloved 2D user interfaces are great but make it difficult, sometimes, to given an impression of depth. Obviously it would be much easier to use a 3D API like JOGL or Java3D but Java2D can do [...]


Translucent Menus

J2SE up to version 1.5 doesn't allow you to easily create translucent menus as in the screenshot below. At first you might think that calling menu.getPopupMenu().setOpaque(false) would be enough. Wrong. When you click onto a menu, the popup does not appear directly on screen. It is first put in a container. This container is a [...]