a java and XML based GUI example