我需要在我的面板上显示工作目录.
我用String value = System.getProperty("user.dir").之后我把这个字符串放在标签上,但是我在控制台上收到了这条消息:
The method getProperty(String, String) in the type System is not applicable for the arguments (String).
Run Code Online (Sandbox Code Playgroud)
我用eclipse.