Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    16
    Views
    2,105

    Re: Problem with Action Event

    What text book or tutorial are you using? These are very basic concepts that should have been covered in a student's textbook.

    Here are some tutorials. Also ask google about calling methods in...
  2. Replies
    16
    Views
    2,105

    Re: Problem with Action Event

    When you call a method, you must specify what class the method is in followed by a . followed by the method name:
    theClass.theMethod(...);
    For static methods you use the classname for theClass....
  3. Replies
    16
    Views
    2,105

    Re: Problem with Action Event

    Where are the statements causing the first errors with the calls to addActionListener()?
    Are they inside a method?

    Why is there a . before the e? When defining an argument to a method give the...
  4. Replies
    16
    Views
    2,105

    Re: Problem with Action Event

    Are those calls to the addActionListener() method inside of a method? They should be in a method, not just inside the class definition.


    I thought you removed the all the spaces inside of names....
  5. Replies
    16
    Views
    2,105

    Re: Problem with Action Event

    Please post the full text of the error messages. Fixing the spaces problem should have changed the text of the messages. There must be new errors now.
  6. Replies
    16
    Views
    2,105

    Re: Problem with Action Event

    Is there a space between add and ActionListener? Names can not have spaces in them.
    Fix those errors and try again. Sometimes when the compiler gets lost because of this kind of error it flags too...
  7. Replies
    16
    Views
    2,105

    Re: Problem with Action Event

    Please post the full text of the error messages that show where the problem is.
    The error messages you posted do NOT show what source line the error is on.
    Here is a sample of error message that...
  8. Replies
    16
    Views
    2,105

    Re: Problem with Action Event

    Please post the full text of the error messages that show where the problem is.
Results 1 to 8 of 8