deviceDisplay.setMode123Image(new PositionedImage(loadImage(classLoader, base, tmp_display .getStringAttribute("src")), getRectangle(tmp_display.getChild("paintable")))); } else if (tmp_display.getStringAttribute("type").equals("abc")) { deviceDisplay.setModeAbcLowerImage(new PositionedImage(loadImage(classLoader, base, tmp_display .getStringAttribute("src")), getRectangle(tmp_display.getChild("paintable")))); } else if (tmp_display.getStringAttribute("type").equals("ABC")) { deviceDisplay.setModeAbcUpperImage(new PositionedImage(loadImage(classLoader, base, tmp_display .getStringAttribute("src")), getRectangle(tmp_display.getChild("paintable")))); if (tmp_status.getName().equals("img")) { if (tmp_status.getStringAttribute("name").equals("123")) { deviceDisplay.setMode123Image(new PositionedImage(loadImage(classLoader, base, tmp_status.getStringAttribute("src")), paintable)); } else if (tmp_status.getStringAttribute("name").equals("abc")) { deviceDisplay.setModeAbcLowerImage(new PositionedImage(loadImage(classLoader, base, tmp_status.getStringAttribute("src")), paintable)); } else if (tmp_status.getStringAttribute("name").equals("ABC")) { deviceDisplay.setModeAbcUpperImage(new PositionedImage(loadImage(classLoader, base, tmp_status.getStringAttribute("src")), paintable));