随笔分类 -  java后台

摘要:// 1.新建document对象 // 第一个参数是页面大小。接下来的参数分别是左、右、上和下页边距。 Document document = new Document(PageSize.A4, 50, 50, 50, 50); // 2.建立一个书写器(Writer)与document对象关联, 阅读全文
posted @ 2017-08-08 14:35 新手新手 阅读(1366) 评论(0) 推荐(0)
摘要:int result = 0; File file = null; String path = null; JFileChooser fileChooser = new JFileChooser(); FileSystemView fsv = FileSystemView.getFileSystem 阅读全文
posted @ 2017-08-07 16:21 新手新手 阅读(195) 评论(0) 推荐(0)
摘要:public static void main(String[] args) { Map<String, String> map = new HashMap<String, String>(); map.put("1", "value1"); map.put("2", "value2"); map. 阅读全文
posted @ 2017-08-04 14:09 新手新手 阅读(129) 评论(0) 推荐(0)