Skip to main content

Romain Guy

Romain is a French student currently working as an intern with the Swing Team at Sun Microsystems. His numerous other works include being a journalist for computing magazines and translating books for O'Reilly France. He has been using Java for many years and now puts as much time and efforts he can in UI design and Java for the desktop programming.


gfx's blog

Synth Week, File Chooser

Posted by gfx on September 23, 2005 at 10:59 PM PDT

When you bring up a Swing file chooser in Tiger with the Synth look and feel you get a perfectly blank window. Styling JFileChooser requires bindings for scrollbars, tables, buttons, combo box, buttons, text fields and labels. Needless to say it's a rather difficult task. Despite your efforts you won't unfortunately be able to fully style it.

Synth Week, Components Orientation Support

Posted by gfx on September 23, 2005 at 12:32 AM PDT

Many Swing components can be oriented according to your needs. Scrollbars are among the most common oriented components. Despite some support in Synth for oriented components, it is far from being exhaustive in Tiger.

Synth Week, Custom Lines Style

Posted by gfx on September 21, 2005 at 11:41 PM PDT

Every Swing look and feel relies on properties to customize the rendering. One of these properties allows you, With BasicLookAndFeel and therefore Metal and Ocean, to change JTree's lines style from solid to dashed:

Synth Week, Load Themes From Anywhere

Posted by gfx on September 21, 2005 at 3:10 AM PDT

Chase Away Those Fierce Nightmares

In Tiger and early Mustang builds, Synth falls short providing a versatile, efficient and easy to use way to load a theme. Only one method is offered to load a Synth theme, the mischievous SynthLookAndFeel.load(). Albeit easy to use, this method suffers from critical limitations.

Synth Week, Bonus Day

Posted by gfx on September 16, 2005 at 3:15 PM PDT

Painters Aggregation

Synth lets you define a painter for each region of a component. A painter can be used, for instance, to draw a button's border or a tabbed pane's tabs. Here is a short example:

JRE/JDK download size?

Posted by gfx on September 13, 2005 at 7:39 PM PDT

Every now and then we see a new blog/thread/article about JRE/JDK download size. Well, I just downloaded .NET 2.0 beta 2 and here are the file sizes:

  • Runtime: 23 MB installer
  • SDK: 324 MB installer (!)

Amusingly you need to install the runtime to install the SDK. That is a 347 MB installer to have a command line based framework plus its documentation.

Zoom Pictures with SwingLabs FX

Posted by gfx on September 3, 2005 at 1:25 AM PDT

Zoomable Image Panel

I read many Java forums and answer to a lot of questions about Java and Swing people send me by email. During the past few years, I've often seen users asking how to create a component which would let you display an image but also zoom in and out.

Synth Studio

Posted by gfx on September 1, 2005 at 2:47 AM PDT

Synth Studio EA1

Synth Studio Early Access 1 is a package of three very simple tools I wrote to help me port existing look and feels to Synth.

Kickin', rockin', jammin' FX for Swing

Posted by gfx on August 25, 2005 at 4:42 PM PDT

Special Effects?

SwingX, one of the SwingLabs projects, offers a very interesting set of components sitting on top of Swing. Just before JavaOne, Richard Bair and I came up with a new Swing border you can use to cast shadows around your components.

Is an Open Source effort transferable?

Posted by gfx on August 12, 2005 at 2:34 PM PDT

In my previous entry I talked about Wicket, a cool Java web framework (I can't stress that enough it seems :). As I was writing my praises I was almost certain someone would raise the old and annoying subject of duplicate effort.