Search:

Type: Posts; User: kigroy

Search: Search took 0.10 seconds.

  1. Replies
    14
    Views
    1,959

    Re: Passing Arrays Between Methods

    Actually, that finally got everything working!!! I was able to implement code and generate a png file. Thanks for your help tonight and have a good weekend.
  2. Replies
    14
    Views
    1,959

    Re: Passing Arrays Between Methods

    By the way, thank you for your help so far!!!
  3. Replies
    14
    Views
    1,959

    Re: Passing Arrays Between Methods

    I tried implementing your code and I received the following error: ArraysProblem cannot be resolved to a type.

    Therefore, I tried making everything static. I brought my image array...
  4. Replies
    14
    Views
    1,959

    Re: Passing Arrays Between Methods

    Unfortunately, I do not know how to do that. Could you post the 3 lines of code required or something demonstrating what the code would look like?
  5. Replies
    14
    Views
    1,959

    Re: Passing Arrays Between Methods

    These are the errors that I get in the console when I click run:

    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    Cannot make a static reference to the non-static...
  6. Replies
    14
    Views
    1,959

    Re: Passing Arrays Between Methods

    The IDE does not give me any errors, however if I put static in the main method, the IDE gives me an error calling the array named image. The image array is declared outside of the main method in...
  7. Replies
    14
    Views
    1,959

    Re: Passing Arrays Between Methods

    The pop up window error I receive reads:

    "Fatal exception occurred. Program will exit."

    In the Eclipse console, the error I get reads:

    "java.lang.NoSuchMethodError: main
    Exception in...
  8. Replies
    14
    Views
    1,959

    Passing Arrays Between Methods

    Background: I am new to Java OO programming and I am currently taking a course in computer graphics. I wrote the program originally within the main method and it executed without any issues. ...
Results 1 to 8 of 8