摘要: gradle init --type java-library --test-framework junit-jupiter --dsl kotlin 阅读全文
posted @ 2020-06-24 09:58 翡翠绿 阅读(573) 评论(0) 推荐(0) 编辑
摘要: gradle6.4支持模块化特性 占个坑,以后或许会来完善 阅读全文
posted @ 2020-06-09 20:04 翡翠绿 阅读(152) 评论(0) 推荐(0) 编辑
摘要: npm install -g angular-cli 安装angular-cli -g 全局 创建一个子文件夹 运行 ng new start 生成一个start项目 cd start 进入项目文件夹 ng serve 运行项目 阅读全文
posted @ 2020-06-08 20:56 翡翠绿 阅读(388) 评论(0) 推荐(0) 编辑
摘要: AnchorPane other = FXMLLoader.load(getClass().getResource("SecondPane.fxml")); 前置条件 加载fxml通过FXMLLoader 方法一 通过setAll 方法把fxml内容加入到root节点 1 public void s 阅读全文
posted @ 2020-06-07 21:51 翡翠绿 阅读(5463) 评论(1) 推荐(0) 编辑
摘要: 1 try { 2 URL u = new URL("网址"); 3 InputStream in = u.openStream(); 4 int c; 5 while((c = in.read()) != -1) 6 System.out.write(c); 7 in.close(); 8 } c 阅读全文
posted @ 2020-06-06 21:15 翡翠绿 阅读(1338) 评论(0) 推荐(0) 编辑
摘要: 参考资料: https://docs.gitea.io/en-us/install-from-binary/ https://cloud.tencent.com/developer/article/1198275 https://blog.csdn.net/rocshaw/article/detai 阅读全文
posted @ 2020-06-05 22:09 翡翠绿 阅读(847) 评论(0) 推荐(0) 编辑
摘要: 2020年6月5日,从今日起,每天坚持写博客。 2020年6月11日,从今天起,每周坚持写博客。 阅读全文
posted @ 2020-06-05 15:23 翡翠绿 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 如图 JFrame只会显示自身的方法,不会显示其父类的方法 通过搜索git上的issue, 找到原因。 因为java.awt.*包被自动过滤了,造成提示不全,在settings.json文件中把java.completion.filteredTypes 属性的java.awt.*删去或者具体到某一个 阅读全文
posted @ 2019-09-24 10:55 翡翠绿 阅读(1454) 评论(0) 推荐(0) 编辑
摘要: Help -> About -> Cache directory 记录Cache directory目录 删除该目录下的所有文件 重启 阅读全文
posted @ 2018-12-28 10:42 翡翠绿 阅读(498) 评论(0) 推荐(0) 编辑
摘要: Declare 声明变量 Constant 声明常量 Set 赋值 Display 显示 String 字符 Real 实数 Integer 整数 Input 输入数据 // 注释 伪代码不一定要用固定的关键字,并没有什么标准规定必须这么写。 阅读全文
posted @ 2018-12-12 10:27 翡翠绿 阅读(1058) 评论(0) 推荐(0) 编辑