..
> how would one.java file's class know about JFrame2 which is in two.java
> ?
If it is in a package with appropriate access rights,
import it.
If not in a package, it could be loaded by reflection,
but don't - put it in a package.
(And if those terms are mysterious, search on them
or ask on c.l.j.hlp - but still search on them first..)
Andrew T.
Jeff - 17 Nov 2006 12:22 GMT
> ..
> > how would one.java file's class know about JFrame2 which is in two.java
[quoted text clipped - 9 lines]
>
> Andrew T.
Or, even better, if they are in the same package they automatically
know about each other.
Mithil - 19 Nov 2006 16:32 GMT
hey thanks everyone i actually didn't even need to create a package
since it is in the same folder thanks a lot Jeff and Andrew.