- 帮忙看个JAVA程序importjavax.swing.JBut
- import x.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JFrame;
import t.Container;
import t.FlowLayout;
public class showFlowLayout extends JFrame{
public void showFlowLayout(){
Container container=getContentPane();
- 你的构造函数干吗要加个void?
public void showFlowLayout()
去掉void就可以显示了.