一、AWT简介 1、AWT(Abstract Windowing Toolkit):抽象窗口工具包,是Java提供的用来建立和设置Java图形用户界面的基本工具。 AWT中的所有工具都保存在java.awt包中。 2、组件:组件类都是从Component和MenuComponent拓展而来。 3、容 ...
分类:
其他好文 时间:
2019-11-08 21:15:03
阅读次数:
98
创建一个新的窗体 使用Dimension类和Point类设置窗体大小和显示位置 设置内容字体 三大常用布局管理器: 1.BorderLayout 将版面划分成东、西、南、北、中五个区域,将添加的组件按指定位置放置。 BorderLayout.EAST BorderLayout.WEST Border ...
分类:
其他好文 时间:
2019-11-08 21:11:27
阅读次数:
117
1 #include <uf.h> 2 #include <uf_ui.h> 3 #include <uf_draw.h> 4 #include <uf_view.h> 5 #include <uf_curve.h> 6 7 8 UF_initialize(); 9 10 //在建模里创建点 11 ...
1 #include <uf.h> 2 #include <uf_ui.h> 3 #include <uf_draw.h> 4 #include <uf_view.h> 5 #include <uf_curve.h> 6 7 8 9 UF_initialize(); 10 11 //在工程图里创建点 ...
Computer networks link computers by communication lines and software protocols,allowing data to be exchanged rapidly and reliably. 计算机网络通过通信线路和软件协议将计算 ...
分类:
其他好文 时间:
2019-11-05 22:03:14
阅读次数:
115
[Hdu3887]Counting OffspringYou are given a tree, it’s root is p, and the node is numbered from 1 to n. Now define f(i) as the number of nodes whose nu ...
分类:
编程语言 时间:
2019-11-04 21:37:38
阅读次数:
98
https://www.acwing.com/problem/content/829/ ...
https://www.acwing.com/problem/content/832/ ...
1.1 部署LNMP架构说明 1.1.1 LNMP架构内容 01.部署linux系统 02.部署nginx网站服务 03.部署mysql数据库服务 04.部署php动态解析服务 1.1.2 配置LNMP架构步骤 01.配置Nginx配置文件 02.配置mysql数据库信息(SQL语句) 03.配置w ...
分类:
其他好文 时间:
2019-11-03 23:35:24
阅读次数:
136
XPath,全称XML Path Language,即XML路径语言,它是一门在XML文档中查找信息的语言。它最初是用来搜寻XML文档的,但是它同样适用于HTML文档的搜索。 所以在做爬虫时,我们完全可以使用XPath来做相应的信息抽取。本节中,我们就来介绍XPath的基本用法。 1. XPath概 ...
分类:
其他好文 时间:
2019-10-30 16:28:51
阅读次数:
111