5, JButton(String text, Icon icon), 创建一个包含初始文本和图标的按钮。 ... void prepareGUI(){ mainFrame = new JFrame("Java Swing JButton示例"); mainFrame.
確定! 回上一頁