Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need assistance on multiple errors

807603Feb 21 2008 — edited Feb 21 2008
Hi everyone,

I have trouble compiling my Java program due to some errors shown below and would like to seek your help:

1) I have a couple of these error:
Enumeration enum = objectsMoved.elements();
Error msg: "Enumeration cannot be resolved"
Is ii because I am missing out on some Java packages or libraries?


2) import java_cup.runtime.Symbol;
Error msg: "The import *java_cup* cannot be resolved"
Where can I obtain this package?

3) The import junit cannot be resolved
Error msg :" The import *junit* cannot be resolved"
Where can I obtain this package?

4) getContentPane().add(aboutLabel, new com.symantec.itools.awt.GridBagConstraintsD(0,0,3,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
Error msg: "*com.symantec* cannot be resolved to a type"


5) import edu.umd.cs.jazz.*;
import edu.umd.cs.jazz.component.*;
import edu.umd.cs.jazz.event.*;
import edu.umd.cs.jazz.util.*;
Error msg: "The import edu cannot be resolved"
Where can I find the edu import? Or is it that I have to connect to a CVS repository?

6) public MessageFactory() {
this(Platform.defaultPlatform);
}
Error msg: "Platform cannot be resolved"


Sincerely looking forward to your favorable assistance. Thank you!

Best regards,
U-Wei
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 20 2008
Added on Feb 21 2008
3 comments
366 views