public String getLabel ( JComponent component ) { String label = component2LabelMap . get ( component ) ; if ( label != null ) { return label ; } else { return "" ; } }
Gets the label for the specified component .