new String(nodes[0].getAsset().getName())
new String(nodes[0].getName())
	private DeleteDialog(MatrixTreeNode[] nodes) {		this.nodes = nodes;		JPanel contentPane = new JPanel(new BorderLayout());		setContentPane(contentPane);		Border border = new EmptyBorder(1, 1, 1, 1);		contentPane.setBorder(border);		JPanel midPanel = new JPanel();		midPanel.setBackground(MatrixLookAndFeel.PANEL_COLOUR);		JLabel label;		// MM: what if nodes.length == 0 ? or nodes == null ?		if (nodes.length == 1) {			Object[] transArgs = {				new String(nodes[0].getAsset().getName())			};			label = new JLabel(Matrix.translate("asset_map_confirm_move_child", transArgs));		} else {			Object[] transArgs = {				new Integer(nodes.length)			};			label = new JLabel(Matrix.translate("asset_map_confirm_move_children", transArgs));		}		label.setFont(PLAIN_FONT_10);		midPanel.add(label);		contentPane.add(getTopPanel(Matrix.translate("asset_map_dialog_delete")), BorderLayout.NORTH);		contentPane.add(midPanel, BorderLayout.CENTER);		enableDrag(contentPane);		JPanel bottomPanel = new JPanel();		final JLabel deleteButton = new JLabel();		deleteButton.setIcon(GUIUtilities.getAssetMapIcon("ok.png"));		// mouse events		deleteButton.addMouseListener(new MouseAdapter(){			public void mouseClicked(MouseEvent e){				setCursor(new Cursor(Cursor.DEFAULT_CURSOR));				delete();				dispose();			}			public void mouseExited(MouseEvent e) {				deleteButton.setIcon(GUIUtilities.getAssetMapIcon("ok.png"));				setCursor(new Cursor(Cursor.DEFAULT_CURSOR));			}			public void mouseEntered(MouseEvent e) {				deleteButton.setIcon(GUIUtilities.getAssetMapIcon("ok_on.png"));				setCursor(new Cursor(Cursor.HAND_CURSOR));			}		});		deleteButton.setOpaque(false);		bottomPanel.add(deleteButton);		JLabel cancelButton = new JLabel();		cancelButton.setIcon(GUIUtilities.getAssetMapIcon("cancel.png"));				closeOnClick(cancelButton, "cancel");		bottomPanel.add(cancelButton);		bottomPanel.setBackground(MatrixLookAndFeel.PANEL_COLOUR);		contentPane.add(bottomPanel, BorderLayout.SOUTH);		contentPane.setBackground(MatrixLookAndFeel.PANEL_BORDER_COLOUR);		FontMetrics fm = getFontMetrics(label.getFont());		int textWidth = fm.stringWidth(label.getText());		setSize(textWidth + 32, 125);		addKeyListener(this);	}