import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Button_More extends JFrame
{
Button_More (String title)
{
super(title);
setSize(800,400);
setLocation(100,100);
setLayout(new FlowLayout());
JButton bt[] = new JButton[5];
Container cp = getContentPane();
for(int i =0 ;i<=4;i++)
{cp.add(bt[i]);} // 如何 加载 多个 按钮 ? ?
}
public static void main(String args[])
{
Button_More f=new Button_More("FrameDemo");
f.show();
}
}