Basically I need to make a program that will print out the animal letters that the user enters into a textbox. I don't know how many letters will be entered so I need to get it after the button has been pressed to define the animals[]. But this doesn't work, the print dialog box opens and nothing appears. Yet if I specify that animals was
String[] animals = new String[5] at the beginning, I will get 5 pages in the print preview. How can I get this to show without specifying it ahead of time? thanks for any help, I've been stuck on this for days.