package ch00; import java.awt.FlowLayout; import javax.swing.JFrame; import javax.swing.JLabel; public class MainActivity extends JFrame implements CallbackBtnAction { int count; JLabel label; public MainActivity() { count = 0; label = new JLabel(count + ""); setSize(300, 300); setLayout(new FlowLayout()); add(label); setDefaultCloseOperation(EXIT_ON_CLOSE); setVisible(true); } public static voi..