Search:

Type: Posts; User: kigroy

Search: Search took 0.28 seconds.

  1. Replies
    6
    Views
    1,048

    Re: Import Comma Delimited File to 2D Array

    The value was "Name". Deleted the first line from the table and it works great now. Plus I think i have a way to get everything into a 2D array. Thanks for helping me through it.
  2. Replies
    6
    Views
    1,048

    Re: Import Comma Delimited File to 2D Array

    I tried Interger.parseIng(str) too, however I still get an error.
  3. Replies
    6
    Views
    1,048

    Re: Import Comma Delimited File to 2D Array

    Great idea, I would never have thought of that. However, after some further thought, I can define the rows and columns at the start of the program, because I will know that information in advance. ...
  4. Replies
    6
    Views
    1,048

    Import Comma Delimited File to 2D Array

    Hi All,

    Goal: I will have varying sizes of a comma delimited file that I need to import into my Java program and store in a 2D array. Please note the examples will be much larger than the ones...
  5. Replies
    2
    Views
    4,019

    Re: buffered image to RGB array

    getRGB worked! Thanks...
  6. Thread: hello

    by kigroy
    Replies
    2
    Views
    271

    Re: hello

    Thanks for the book. I will check it out. Looks like it is on sale amazon!
  7. Sticky: Re: How to Program (stuck on homework? READ THIS BEFORE POSTING)

    Awesome post Kevin! Great way to break down the process...

    I solve so many problem in the shower after I have slept on them too.
  8. Replies
    2
    Views
    4,019

    buffered image to RGB array

    My final goal is to import a JPEG image and convert it into an array that follows an RGB format. The array I want the image to go to is image[2][height][width]. Where image[0][height][width] is the...
  9. Replies
    14
    Views
    986

    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.
  10. Replies
    14
    Views
    986

    Re: Passing Arrays Between Methods

    By the way, thank you for your help so far!!!
  11. Replies
    14
    Views
    986

    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...
  12. Replies
    14
    Views
    986

    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?
  13. Replies
    14
    Views
    986

    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...
  14. Replies
    14
    Views
    986

    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...
  15. Replies
    14
    Views
    986

    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...
  16. Replies
    14
    Views
    986

    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. ...
  17. Thread: hello

    by kigroy
    Replies
    2
    Views
    271

    hello

    Hi All,

    I'm new to the Java language and OO programming. I understand the fundamental concepts however I lack a lot of the understanding that I need to get what I want done into code.

    I do...
Results 1 to 17 of 17