D
David A. Osborn
I'm working on a project called Mail in netbeans that has two .java files,
one called Mail, and the other called eProfiles with a class called
eProfiles that has a static function in it that I want to call from Mail.
How do I reference the function in the Mail class? I tried
eProfiles.myfunction(), but netbeans marks that as an error as symbol
undefined, unless I have both classes with package mail; at the top. If I
do this though I get a runtime exception of classnotfound: mail. I guess
I'm just not sure how to layout this project so that Mail can use eProfile.
one called Mail, and the other called eProfiles with a class called
eProfiles that has a static function in it that I want to call from Mail.
How do I reference the function in the Mail class? I tried
eProfiles.myfunction(), but netbeans marks that as an error as symbol
undefined, unless I have both classes with package mail; at the top. If I
do this though I get a runtime exception of classnotfound: mail. I guess
I'm just not sure how to layout this project so that Mail can use eProfile.