Results 1 to 2 of 2

Thread: Tester

  1. #1
    Tiger is offline Member
    Join Date
    Feb 2013
    Posts
    9
    Rep Power
    0

    Question Tester

    I have 2 errors with this but I dont see whats wrong


    import javax.swing.JFrame;

    public class AutomobileTest
    {
    public static void main(String[] args)
    {
    JFrame frame = new JFrame();

    frame.setSize(350, 500);
    frame.setTitle("Two automobiles");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOS E);

    AutomobileComponent component = new AutomobileComponent();
    frame.add(component);

    frame.setVisible(true);

    }
    }



    ----jGRASP exec: javac -g AutomobileTest.java

    AutomobileTest.java:13: error: cannot find symbol
    automobileComponent component = new automobileComponent();
    ^
    symbol: class automobileComponent
    location: class AutomobileTest
    AutomobileTest.java:13: error: cannot find symbol
    automobileComponent component = new automobileComponent();
    ^
    symbol: class automobileComponent
    location: class AutomobileTest
    2 errors

    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.

  2. #2
    Tiger is offline Member
    Join Date
    Feb 2013
    Posts
    9
    Rep Power
    0

Similar Threads

  1. Square Tester Class
    By FOX427 in forum New To Java
    Replies: 5
    Last Post: 06-16-2012, 04:34 AM
  2. Load Tester
    By java software in forum Java Software
    Replies: 0
    Last Post: 05-15-2012, 07:44 PM
  3. Question about tester
    By bside in forum New To Java
    Replies: 4
    Last Post: 09-08-2011, 07:37 PM
  4. Looking for SOFTWARE TESTER
    By global.jobsection in forum Jobs Offered
    Replies: 0
    Last Post: 07-21-2011, 11:48 AM
  5. http://localhost:8080/helloservice/HelloService?Tester HTTP Status 404 -
    By vietnamusa in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 03-13-2011, 01:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •