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
|