Thread: event manager problem

Results 1 to 3 of 3
  1. #1 event manager problem 
    Registered Member
    Join Date
    Jul 2009
    Posts
    89
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    D: i get one error:
    Code:
    interfaceEvent.java:6: class Event is public, should be declared in a file named
     Event.java
    public interface Event {
           ^
    Note: EconomyReset.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    1 error
    Finished!
    Press any key to continue . . .
    i don't know what its about i re-added a couple times and changed the name of the file (flopped it around from like interface event to event interface) idk, do i really have to make a new class and declare it? O.O
    Reply With Quote  
     

  2. #2  
    Member event manager problem Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    Make sure the file is called Event.java.....
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2009
    Posts
    89
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    its supposed to be event.java? Well i feel like an idiot if so lol ill try it

    edit: worked ty the reason i put the file as "interface Event" was because that was the public stuff but of course now that i look at it after you helped me i see that it was supposed to be "Event"....
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •