摘要:
命名空间 import java.awt.*; 1. 创建 frame 窗口 2.创建panel, 并添加元素: 3.ScrollPane 滚动条pane 布局管理器 2. BorderLayout (Frame, Dialog, ScrollPane 默认使用这个 layout) 将容器分为 东 阅读全文
摘要:
Java 异常主要依赖于 Try, catch, finally, throw, throws try { int a = Integer.parseInt(args[0]); int b = Integer.parseInt(args[1]); int c = a/b; System.out.pr 阅读全文