}
File outputFile = new File(resource.toURI());
guiHandler.uninstallDevice(null);
PopupListener popupListener = new PopupListener();
XmldeviceDocument deviceDocument =
XmldeviceDocument.Factory.parse(outputFile);
Xmldevice device = deviceDocument.getXmldevice();
guiHandler.installDevice(device.getManufacturer(), device.getName());
FrameWrapper library = guiHandler.openLibrary();
try {
Xmldriver[] xmldriverArray = device.getXmldrivers().getXmldriverArray();