The default layout on a JFrame is a BorderLayout . Calling the add method on a Container with such a layout is equivalent to a call add(..., ...
確定! 回上一頁