import class

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Dawei

import class

Post by Dawei »

Hi:
when I try to import class such as Simulation.java, I always get wrong message from compiler, such as:

C:\My Documents\Dawei\project\Simulation\Process.java:7: cannot resolve symbol
symbol: class Simulation
import Simulation;

How I can deal with it ?
Dawei
Dawei

Re: import class

Post by Dawei »

again
when I want to use another class object such as

public class Myopera{
................................
foo:foo;
foo.readin( );//call the method in foo class
..............................
}

the compiler's message is "can not find foo class", actually there is a foo class in the same directory as Myopera. I used other tool kits before, they have no this kind of problem at all. What should I do?
cheers

Dawei
Post Reply