Results 1 to 2 of 2
Thread: Tester
- 02-01-2013, 04:01 AM #1
Member
- Join Date
- Feb 2013
- Posts
- 9
- Rep Power
- 0
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.
- 02-01-2013, 04:07 AM #2
Member
- Join Date
- Feb 2013
- Posts
- 9
- Rep Power
- 0
Similar Threads
-
Square Tester Class
By FOX427 in forum New To JavaReplies: 5Last Post: 06-16-2012, 03:34 AM -
Load Tester
By java software in forum Java SoftwareReplies: 0Last Post: 05-15-2012, 06:44 PM -
Question about tester
By bside in forum New To JavaReplies: 4Last Post: 09-08-2011, 06:37 PM -
Looking for SOFTWARE TESTER
By global.jobsection in forum Jobs OfferedReplies: 0Last Post: 07-21-2011, 10:48 AM -
http://localhost:8080/helloservice/HelloService?Tester HTTP Status 404 -
By vietnamusa in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 03-13-2011, 12:02 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks