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.
Type: Posts; User: kigroy
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.
By the way, thank you for your help so far!!!
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...
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?
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...
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...
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...
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. ...