public void decorate(JLabel label, TreeNodeData data) {
   if (data.getType().equals(NodeDataType.SCENE_NAME)) {
     String name = (String) data.getData();
     label.setText(name);
     ImageIcon icon = (ImageIcon) label.getIcon();
     BufferedImage bufferedImage =
         new BufferedImage(IMAGEICON_WIDTH, IMAGEICON_HEIGHT, BufferedImage.TYPE_INT_ARGB);
     Graphics graphics = bufferedImage.getGraphics();
     graphics.drawImage(InternalImageIconFactory.SCENE.getImage(), 0, 0, label);
     icon.setImage(bufferedImage);
   }
 }
 @Override
 public void decorate(JLabel label, TreeNodeData data) {
   if (data.getType().equals(NodeDataType.WORKSPACE)) {
     Workspace workspace = (Workspace) data.getData();
     ImageIcon icon = (ImageIcon) label.getIcon();
     BufferedImage bufferedImage =
         new BufferedImage(IMAGEICON_WIDTH, IMAGEICON_HEIGHT, BufferedImage.TYPE_INT_ARGB);
     Graphics graphics = bufferedImage.getGraphics();
     graphics.drawImage(InternalImageIconFactory.WORKSPACE.getImage(), 0, 0, label);
     if ("UntitledWorkspace".equalsIgnoreCase(workspace.getCaption())) {
       label.setText(ControlsProperties.getString(ControlsProperties.WorkspaceNodeDefaultName));
     } else {
       label.setText(workspace.getCaption());
     }
     icon.setImage(bufferedImage);
   }
 }