Ok im not sure if im doing this correctly, but according to what I see your definition looks like, I've come up with this for the strings that I need:
import javax.swing.JOptionPane;
import java.util.StringTokenizer;
public class Project2Definition
{
//Declare variables
class PersonData {
String userFirstName;
String userLastName;
String userPhone;
String userRolls;
String userPrints;
public String toString() {
return "PersonData[name:]" + userFirstName + userLastName +
"Phone:" + userPhone +
"Number of Rolls:" + userRolls +
" Number of Prints:" + userPrints;
}
}
}