setLayout (new FlowLayout());. Once we have a manager for a JFrame we can add components using the instance method add of the class JFrame.
確定! 回上一頁