Swing Utils

I've been doing a lot of Swing lately (don't laugh, it's still a big deal). There one or two basic things that are missing, so I've knocked together some lightweight implementations with no licensing.

  • FormLayout lays out components in the same fashion as a web-form.
  • FormPanel is a panel that lays out its contents like a web-form.
  • ProgressPanel is a panel version of ProgressMonitor, so you can embed it somewhere else.
  • WizardPanel is a basic version of a wizard that allows you to add multiple pages and deals with navigation.

They're usable but a bit primitive. For example, you can't change the order of pages in the wizard, and the form layout doesn't do any wrapping components. The class ExampleWizardPanel showcases them. You may wish to consider JGoodies FormLayout in preference to this.

The code is on Github.

Share this