代码改变世界

随笔档案-2018年10月

[Java] Create File with java.io.File class

2018-10-31 01:34 by Johnson_强生仔仔, 222 阅读, 收藏, 编辑
摘要: Create a file with some content in some specific location. The reference is here. E.g if want to create a HelloWorld.txt file, then we just need to us 阅读全文

[Java in NetBeans] Lesson 03. More Variables / Type Casting

2018-10-25 06:11 by Johnson_强生仔仔, 189 阅读, 收藏, 编辑
摘要: 这个课程的参考视频在youtube。 主要学到的知识点有: It is different from python, that "1" only present string "1", and '1' only presents char '1'. (type) can chang the type 阅读全文

[Java in NetBeans] Lesson 02. Variables, Data Types and Assignment.

2018-10-20 04:13 by Johnson_强生仔仔, 235 阅读, 收藏, 编辑
摘要: 这个课程的参考视频在youtube。 主要学到的知识点有: Data Type: int, char, String, double, boolean. When into printf, int (%d), char (%c), String (%s), double (%f), boolean 阅读全文

[Java in NetBeans] Lesson 01. Java Programming Basics

2018-10-19 22:22 by Johnson_强生仔仔, 201 阅读, 收藏, 编辑
摘要: 这个课程的参考视频在youtube。 主要学到的知识点有: A class is the template from which objects are created. Object: Instance of a class. public can be accessed by other cla 阅读全文

[Java in NetBeans] Lesson 00. Getting Set-up for Learning Java

2018-10-19 10:21 by Johnson_强生仔仔, 215 阅读, 收藏, 编辑
摘要: 这个课程的参考视频在youtube。 主要学到的知识点有: 阅读全文

[Java] Header checkBox in Jtable

2018-10-19 06:44 by Johnson_强生仔仔, 751 阅读, 收藏, 编辑
摘要: The reference is from here. 在Jtable里面我们可能会有checkbox, 而有时候我们有很多checkbox需要同时check或者同时uncheck的时候, 如果有一个总的checkbox能够同时check所以该列的所有checkbox或者同时uncheck, 就会很 阅读全文
点击右上角即可分享
微信分享提示