By default, a spring layout defines the width and height of a component (the ... setLayout(new SpringLayout()); contentPane.add(new JButton("Button 1")); ...
確定! 回上一頁