Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

I've Got This Error, Java Example Java Awt Menus

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

;
 
Java Examples for Beginners
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

1 comments so far (post your own) View All Comments Latest 10 Comments:

--------------------Configuration: <Default>--------------------
C:\Java Test\Menu.java:34: duplicate class: FileMenu
class FileMenu extends Menu implements ActionListener {
^
C:\Java Test\Menu.java:57: duplicate class: HelpMenu
class HelpMenu extends Menu implements ActionListener {
^
C:\Java Test\MainWindow.java:11: add(java.awt.Menu) in java.awt.MenuBar cannot be applied to (FileMenu)
mb.add(fileMenu);
^
C:\Java Test\MainWindow.java:12: add(java.awt.Menu) in java.awt.MenuBar cannot be applied to (HelpMenu)
mb.add(helpMenu);
^
C:\Java Test\Menu.java:9: cannot find symbol
symbol : constructor FileMenu(Menu)
location: class FileMenu
FileMenu fileMenu = new FileMenu(this);
^
C:\Java Test\Menu.java:10: cannot find symbol
symbol : constructor HelpMenu(Menu)
location: class HelpMenu
HelpMenu helpMenu = new HelpMenu(this);
^
C:\Java Test\Menu.java:12: add(java.awt.Menu) in java.awt.MenuBar cannot be applied to (FileMenu)
mb.add(fileMenu);
^
C:\Java Test\Menu.java:13: add(java.awt.Menu) in java.awt.MenuBar cannot be applied to (HelpMenu)
mb.add(helpMenu);
^
C:\Java Test\MainWindow.java:36: cannot find symbol
symbol : constructor Menu(java.lang.String)
location: class Menu
super("File");
^
C:\Java Test\MainWindow.java:39: cannot find symbol
symbol : method add(java.awt.MenuItem)
location: class FileMenu
add(mi = new MenuItem("Open"));
^
C:\Java Test\MainWindow.java:41: cannot find symbol
symbol : method add(java.awt.MenuItem)
location: class FileMenu
add(mi = new MenuItem("Close"));
^
C:\Java Test\MainWindow.java:43: cannot find symbol
symbol : method add(java.awt.MenuItem)
location: class FileMenu
add(mi = new MenuItem("Exit"));
^
C:\Java Test\MainWindow.java:59: cannot find symbol
symbol : constructor Menu(java.lang.String)
location: class Menu
super("Help");
^
C:\Java Test\MainWindow.java:62: cannot find symbol
symbol : method add(java.awt.MenuItem)
location: class HelpMenu
add(mi = new MenuItem("Basics"));
^
C:\Java Test\MainWindow.java:64: cannot find symbol
symbol : method add(java.awt.MenuItem)
location: class HelpMenu
add(mi = new MenuItem("Advanced"));
^
C:\Java Test\MainWindow.java:66: cannot find symbol
symbol : method addSeparator()
location: class HelpMenu
addSeparator();
^
C:\Java Test\MainWindow.java:67: cannot find symbol
symbol : method add(java.awt.MenuItem)
location: class HelpMenu
add(mi = new CheckboxMenuItem("Manual"));
^
C:\Java Test\MainWindow.java:70: cannot find symbol
symbol : constructor Menu(java.lang.String)
location: class Menu
Menu subMenu = new Menu("Miscellaneous");
^
C:\Java Test\MainWindow.java:71: cannot find symbol
symbol : method add(java.awt.MenuItem)
location: class Menu
subMenu.add(mi = new MenuItem("Help"));
^
C:\Java Test\MainWindow.java:73: cannot find symbol
symbol : method add(java.awt.MenuItem)
location: class Menu
subMenu.add(mi = new MenuItem("Other Option"));
^
20 errors

Process completed.

Posted by salah on Sunday, 03.22.09 @ 09:56am | #86104

Ask programming questions?

 

 

Back to Tutorial
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.