import java.awt.BorderLayout; import java.awt.Font; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; public class LottoFrame extends JFrame implements ActionListener{ private JButton button; private LottoRandomNumber lottoRandomNumber; private boolean i..