#JButton

Java 内部类和匿名类 实现JButton动作 ActionListener类

1importjavax.swing.*;2importjava.awt.*;3importjava.awt.event.*;45publicclassControlCircle2extendsJFrame{6privateJButtonjbtEnlarge=newJButton("Enlarge");7private...