[英]Error: Could not find or load main class sun.applet.AppletViewer
[英]How to fix error message about being unable to find or load main class sun.applet.AppletViewer?
這是我的程序在最頂部的樣子:
// imports all needed libraries
import acm.program.*;
import acm.graphics.*;
import java.awt.*;
public class ScreenSaverProject extends GraphicsProgram {
// sets up canvas and canvas size
public void init() {
resize(1200, 700);
}
// holds all the code that the program will run
public void run() {
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.