我一直在搜索,文档也没有谷歌回复一个很好的答案.我刚开始使用java,所以请帮帮我.我收到了错误
Graphics.drawString('hello',10, 10);
Run Code Online (Sandbox Code Playgroud)
但是所有文档告诉我的是我需要使用str,int,int.我的错误是:
Cannot make a static reference to the non-static method drawString(str,int,int) from the type Graphics
Run Code Online (Sandbox Code Playgroud)
那么有谁知道如何解决这个问题?