开发者

extends GraphicsProgram

开发者 https://www.devze.com 2023-01-11 07:02 出处:网络
I\'m watching the Programming Methodology from Stanford on Youtube and professor uses the GraphicsProgram as a basic class for t开发者_运维问答he class he creates.

I'm watching the Programming Methodology from Stanford on Youtube and professor uses the GraphicsProgram as a basic class for t开发者_运维问答he 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.


Could it be the GraphicsProgram class from the Java Task Force library?

Edit: Looks like they've got they rolled their own Eclipse distribution too. It'll probably be easier just to use that.

0

精彩评论

暂无评论...
验证码 换一张
取 消