setLayout (new FlowLayout()); JLabel label = new JLabel("JFrame By Example"); JButton ... Illustration 10.2 // A program to add panel to GUI import java.awt.
確定! 回上一頁