扩展GraphicsProgram [英] extends GraphicsProgram

查看:196
本文介绍了扩展GraphicsProgram的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Youtube上观看斯坦福大学的编程方法,教授使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆