テキスト付きのボタンを生成します。 JButton(String text, Icon icon). 初期 ... setText("Please Push Button"); JPanel p = new JPanel(); p.add(button1); p.add ...
確定! 回上一頁