* @param confDoc
* @return
*/
public boolean readConfig(XmlObject configDoc) {
// Create an instance of a type generated from schema to hold the XML.
ConfigurationDocument confDoc = (ConfigurationDocument)configDoc;
ConfigurationDocument.Configuration config;
if (confDoc != null && (config = confDoc.getConfiguration()) != null) {
// MAC, WIN, Linux and XPlatform LookAndFeel
String lafConf = config.getGui().getWindow().getLookAndFeel();
setLookAndFeel(lafConf);
setWindowX(config.getGui().getWindow().getX());