question: protected void initialize ( ) { List < AddUserFields . AttributeSpec > specs = m_filter . getAttributeSpecs ( ) ; m_listModel = new DefaultListModel ( ) ; m_list . setModel ( m_listModel ) ; if ( specs . size ( ) > 0 ) { m_upBut . setEnabled ( true ) ; m_downBut . setEnabled ( true ) ; for ( AddUserFields . AttributeSpec s : specs ) { AddUserFields . AttributeSpec specCopy = new AddUserFields . AttributeSpec ( s . toStringInternal ( ) ) ; m_listModel . addElement ( specCopy ) ; } m_list . repaint ( ) ; } else { m_nameField . setEnabled ( false ) ; m_typeField . setEnabled ( false ) ; m_dateFormatField . setEnabled ( false ) ; m_valueField . setEnabled ( false ) ; } }
target:  Initialize the GUI with settings from the filter being edited.