public CLogFilePanel(){
  super(new BorderLayout());
  final JTextField fileLabel=new JTextField(ConfigHelper.getConfigurationDirectory(Constants.COMPANY_NAME,Constants.PROJECT_NAME));
  fileLabel.setEditable(false);
  fileLabel.setCaretPosition(0);
  add(fileLabel);
  final JButton button=new JButton(new COpenAction());
  add(button,BorderLayout.EAST);
}

public CLogFilePanel ( ) { super ( new BorderLayout ( ) ) ; final JTextField fileLabel = new JTextField ( ConfigHelper . getConfigurationDirectory ( Constants . COMPANY_NAME , Constants . PROJECT_NAME ) ) ; fileLabel . setEditable ( false ) ; fileLabel . setCaretPosition ( 0 ) ; add ( fileLabel ) ; final JButton button = new JButton ( new COpenAction ( ) ) ; add ( button , BorderLayout . EAST ) ; }
creates a new panel object .
