User Profile
Collapse
-
I am so new at this I guess I just don't understand the whole "Foo" thing. But thank you so much for your reply... -
So I tried it a little different and I only get one error
C:\Program Files\Java\jdk1 .6.0_03\bin\Inv entory6.java:38 : cannot find symbol
symbol : constructor Inventory(Inven tory)
location: class Inventory
Inventory output = new Inventory(inven tory);
^
Here is te code
import java.util.*; // using java libraries
public class Inventory6...Leave a comment:
-
I am still learning and I don't know how but thanks so much for your reply!!...Leave a comment:
-
Well now I get these errors
C:\Program Files\Java\jdk1 .6.0_03\bin\Inv entory6.java:3: package packagename does not exist
import packagename.GUI ;
^
C:\Program Files\Java\jdk1 .6.0_03\bin\Inv entory6.java:38 : cannot find symbol
symbol : class GUI
location: class Inventory6
GUI gui = new GUI(inventory); // Start the GUI
^
C:\Program Files\Java\jdk1 .6.0_03\bin\Inv entory6.java:38 :...Leave a comment:
-
Thanks so much!! So I add that import line under the first import line?...Leave a comment:
-
Misplaced bracket error in code
I cannot figure out why my main is not identifying my classes, is there a bracket misplaced or something? Here are the errors I am getting
...Code:C:\Documents and Settings\Regina Denson\My Documents\JCreator LE\MyProjects\Inventory6.java:37: cannot find symbol symbol : class GUI location: class Inventory6 GUI gui = new GUI(inventory); // Start the GUI ^ C:\Documents and Settings\Regina Denson\My
No activity results to display
Show More
Leave a comment: