package midp.firstAid;

import javax.microedition.lcdui.*;

public class AboutCopy extends Basic {

    public AboutCopy() 
    {
        super("About Product");
        append("Copyright 2008\n " +
        	   "\n Nanthikesvaran\n" +
        	   "\n" +
               "This product based on Java Technology " +
               "to give and provide sufficient information " +
               "of a knowledge on First Aid.\n"+
               "It's still under development as it's only a " +
               "prototype of an application"
               );        
    }
}

Errors
C:\Documents and Settings\Lord Executioner\Desktop\firstAid\AboutCopy.java:3: package javax.microedition.lcdui does not exist
import javax.microedition.lcdui.*;
^
C:\Documents and Settings\Lord Executioner\Desktop\firstAid\AboutCopy.java:5: cannot find symbol
symbol: class Basic
public class AboutCopy extends Basic {
^
C:\Documents and Settings\Lord Executioner\Desktop\firstAid\AboutCopy.java:10: cannot find symbol
symbol : method append(java.lang.String)
location: class midp.firstAid.AboutCopy
append("Copyright 2008\n " +
^
3 errors

Process completed.

Please Advise.

package midp.firstAid;

import javax.microedition.lcdui.*;

public class AboutCopy extends Basic {

    public AboutCopy() 
    {
        super("About Product");
        append("Copyright 2008\n " +
        	   "\n Nanthikesvaran\n" +
        	   "\n" +
               "This product based on Java Technology " +
               "to give and provide sufficient information " +
               "of a knowledge on First Aid.\n"+
               "It's still under development as it's only a " +
               "prototype of an application"
               );        
    }
}

Errors
C:\Documents and Settings\Lord Executioner\Desktop\firstAid\AboutCopy.java:3: package javax.microedition.lcdui does not exist
import javax.microedition.lcdui.*;
^
C:\Documents and Settings\Lord Executioner\Desktop\firstAid\AboutCopy.java:5: cannot find symbol
symbol: class Basic
public class AboutCopy extends Basic {
^
C:\Documents and Settings\Lord Executioner\Desktop\firstAid\AboutCopy.java:10: cannot find symbol
symbol : method append(java.lang.String)
location: class midp.firstAid.AboutCopy
append("Copyright 2008\n " +
^
3 errors

Process completed.

Please Advise.

can i know which platform that is either sun java toolkit or netbeans or eclipse...because if you have any platform for running i think you wont get these sort of errors........it is best to compile with sun java wireless toolkit..............

This article has been dead for over six months. Start a new discussion instead.