ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 29 May 2017 My Price 8.00

import java.awt.*;import java.awt.event.

i

 got this program and I am getting an error on main and can't figure out why. It's probably something simple but I can't figure it out. 

 

import java.awt.*;import java.awt.event.*;import javax.swing.JOptionPane;/////////////////////////////////////////////////////////////////////////////////////////Program Name:Justin Tamayo////Programer's Name:carCare////Program Description:Calculate Services provided to Customers of Quick Fast CarCare/////////////////////////////////////////////////////////////////////////////////////////public class carCare{private Frame mainFrame;private Label headerLabel;private Label statusLabel;private Panel controlPanel;private intTotal;private int Number1 ,Number2;private String string1 ,string2;public carCare(){prepareGUI();}public static void main(String[] args){carCareThemenu = new carCare();Themenu.showMenu();}private void prepareGUI(){mainFrame = new Frame("Quick Fast Car Care ");mainFrame.setSize(450,200);mainFrame.setLocationRelativeTo(null);mainFrame.setLayout(new GridLayout(3, 1));mainFrame.addWindowListener(new WindowAdapter(){public void windowClosing(WindowEvent windowEvent){System.exit(0);}});headerLabel = new Label();headerLabel.setAlignment(Label.CENTER);statusLabel = new Label();statusLabel.setAlignment(Label.CENTER);statusLabel.setSize(350,100);controlPanel = new Panel();controlPanel.setLayout(new FlowLayout());

Answers

(11)
Status NEW Posted 29 May 2017 07:05 AM My Price 8.00

-----------

Not Rated(0)