hi
The error is due to the declaration:-
Code:
Frame frame = new Frame (260, 275, "JEWL Calculator", 'Q');
Applet d = new Calculator();
d.setupGUI(frame);
the object "frame" here does not belong to java.awt package but to "jewl" package.
d.setupGUI(frame) :- This is being looked up in the class jewl.Applet, but the only methods present in jewl.Applet are :-
private jewl.AppletPanel panel;
public jewl Applet;
public final AppletPanel getPanel();
public abstract void createGUI();
public abstract void handleCommand(char arg);
pubic void init();
Hence, the method that you are trying to call (d.setupGUI) is not at all there, and your code is trying to use it.
Also
But both the container and frame have been overridden in the jewl's jar file. You may check the contents of the jar file to verify the same.