User Profile

Collapse

Profile Sidebar

Collapse
Gina777416
Gina777416
Last Activity: Dec 2 '07, 07:58 PM
Joined: Oct 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Gina777416
    replied to Misplaced bracket error in code
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • Gina777416
    replied to Misplaced bracket error in code
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • Gina777416
    replied to Misplaced bracket error in code
    in Java
    I am still learning and I don't know how but thanks so much for your reply!!...
    See more | Go to post

    Leave a comment:


  • Gina777416
    replied to Misplaced bracket error in code
    in Java
    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 :...
    See more | Go to post

    Leave a comment:


  • Gina777416
    replied to Misplaced bracket error in code
    in Java
    Thanks so much!! So I add that import line under the first import line?...
    See more | Go to post

    Leave a comment:


  • Gina777416
    started a topic Misplaced bracket error in code
    in Java

    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
    ...
    See more | Go to post
    Last edited by Ganon11; Nov 30 '07, 05:29 AM. Reason: Please use the [CODE] tags provided.
No activity results to display
Show More
Working...