Bonsoir,
Voici donc mon pb :
Panel must implement the inherited abstract
public class Panel extends JFrame implements CoinMachineListener, CoffeeMachineListener, Names
{
...
public interface CoinMachineListener
{
public abstract void stateChanged(Object source, String state, String state2);
}
...
private void notifyStateChanged()
{
for(Iterator iter = this._ListenerCoinMachine.iterator(); iter.hasNext() ; )
{
CoinMachineListener listener = (CoinMachineListener) iter.next();
listener.stateChanged(this, this._EtatCredit, this._EtatMoney);
}
}
...
voila des morceaux de mon code
c koi ki beug?
merci davance