/** * Returns an SLabel representing the visual representation of the Transferable transferable * Note: (calls SIcon getVisualRepresentation(Transferable)) * @param transferable * @return */ public SLabel getVisualRepresentationLabel(Transferable transferable) { SIcon icon = getVisualRepresentation(transferable); if(icon == null) return null; if(label == null) label = new SLabel(); label.setIcon(icon); return label; }