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..............

Thanks for the suggestion, will give a try

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.