you pretty much have 2/3 of it done already. What you still need to do though is remember where you create your variables.
The second JOptionPane is referencing date which hasnt been created yet. Also doing: whatisyourName + date will give you something like MyName04/36/93 which isn't very nice looking at all. Might wish to clean up your formatting a bit.
another pointer, you may be able to just add the date like you currently have, but check to see if there is a date.toString() function. More than likely there is. Since it is an object, it doesnt necessarily mean it will give you a pretty string when appending it to a String.
|