title: How to create an array of JLabels in Java to be printed to a JFrame
body: <p>I m trying to make an array of labels.
  Each label has a differented value which come out of a function.
  I don't know the exact number of labels to be used.
  I mean there could be any number of values to be printed.
  Please help me do this.</p>