I am unfamiliar with your classes but some of this looks strange.
public void phoneCall()
{
Gadget mobPhone = Devices.get(getDisplayNum());
if (getDisplayNum() != -1 &&...
Type: Posts; User: jim829
I am unfamiliar with your classes but some of this looks strange.
public void phoneCall()
{
Gadget mobPhone = Devices.get(getDisplayNum());
if (getDisplayNum() != -1 &&...
It tells you right there. The phoneCall method does not expect any arguments. But you are calling it like this.
phone.phoneCall(getDisplayNum(), getDuration());
It should be called like...