private void alignLabels(){
  final int height=m_selectorLabel.getPreferredSize().height;
  int width=m_selectorLabel.getPreferredSize().width;
  if (m_editor != null) {
    final int labelWidth=m_editor.getLabelWidth();
    if (width < labelWidth) {
      width=labelWidth;
    }
 else {
      m_editor.setLabelWidth(width);
    }
  }
  final Dimension dimension=new Dimension(width,height);
  m_selectorLabel.setPreferredSize(dimension);
  m_selectorLabel.setSize(dimension);
}

private void alignLabels ( ) { final int height = m_selectorLabel . getPreferredSize ( ) . height ; int width = m_selectorLabel . getPreferredSize ( ) . width ; if ( m_editor != null ) { final int labelWidth = m_editor . getLabelWidth ( ) ; if ( width < labelWidth ) { width = labelWidth ; } else { m_editor . setLabelWidth ( width ) ; } } final Dimension dimension = new Dimension ( width , height ) ; m_selectorLabel . setPreferredSize ( dimension ) ; m_selectorLabel . setSize ( dimension ) ; }
aligns label of this editor with the nested editor , by either resizing this ( if it is smaller ) or resizing the labels on the nested editor ( if it is bigger )
