package graphics; import javax.swing.*; public class TelephoneKeypadApplication { public static void main(String[] args) { JFrame telephone = new JFrame("Telephone keypad"); telephone.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); telephone.getContentPane().add(new TelephoneKeypadPanel()); telephone.pack(); telephone.setVisible(true); } }