Specifying the location of Canvas in Swing

后端 未结 2 2118
南旧
南旧 2020-12-11 20:11

I\'m learning Swing GUI design. One thing I haven\'t quite sorted out is how to add an add a Canvas to a specific location in a container.

More specifi

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-11 20:48

    Appends the canvas to the end of this panel. A component has been added to a container that has been displayed, validate must be called on that container to display the new component.

提交回复
热议问题