Building GUIs in Eclipse

Friday, December 9, 2005 - 11:05 by Wayne Beaton

Jeff and I got a lot of questions during the webinar we did last week, but we were only able to answer a few of them in the time we had available. The good people at BZ Media were nice enough to send me a file with all the questions. I’ve been spending a good chunk of my time trying to provide answers for all of them. And… I thought I’d share some of them.

One listener asked

Does Eclipse have a GUI builder that:

  • Actually works and is good enough for everyday development,
  • Is platform-independent, and
  • Is open-source.

I’d like to build GUIs with SWT and JFace.

The answer is yes. There are actually many choices of GUI builders for Eclipse.

To start, there is the Visual Editor Project which you can incorporate into Eclipse using the update manager. The Visual Editor is quite good and I have used it for what I consider “everyday development”. It lets you build SWT and JFace components and it also does Swing and AWT. It provides reasonably good window building technology and you can’t beat the price.

There are other options as well (though some do go against the “open source” criterion). You might consider Jigloo which is free for non-commercial use or WindowBuilder which is a full-featured commercial product that now includes a handy perspective builder.

There may be others. There are a few sites that provide plug-in catalogues that can point you in the right direction…