private void initPanel(){
  final JPanel mainPanel=new JPanel(new BorderLayout());
  mainPanel.setBorder(new TitledBorder("Edit Outdegree Condition"));
  final JPanel operatorPanel=new JPanel(new BorderLayout());
  operatorPanel.setBorder(new EmptyBorder(5,5,5,5));
  final JPanel inputPanel=new JPanel(new BorderLayout());
  inputPanel.setBorder(new EmptyBorder(5,0,5,5));
  operatorPanel.add(m_operatorBox,BorderLayout.CENTER);
  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);
}

private void initPanel ( ) { final JPanel mainPanel = new JPanel ( new BorderLayout ( ) ) ; mainPanel . setBorder ( new TitledBorder ( "Edit Outdegree Condition" ) ) ; final JPanel operatorPanel = new JPanel ( new BorderLayout ( ) ) ; operatorPanel . setBorder ( new EmptyBorder ( 5 , 5 , 5 , 5 ) ) ; final JPanel inputPanel = new JPanel ( new BorderLayout ( ) ) ; inputPanel . setBorder ( new EmptyBorder ( 5 , 0 , 5 , 5 ) ) ; operatorPanel . add ( m_operatorBox , BorderLayout . CENTER ) ; 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 ) ; }
creates the gui of the panel .
