anchor.txt
来自「java2图形设计卷1:awt 源码」· 文本 代码 · 共 10 行
TXT
10 行
anchor
The GridBagConstraints.anchor variable specifies where a component is anchored in its display area. It's
important to note that setting the anchor constraint may seemingly have no effect if the component's fill
constraint is set to anything other than GridBagConstraints.NONE, due to the fact that the component will
expand to fill a portion of its display area.
Although the anchor constraint is relative to a component's display area, it does not affect the display area
itself
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?