public static void
main(String args[])
}
JFrame frame = new JFrame();
frame.setDefaultCloseOperation
(JFrame.EXIT_ON_CLOSE);
Container contentPane =
frame.getContentPane();
final JLabel label =
new JLabel("", JLabel.CENTER);
label.setFont(new Font ("Serif", Font.PLAIN, 36));
contentPane.add(label,
BorderLayout.CENTER);
ActionListener listener = new ActionListener()
{
int count = 0;
public void actionPerformed
(ActionEvent e)
}
文章来源于领测软件测试网 https://www.ltesting.net/