Hey,
Well you lost me with the set JAVA_HOME="c:\j2sdk1.4.1"...where do you do that?
here is a pic of my file listing.
here is a snipit of code that is good I have seen it work...
public class DateTime2 extends Applet
{
private static Date now; //Date variable
//Add a main method to enable the applet to run as an application
public static void main(String[] args)
{
Frame f = new Frame(); //Create a new frame object
DateTime2 dateTime = new DateTime2(); //Create an instance of DateTime2
//Add the new instance into the frame
f.setLayout(new BorderLayout());
f.add("Center", dateTime);
f.setSize(200,255);
f.setVisible(true);
//An "anonymous" inner class used to close the window
f.addWindowListener( new WindowAdapter()
{
public void windowClosing(WindowEvent we)
{
System.exit(0);
}
}
);
dateTime.init(); //Call the applet's init method
} //End of main
Now this is not the DrawHouse code but this does not work either...Now this code functions as an applet and an application. I got this from another forum to learn how to combine the two. It does work at school but not at my home..again it compiles but does not run.. :?: :?: