(Easy?) Java Interface Question

Status
You're currently viewing only Dr Steelface's posts. Click here to go back to viewing the entire thread.
Not open for further replies.
Can you post the specific error?

I think if your code is like

code:<HR>
Code:
public class someclass implements eventListener
{
   public void eventChanged(Event event, int oldValue, int newValue)
   {
      ...
   }
} <P>

and you have

code:<HR>
Code:
someclass instance; 
...
eventListener el = instance;
el.eventChanged(new Event, 0, 0);

seems that that would work fine
 
Status
You're currently viewing only Dr Steelface's posts. Click here to go back to viewing the entire thread.
Not open for further replies.