tags:

views:

65

answers:

3

Is it possible to create a user interface with java and eclipse using a xml file?

As in android

Thx

A: 

SwiXml looks like what you need.

tulskiy
A: 

Google Web Toolkit will support XML layout from version 2.0 onwards.

Quick Example

This is a web front end however and not swing.

DeliveryNinja
A: 

Here's a 2006 article about a few options including SwiXml, which produced one of the few decent results in a 2004 GUI building challenge. There doesn't seem to be many new entries in the field--perhaps people all moved to Web 2.0--except the very promising Apache Pivot with WTKX.

I think as with any non-trivial project, you have to examine the alternatives based on your very specific requirements. I investigated all those options in early 2007 for a company project, but we ended up rolling our own (except using the CSS parser from JAXX) because none completely satisfied our needs.

Geoffrey Zheng