我正在学习java swing游戏的教程:http://zetcode.com/tutorials/javagamestutorial/movingsprites/
在此刻:
ImageIcon ii = new ImageIcon(this.getClass().getResource());
image = ii.getImage();
Run Code Online (Sandbox Code Playgroud)
我只是不知道我要写什么样的路径以及我应该在哪里保存我的图像(哪个目录).
你能帮帮我吗?你举个例子吗?