资 源 简 介
import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.event.*;public class FZ extends JFrame implements ActionListener{private JButton button;private JTextField text1,text2,text3,text4;private JTextArea text5;public FZ(){super("循环位移方阵");this.setBounds(500,200,300,300);this.setBackground(java.awt.Color.lightGray);this.setDefaultCloseOperation(EXIT_ON_CLOSE);this.getContentPane().setLayout(new FlowLayout());this.getContentPane().add(new Label("输入四个整数"));this.text1=new JTextField("1",2);this.text2=new JTextField("2",2);this.text3=new JTextField("3",2);this.text4=new JTextField("4",2);this.getContentPane().add(this.text1);this.getContentPane().add(this.text2);this.getContentPane().add(this.text3);this.getContentPane().add(this.text4);this.button=new JButton(&quo