class P3
{
public static void main (String[] args)
{
makeP3Picture();
}
public static Picture makeP3Picture(Picture source)
{
String fileName = FileChooser.pickAFile();
String sourceFile = FileChooser.getMediaPath("butterfly1.jpg");
Picture sourcePicture = new Picture(fileName);
Picture targetPicture = new Picture(source.getWidth()*3, source.getHeight()*2);
source.explore();
source.copyPhoto();
source.show();
return sourcePicture;
}
}
im getting the error: "makeP3Picture(Picture) in P3 cannot be applied to ()" on line "makeP3Picture();" I'm not sure what to do to fix it.