public void fillFieldValues(Randomizer rand){
  ProbDistPanel rp=cardMap.get(rand.getPdf());
  cbDistribution.setSelectedItem(rand.getPdf());
  rp.fillFieldValues(rand);
  cardPanel.removeAll();
  cardPanel.add(rp.getPanel());
  cardPanel.repaint();
  if (parent != null) {
    parent.pack();
    parent.setLocationRelativeTo(null);
  }
}

public void fillFieldValues ( Randomizer rand ) { ProbDistPanel rp = cardMap . get ( rand . getPdf ( ) ) ; cbDistribution . setSelectedItem ( rand . getPdf ( ) ) ; rp . fillFieldValues ( rand ) ; cardPanel . removeAll ( ) ; cardPanel . add ( rp . getPanel ( ) ) ; cardPanel . repaint ( ) ; if ( parent != null ) { parent . pack ( ) ; parent . setLocationRelativeTo ( null ) ; } }
fills fields with values from a random source .
