I am using Visual Cafe Expert edition 4.0 and VM is set to JDK 1.3.1_02. I
think this version has add method? right?
This problem occurs when I create an object of tutorial examples in a
applet. What I do is, I have made some small modifications to P4_05 tutorial
example and I create a variable of this in an applet. Then, by using that
variable I am trying to show the object on applet. It doesn't show it and I
have the compiler error below.
----- Original Message -----
From: "From: Bill Hibbard <hibbard@xxxxxxxxxxxxxxxxx>" <billh@xxxxxxxxxxxxx>
To: "Yakup Bayram" <ybayram@xxxxxxxx>
Sent: Thursday, January 03, 2002 4:30 PM
Subject: Re: compiler error
> On Thu, 3 Jan 2002, Yakup Bayram wrote:
> > what could be the reason for folllowing error?
> >
> > java.lang.NoSuchMethodError: java/util/Vector: method
add(Ljava/lang/Object;)Z not found
> > at visad/MathType.makeTimeAliasVector
>
> All I can think of is that you are trying to compile
> using JDK 1.1, since the Vector.add(Object) method was
> added in JDK 1.2.
>
> Good luck,
> Bill
> p.s., I don't have a clue about your BorderPanel problem,
> except that I am always prepared for trouble when I use
> a new Swing class.
>
>