View Single Post
Old 09-23-2004, 08:00 AM   #6 (permalink)
merkerguitars
Buffering.........
 
merkerguitars's Avatar
 
Location: Wisconsin...
package test;

import javax.swing.*;
import java.util.*;
import java.text.*;

/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
*/

public class Untitled1 {
public Untitled1() {
}
public static void main(String[] args) {
Untitled1 untitled11 = new Untitled1();
String whatisyourName;

whatisyourName = JOptionPane.showInputDialog(null,
"What is your name?");

JOptionPane.showMessageDialog(null,
"" + whatisyourName + datetoday);

String title = datetoday;
Date dateformat = new
SimpleDateFormat "date" = new SimpleDateFormat ( "MM/dd/yy" );
date = myDateFormat.format( today );


}

}
Ok this is what I have so far...and the "date" that I have in bold is an error I have is '(' or '[' expected at line 31 (31:19), Making the other window pop up on the end of the assignment will be easy but this is the tough part so far
__________________
Donate now! Ask me How!

Please use the search function it is your friend.

Look at my mustang please feel free to comment!

http://www.tfproject.org/tfp/showthread.php?t=26985
merkerguitars 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