question: 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 ( ) ; }
target:  Creates a new instance of ClientOptions