上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: 学习内容:常用局部管理器 1.绝对布局 2.流布局管理器 3.边界布局管理器 4.网络布局管理器 5.网络组布局管理器 阅读全文
posted @ 2020-08-21 20:51 枫叶鎏霜 阅读(54) 评论(0) 推荐(0)
摘要: 学习内容:标签组件与图标 1.标签的使用 2.图标的使用 阅读全文
posted @ 2020-08-20 23:50 枫叶鎏霜 阅读(61) 评论(0) 推荐(0)
摘要: 学习内容:常用窗口 1.JFrame窗体 2.JDialog窗体 明天任务:标签组件与图标 阅读全文
posted @ 2020-08-19 11:49 枫叶鎏霜 阅读(39) 评论(0) 推荐(0)
摘要: 学习内容: 一、压缩文件 1.利用ZipOutputStream类对象,可将文件压缩。 2.ZipOutputStream类构造方法:ZipOutputStream(OutputStream out); 二、解压缩ZIP文件 1.ZipInputStream类可读取ZIP压缩格式文件,包括已压缩和未 阅读全文
posted @ 2020-08-17 15:45 枫叶鎏霜 阅读(66) 评论(0) 推荐(0)
摘要: 学习内容: 1.数据输入/输出流允许应用程序以与机器无关的方式从底层输入流中读取基本Java数据类型。 2.DataInputStream:使用指定的基础InputStream创建一个DataInputStream。 3.DataOutputStream:创建一个新的数据输出流,将数据写入指定基础输 阅读全文
posted @ 2020-08-16 21:46 枫叶鎏霜 阅读(52) 评论(0) 推荐(0)
摘要: 学习内容:带缓存的输入/输出 1.BufferedInputStream类 2.BufferedOutputStream类 3.BufferedReader类 4.BufferedWriter类 阅读全文
posted @ 2020-08-15 12:04 枫叶鎏霜 阅读(51) 评论(0) 推荐(0)
摘要: 学习内容: 1.FileInputStream类 常用构造方法: FileInputStream(String name) 使用文件名创建FileInputStream对象 FileInputStream(File file) 使用File对象创建FileInputStream对象 2.FileOn 阅读全文
posted @ 2020-08-14 22:44 枫叶鎏霜 阅读(45) 评论(0) 推荐(0)
摘要: 学习内容: 1.文件的创建 构造方法一:new File(String 路径名称(包含文件名)) 例:File file=new File("d:/1.txt"); 构造方法二:new File(String 父路径字符串,String 子路径字符串) 构造方法三:new File(File 父路径 阅读全文
posted @ 2020-08-13 22:17 枫叶鎏霜 阅读(105) 评论(0) 推荐(0)
摘要: 学习内容: 1.使用throws关键字抛出异常 代码示例: public class Shoot { static void pop()throws NegativeArraySizeException{//定义方法int[]arr=new int[-3];//创建数组}public static 阅读全文
posted @ 2020-08-12 21:15 枫叶鎏霜 阅读(91) 评论(0) 推荐(0)
摘要: 学习内容:自定义异常 1.用户继承Exception类可自定义异常类。 例:创建自定义异常类MyException: class MyException extends Exception{//创建自定义异常类public MyException(String ErrorMassage) {//构造 阅读全文
posted @ 2020-08-11 12:35 枫叶鎏霜 阅读(44) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页