ImageTestAppletSimple.java:17: unreported exception java.net.MalformedURLExcepti
on; must be caught or declared to be thrown的问题Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a specification string or the string could not be parsed.看来这问题我没法了
on; must be caught or declared to be thrown的问题Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a specification string or the string could not be parsed.看来这问题我没法了
改
new URL(getClass().getResource("/image/cpgz.jpeg"));
后面的等下帮你改,mm催我了,先去吃饭了!