可采用的库为AWT,即abstract windowtoolkit
当前第二代GUI开发库为Swing,具有更加完善的控件支持。
Component与Container是AWT中最重要的两个类,其中Component是所有控件类的父类,而Container是Window、Frame、Panel等容器类的父类。
布局坐标系,水平方向为x轴,竖直方向为y轴。
布局管理器...
分类:
编程语言 时间:
2014-08-19 22:30:05
阅读次数:
283
jcarousel jcarousel-skin-ie7.jcarousel-skin-tango .jcarousel-container { -moz-border-radius: 10px; background: #F0F6F9; /*border: 1px solid #...
分类:
Web程序 时间:
2014-08-19 18:59:55
阅读次数:
203
1 Namespace用来做PID的隔离,有了namespace,在docker container里头看来,就是一个完整的linux的世界。在host看来,container里的进程,就是一个普通的host进程,namespace提供这种pid的映射和隔离效果,host承载着container,就...
分类:
系统相关 时间:
2014-08-19 18:33:15
阅读次数:
281
Using Supervisor with Docker
Note: - If you don't like sudo then see Giving
non-root access
Traditionally a Docker container runs a single process when it is launched, for example an Apache ...
分类:
其他好文 时间:
2014-08-19 12:54:34
阅读次数:
367
CSS样式命名整理 页面结构 容器: container/wrap 整体宽度:wrapper 页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column 中间内容:center 导航 导航:nav 导航:mainbav/g...
分类:
Web程序 时间:
2014-08-18 18:04:42
阅读次数:
338
方法一:body{ margin: 0;}.container{ height: 300px; overflow: hidden;}.left{ width: 200px; height: 300px; background: red; position: absolute; left:0; top...
分类:
其他好文 时间:
2014-08-18 12:15:04
阅读次数:
160
CSS样式命名整理(转)CSS命名规范CSS样式命名整理页面结构容器: container/wrap整体宽度:wrapper页头:header内容:content页面主体:main页尾:footer导航:nav侧栏:sidebar栏目:column中间内容:center导航导航:nav导航:main...
分类:
Web程序 时间:
2014-08-17 14:15:02
阅读次数:
289
Linking Containers Together
In the Using Docker section we touched on connecting to a service running inside a Docker container via a network port. This is one of
the ways that you can interact w...
分类:
其他好文 时间:
2014-08-17 11:46:32
阅读次数:
245
O(n^2) is a naive solution. As rule of thumb, there must be O(n) soluion. Yes - greedy (WHY?)class Solution {public: int maxArea(vector &height) ...
分类:
其他好文 时间:
2014-08-16 15:04:30
阅读次数:
153
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a container, suc...
分类:
其他好文 时间:
2014-08-15 10:47:38
阅读次数:
255