question: private void initPanel ( ) { final JPanel mainPanel = new JPanel ( new BorderLayout ( ) ) ; mainPanel . setBorder ( new TitledBorder ( "Edit Indegree Condition" ) ) ; final JPanel operatorPanel = new JPanel ( new BorderLayout ( ) ) ; operatorPanel . setBorder ( new EmptyBorder ( 5 , 5 , 5 , 5 ) ) ; operatorPanel . add ( m_operatorBox , BorderLayout . CENTER ) ; final JPanel inputPanel = new JPanel ( new BorderLayout ( ) ) ; inputPanel . setBorder ( new EmptyBorder ( 5 , 0 , 5 , 5 ) ) ; inputPanel . add ( m_inputField , BorderLayout . CENTER ) ; final JPanel containerPanel = new JPanel ( new BorderLayout ( ) ) ; containerPanel . add ( operatorPanel , BorderLayout . WEST ) ; containerPanel . add ( inputPanel , BorderLayout . CENTER ) ; mainPanel . add ( containerPanel , BorderLayout . NORTH ) ; add ( mainPanel , BorderLayout . CENTER ) ; }
target:  Creates the GUI of the panel.