public ClientOptions(final Component parent,final String defaultName,final int defaultPort,final String defaultAddress){
  super(JOptionPane.getFrameForComponent(parent),"Client options",true);
  initComponents();
  layoutComponents();
  m_nameField.setText(defaultName);
  m_portField.setValue(defaultPort);
  m_addressField.setText(defaultAddress);
  pack();
}

public ClientOptions ( final Component parent , final String defaultName , final int defaultPort , final String defaultAddress ) { super ( JOptionPane . getFrameForComponent ( parent ) , "Client options" , true ) ; initComponents ( ) ; layoutComponents ( ) ; m_nameField . setText ( defaultName ) ; m_portField . setValue ( defaultPort ) ; m_addressField . setText ( defaultAddress ) ; pack ( ) ; }
creates a new instance of clientoptions
