public mainMultiplier(){
frame = new JFrame("Multiply a number by 2.");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(new Dimension(300, 40));
panel = new JPanel(GridLayout(2,2));