?? gridxy.txt
字號:
gridx and gridy
The gridx and gridy constraints specify the upper left-hand grid cell of a component's display area. Grid cell
locations are zero-based, and therefore a grid cell in the upper left-hand corner of a container always has a
(gridx,gridy) of (0,0).
In addition to specifying a numerical grid position, both gridx and gridy may be assigned GridBagConstraints.RELATIVE.
A RELATIVE setting for gridx means that the component will be placed to the right of the last component added to the
container. A RELATIVE setting for gridy means that the component will be placed in the row below the last component
added to the container.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -