There is a new scripting language in development called F3 from Sun, specifically designed for GUI programming. It allows designing Flash-like GUIs with ease and can call Java libraries directly. You can launch demos and get more information from the related blog.