Continued from this page (
https://coderanch.com/t/656287/GUI/java/signal-generator)
I have cleaned up my code and now trying to call another class, which the program will do, but I get this error:
SIGGEN_msc.java:58: error: method generate in class oscillate cannot be applied to given types;
if (a.equals("Sine")) { o.generate(fre,len,amp,"Sine"); textArea.setText("Sine\n"); }
^
required: int,int,int
found: int,int,int,String
reason: actual and formal argument lists differ in length
This error continues on lines 59, 60, 61, and 62.
From what I gather, it is telling me that it is not finding the
String type, but String is called as an ActionPerformed event.
I will include my code, and a snippet of the oscillate code.
Thank you.