View Single Post
Old 09-21-2004, 10:28 PM   #2 (permalink)
oblar
Über-Rookie
 
Location: No longer, D.C
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.
oblar is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62