扩展GraphicsProgram [英] extends GraphicsProgram
问题描述
我做:
public class Test extends GraphicsProgram {
public static void main(String [] args){
}
}
但是获取GraphicsProgram无法解析为类型的错误。
我点击了Eclipse中的 Ctrl + Shift + O 导入所需的包但没有发生什么。
只是想知道教授如何使用它,请告诉我,如果你知道,谢谢提前!
似乎来自一个ACM JTF(Java Task Force)库。 Google搜索GraphicsProgram.java应该可以帮助您。看起来源代码在这里可用: http://jtf.acm.org/index.html 。
I'm watching the Programming Methodology from Stanford on Youtube and professor uses the GraphicsProgram as a basic class for the class he creates.
I do:
public class Test extends GraphicsProgram {
public static void main(String[] args) {
}
}
But getting the error that GraphicsProgram can't be resolved to a type.
I clicked Ctrl+Shift+O being in Eclipse to import required packages but nothing happened.
Just wondered how professor uses it, please tell me if you know, thanks in advance!
It seems to be from an ACM JTF (Java Task Force) library. A google search for GraphicsProgram.java should help you out. It looks like the source code is available here: http://jtf.acm.org/index.html.
这篇关于扩展GraphicsProgram的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!