private void addNameDatesPanel(final String headline,final IFieldDescription<String> name,final IFieldDescription<Date> creationDate,final IFieldDescription<Date> modificationDate){
  final JPanel nameDatesPanel=new JPanel(new GridLayout(3,1,5,5));
  nameDatesPanel.setBorder(new TitledBorder(headline));
  nameDatesPanel.add(new CLabeledComponent("Name" + ":",name.getHelp(),m_nameTextField));
  nameDatesPanel.add(new CLabeledComponent("Creation Date" + ":",creationDate.getHelp(),m_creationDateValueLabel));
  nameDatesPanel.add(new CLabeledComponent("Modification Date" + ":",modificationDate.getHelp(),m_modificationDateValueLabel));
  add(nameDatesPanel,BorderLayout.NORTH);
}

private void addNameDatesPanel ( final String headline , final IFieldDescription < String > name , final IFieldDescription < Date > creationDate , final IFieldDescription < Date > modificationDate ) { final JPanel nameDatesPanel = new JPanel ( new GridLayout ( 3 , 1 , 5 , 5 ) ) ; nameDatesPanel . setBorder ( new TitledBorder ( headline ) ) ; nameDatesPanel . add ( new CLabeledComponent ( "Name" + ":" , name . getHelp ( ) , m_nameTextField ) ) ; nameDatesPanel . add ( new CLabeledComponent ( "Creation Date" + ":" , creationDate . getHelp ( ) , m_creationDateValueLabel ) ) ; nameDatesPanel . add ( new CLabeledComponent ( "Modification Date" + ":" , modificationDate . getHelp ( ) , m_modificationDateValueLabel ) ) ; add ( nameDatesPanel , BorderLayout . NORTH ) ; }
creates the panel where the name text field and the creation date and modification date labels are located .
