}
public void setDrawer(Drawer drawer) {
frameMap.getContentPane().add(drawer);
Renderer renderer = (Renderer) drawer;
desktopPane.setBackground(renderer.getBackgroundColor());
frameMap.getContentPane().setBackground(renderer.backgroundColor);
setMapTitle(drawer.getCurrEnv().getPojo().getName());
}