Thank you for your reply
It returns novick.urlprog.CHyperlink which is
the name of the class, however when i do
if (instanceof novick.urlprog.CHyperlink)
the condition fails
this code
if (obj instanceof
novick.urlprog.CHyperlink)
{ link = (CHyperlink) obj; out.print("<br> " + link.GetHTML()); } else { out.print("<br> " + obj.getClass().getName() ); } returns
novick.urlprog.CHyperlink
for each object in the vector
which seems impossible because the the name
of the class is the same as what i tested for in the if
statement!
any ideas?
|
- RE: Objects in Vector are loosing ... Joel Parramore
- RE: Objects in Vector are loo... Cory Hubert
- Re: Objects in Vector are loo... Endre Stølsvik
- RE: Objects in Vector are... Joel Parramore
- Re: Objects in Vector are... Endre Stølsvik
- Re: Objects in Vector are... Milt Epstein
- Re: Objects in Vector are... Endre Stølsvik
- Re: Objects in Vector are... Milt Epstein
- Re: Objects in Vector are... David Wall
- RE: Objects in Vector are loosing type Hawkins, Keith (Keith)
- Re: Objects in Vector are loosing type Bob Davison
- Remove DNS lookup David Wall
- Re: Remove DNS lookup wire
- Re: Reverse DNS lookup David Wall