Let's say we have a Frame with layout set as BoxLayout −JFrame frame = new JFrame(); frame.setDefaultCloseOperation(JFrame.
確定! 回上一頁