question: private void createGui ( final List < INaviModule > modules ) { setLayout ( new BorderLayout ( ) ) ; final JTextArea field = new JTextArea ( "The current graph has more then one module.\nPlease choose the one to search in." ) ; field . setEditable ( false ) ; add ( field , BorderLayout . NORTH ) ; m_table = new JTable ( new CAddressSelectionTableModel ( modules ) ) ; m_table . addMouseListener ( m_listener ) ; add ( new JScrollPane ( m_table ) , BorderLayout . CENTER ) ; final CPanelTwoButtons panel = new CPanelTwoButtons ( m_listener , "OK" , "Cancel" ) ; add ( panel , BorderLayout . SOUTH ) ; setSize ( 500 , 300 ) ; }
target:  Creates the GUI of the dialog.