Flying Saucer is an XHTML renderer written in Java. It's 100% Java, not a native wrapper, and it only handles well-formed XHTML + CSS. It is intended for embedding web-based user interfaces into Java applications (ex. web photo album generator, help viewer, iTunes Music Store clone). It cannot be used as a general purpose web browser since it does not support the malformed legacy HTML found on the web, though recent work on compatibility libraries may be enough to do what you need. You may be able to work with legacy HTML (e.g. HTML that is not well-formed XML) by using a pre-processor that cleans it up; there are several of these, including JTidy and TagSoup.
Overview
Vexi is a platform for creating and publishing Graphical User Interfaces that can be used over the Internet or an intranet. It features a very simple and powerful syntax based on xml and javascript, a set of complete, extensible, themable widgets, and a sandbox-like security model to protect users.
Why Vexi?
Vexi is designed to overcome the flaws of other Internet application platform implementations.
Vexi applications are written in a combination of XML and JavaScript. The XML layout makes UI structure simple to understand, and the JavaScript provides a powerful way of manipulating a UI to make it dynamic. Do not confuse JavaScript with the HTML DOM - the latter gives JavaScript a bad name because of it’s over complicated nature. JavaScript is very easy to understand and work with. And whilst XML is a far reaching standard, the context in which it is put into practise with Vexi makes it very easy to understand and work with.
The Beryl XML GUI library was written to ease the development of graphical user interfaces using Swing on Java. It lets you store user interfaces as XML markup. This will help you avoid unnecessary clutter in your source - Swing code mixed with application logic can become a troublesome and hard to read mess as the application size increases. The library comes with a visual component builder, which makes development a breeze. The most important features are: