Jimi Hullegård wrote:
> Hi
>
[quoted text clipped - 4 lines]
> numbers.put("two", new Integer(2));
> numbers.put("three", new Integer(3));
You tried to compile this, as shown, copied directly from the online
example? Did you wrap it in a class? Did you import anything? Where is the
rest of your code?
> And I get the following error messages:
>
[quoted text clipped - 12 lines]
> But then how do I use Hashtable? The example code doesn't work. Or am I
> doing something else wrong?
We can't tell. Post a complete, short example program that includes the
above snippet, so we can see it in context.

Signature
Paul Lutus
http://www.arachnoid.com
Jimi Hulleg?rd - 28 Oct 2004 00:32 GMT
>> Hi
>>
[quoted text clipped - 9 lines]
> example? Did you wrap it in a class? Did you import anything?
>Where is the rest of your code?
I'm terribly sorry. My misstake. Sure I imported everything needed and
wrapped it in a class, but I forgot to wrap it in a method aswell... duh...
hmm, I blame the late hour (1.30am). sorry!
everything works now.
/Jimi