Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
这是Java中容器的标准坐标布局。起源在左上。此外,当您指定组件的位置或绘制椭圆形或矩形等图形时,描述组件放置或图形的边界使用相同的坐标系。因此,一个圆将向下延伸,并从其指定的
(x,y)
位置向右延伸。Here is the standard coordinate layout of containers in Java. The origin is at top left. Additionally, when you specify the location of a component or draw a figure such as an oval or rectangle, the bounds that describe the component placement or figure use the same coordinate system. So a circle would extend down and to the right from its specified
(x,y)
location.