[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: required packages



Andrew D Dixon wrote:

myfirst.java:2: Class or interface `java.awt.Label' not found in import.

import java.awt.Label;
       ^
myfirst.java:5: Superclass `Applet' of class `myfirst' not found.
public class myfirst extends Applet{
                             ^
myfirst.java:6: Type `Label' not found in declaration of field `label'.
    private Label label;
            ^
3 errors

sections 2.4 and 2.5 of the [0]faq on the gcj homepage should answer your question.

/ben

[0] http://gcc.gnu.org/java/faq.html




--
|_     |_ | _  _ |_  	              "Never rub another man's rhubarb."
|_) .  |_)|(_|(_ |\                                             -- Joker



Reply to: