private void initializeLayout(){
  GridLayout gl=new GridLayout(0,2);
  gl.setVgap(5);
  setLayout(gl);
  add(new JLabel("Frozen: "));
  add(frozenDD);
  add(new JLabel("Upper Bound:"));
  add(tfUpBound);
  add(new JLabel("Lower Bound"));
  add(tfLowBound);
  add(new JLabel("Increment:"));
  add(tfIncrement);
  add(new JLabel("Delay:"));
  add(tfDelay);
  setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
}

private void initializeLayout ( ) { GridLayout gl = new GridLayout ( 0 , 2 ) ; gl . setVgap ( 5 ) ; setLayout ( gl ) ; add ( new JLabel ( "Frozen: " ) ) ; add ( frozenDD ) ; add ( new JLabel ( "Upper Bound:" ) ) ; add ( tfUpBound ) ; add ( new JLabel ( "Lower Bound" ) ) ; add ( tfLowBound ) ; add ( new JLabel ( "Increment:" ) ) ; add ( tfIncrement ) ; add ( new JLabel ( "Delay:" ) ) ; add ( tfDelay ) ; setBorder ( BorderFactory . createEmptyBorder ( 5 , 5 , 5 , 5 ) ) ; }
lays out the panel
