摘要: 1. Java 中File类的createNewFile()与createTempFile()的区别 最近,在看代码时看到了一个方法, File.createTempFile() ,由此联想到File.createNewFile() 方法,一时间不知道两者到底有什么区别,感觉都是创建新文件嘛,后来查 阅读全文
posted @ 2018-08-14 02:38 功夫 熊猫 阅读(6916) 评论(0) 推荐(0)
摘要: You can do this using a JLabel, but an alternative would be to style a JButton. That way, you don't have to worry about accessibility and can just fir 阅读全文
posted @ 2018-08-14 02:17 功夫 熊猫 阅读(267) 评论(0) 推荐(0)
摘要: String examplejsPrefix = "example"; String examplejsSuffix = "js"; String examplejs = examplejsPrefix + "." + examplejsSuffix; try { // save it as a t 阅读全文
posted @ 2018-08-14 01:54 功夫 熊猫 阅读(368) 评论(0) 推荐(0)