Results 1 to 2 of 2
  1. #1
    01allenh is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Can't find method

    I've written a method in a class, and then tried to use the same method in the same class in a different method (if that makes sense!) but when I try to compile it says can't find method in a different class. How do I get it to look in the same class??

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    By not preceding the method call with a qualifier.

    To get better help sooner, post a SSCCE that demonstrates the problem.
    SSCCE : Java Glossary


Similar Threads

  1. Can't find out how to get this method working :)
    By Shadaw in forum Java Applets
    Replies: 2
    Last Post: 12-29-2008, 05:35 PM
  2. Replies: 1
    Last Post: 02-16-2008, 09:10 PM
  3. Replies: 2
    Last Post: 02-16-2008, 08:52 PM
  4. problems to find the main method
    By christina in forum Eclipse
    Replies: 2
    Last Post: 08-06-2007, 07:51 PM
  5. Problems with Find method in EJB
    By Nick15 in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 05-14-2007, 01:29 PM

Posting Permissions

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