setLayout(null); setVisible(false); setSize(insets().left + insets().right + 623,insets().top + insets().bottom + 446); setBackground(new Color(16777215)); openFileDialog1 = new java.awt.FileDialog(this); openFileDialog1.setMode(FileDialog.LOAD); openFileDialog1.setTitle("Open"); //$$ openFileDialog1.move(12,276); button1 = new java.awt.Button(); button1.setActionCommand("button"); button1.setLabel("Deposit $0.25"); button1.setBounds(insets().left + 408,insets().top + 96,101,24); button1.setBackground(new Color(12632256)); add(button1); button2 = new java.awt.Button(); button2.setActionCommand("button"); button2.setLabel("Deposit $0.10"); button2.setBounds(insets().left + 408,insets().top + 132,101,24); button2.setBackground(new Color(12632256)); add(button2); button3 = new java.awt.Button(); button3.setActionCommand("button"); button3.setLabel("Deposit $0.10"); button3.setBounds(insets().left + 408,insets().top + 168,101,24); button3.setBackground(new Color(12632256)); add(button3); button4 = new java.awt.Button(); button4.setActionCommand("button"); button4.setLabel("Deposit $0.05"); button4.setBounds(insets().left + 408,insets().top + 204,101,24); button4.setBackground(new Color(12632256)); add(button4); button5 = new java.awt.Button(); button5.setActionCommand("button"); button5.setLabel("Coin Release"); button5.setBounds(insets().left + 408,insets().top + 312,144,36); button5.setBackground(new Color(12632256)); add(button5); rect1 = new symantec.itools.awt.shape.Rect(); rect1.setBounds(insets().left + 552,insets().top + 120,12,96); add(rect1); rect2 = new symantec.itools.awt.shape.Rect(); rect2.setBounds(insets().left + 432,insets().top + 360,96,36); add(rect2); rect3 = new symantec.itools.awt.shape.Rect(); rect3.setBounds(insets().left + 72,insets().top + 312,180,63); add(rect3); label1 = new java.awt.Label("Drink Dispensed",Label.CENTER); label1.setBounds(insets().left + 84,insets().top + 324,156,43); label1.setFont(new Font("Dialog", Font.PLAIN, 18)); add(label1); button6 = new java.awt.Button(); button6.setActionCommand("button"); button6.setLabel("Dispense Drink"); button6.setBounds(insets().left + 84,insets().top + 168,148,25); button6.setBackground(new Color(12632256)); add(button6); verticalLine1 = new symantec.itools.awt.shape.VerticalLine(); verticalLine1.setBounds(insets().left + 336,insets().top + 24,2,384); add(verticalLine1); circle1 = new symantec.itools.awt.shape.Circle(); circle1.setBounds(insets().left + 540,insets().top + 36,27,27); add(circle1); label2 = new java.awt.Label("Exact Change Required",Label.CENTER); label2.setBounds(insets().left + 384,insets().top + 36,139,28); add(label2); label3 = new java.awt.Label("$0.00",Label.RIGHT); label3.setBounds(insets().left + 528,insets().top + 252,44,27); add(label3); label4 = new java.awt.Label("Total Deposited:",Label.CENTER); label4.setBounds(insets().left + 408,insets().top + 252,105,28); add(label4); circle2 = new symantec.itools.awt.shape.Circle(); circle2.setBounds(insets().left + 192,insets().top + 108,27,27); add(circle2); label5 = new java.awt.Label("Sold Out",Label.CENTER); label5.setBounds(insets().left + 72,insets().top + 108,108,28); add(label5); label6 = new java.awt.Label("Acme Vending Machine",Label.CENTER); label6.setBounds(insets().left + 60,insets().top + 24,213,58); label6.setFont(new Font("Dialog", Font.BOLD, 18)); add(label6); setTitle("Acme Vending Machine Simulator");