public ServerOptions(final Component owner,final String defaultName,final int defaultPort,final boolean showComment){
  super(owner == null ? null : JOptionPane.getFrameForComponent(owner),"Server options",true);
  m_showComment=showComment;
  initComponents();
  layoutComponents();
  setupActions();
  m_nameField.setText(defaultName);
  m_portField.setValue(defaultPort);
  setWidgetActivation();
  pack();
}

public ServerOptions ( final Component owner , final String defaultName , final int defaultPort , final boolean showComment ) { super ( owner == null ? null : JOptionPane . getFrameForComponent ( owner ) , "Server options" , true ) ; m_showComment = showComment ; initComponents ( ) ; layoutComponents ( ) ; setupActions ( ) ; m_nameField . setText ( defaultName ) ; m_portField . setValue ( defaultPort ) ; setWidgetActivation ( ) ; pack ( ) ; }
creates a new instance of serveroptions
