yet another 'NoSuchMethodError'

I developed an applet using JDK 1.1 (Borland compiler) and tested it extensively on Win95/98 and NT.....whith success. Then I tried the same thing on a Mac (OS 7.6, 8, 8.5) and got an error message 'Applet can't start : error : java.lang.NoSuchMethodError : ......etc.'. I changed functions, stripped the program to just a couple of methods. As soon as I use 'setLocation()', 'setBounds()', TextArea, Button .... I receive the message NoSuchMethodError. I can draw lines and write text though (in paint() ). I use Netscape 4.5 on both platforms. I used different codebases (applet sent by ftp or http) (same difference) and several Mac/PC (same difference). So what the heck is it ?  Thanks for getting me out of this nightmare  L.
LudiniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

heyhey_Commented:
I suppose that Mac Netscape 4.5 is not fully 1.1 compatible.

you can
1. write 1.0 compatible applets.
2. try to find newer Java VM (if it exist)
0
LudiniAuthor Commented:
Even if I use purely 1.0 code it does not work (minimal applet with a button in the middle for ex). But I understand that applets run on Macs ..... in some way or another. Perhaps the Borland compiler is bad news for the Mac !? ....but on the other hand the philosophy is platform independency. I'll try a different compiler meanwhile......... Thanks            L.
0
LudiniAuthor Commented:
Well, the compiler from Symantec (V. Cafe 3.0) or Sun (JDK 1.1.7) does not change anything.           L.
0
heyhey_Commented:
As soon as I use 'setLocation()', 'setBounds()', TextArea, Button .... I receive the message NoSuchMethodError.

note that 'setLocation()' and 'setBounds()' are both 1.1 methods (as far as I remember).  
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LudiniAuthor Commented:
The compiler JDK1.0.2 complains about the same methods and lines in the program like Netscape. So I suppose that it's true, the VM on a Mac is not at all up to date and JDK version 1.0 is all it can take. Thanks heaps for the (incredible) solution     L.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.