ERROR: TYPE EXPECTED

when i try to compile i get the following error:

Addition.java:38: Type expected.

plusButton.addContainerListener(this);

Addition.java:49: Type expected.

calcButton.addActionListener(this);

does anyone know what i should insert to compile properly

[314 byte] By [sir_marky] at [2007-9-26 1:18:05]
# 1
Is Addition.java one of your classes? I assume it is. Paste your code in a reply to yourself so people can look at it. That's the only way they'll be able to help.
mwstein at 2007-6-29 0:48:36 > top of Java-index,Archived Forums,Java Programming...
# 2
You need to put executable statements inside a method, constructor, or initialization block.
schapel at 2007-6-29 0:48:36 > top of Java-index,Archived Forums,Java Programming...