XCode question with Java

Discussion in 'Mac Programming' started by JLaFrance, Nov 28, 2004.

  1. macrumors member

    Joined:
    May 24, 2004
    #1
    You can call me a newb, but when I try and import the "cs1.Keyboard" file it can't find it. I've got the class file and the folder named "cs1.Keyboard," but I don't know where to "put" it, so that XCode can find it. I've tried everything I cant think of. Any help would be greatly appreciated!!


    LaFrance
     
  2. Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #2
    Did you add the file to the project?
     
  3. macrumors 65816

    broken_keyboard

    Joined:
    Apr 19, 2004
    Location:
    Secret Moon base
    #3
    If you are trying to import a class named cs1.Keyboard, then the Keyboard.class file should be in a directory name cs1. The dir name shouldn't be cs1.Keyboard. (if I understand you correctly...)
     

Share This Page