The Widget Jones Library is a lightweight, flexible, template-driven widget build system. It is intended to simplify creating portable widgets. Write your code once, build it with WJL, then run it on several widget platforms like Apple Dashboard, Windows Vista Sidebar, iGoogle, and more.
Maven Archetypes helps to generate an initial Java project layout. It is not required to have Maven 2 preinstalled; instead, it uses JLaunchPad (as part of the installation). Software required by Maven and the Maven Archetypes Plugin will be downloaded and installed automatically. All you need to do is to specify the location of Java and the location of the Maven repository, as well as proxy parameters if behind a firewall.