Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.21 seconds.

  1. Replies
    119
    Views
    6,300

    [SOLVED] Re: javadisplay images

    That's the spirit! :rolleyes:

    Instead of giving up, trace through your program logically. Let's say your results are ImageOne, ImageTwo, and ImageThree.

    You get the first result, then set image...
  2. Replies
    119
    Views
    6,300

    [SOLVED] Re: javadisplay images

    No. You need to understand how scope and assignment works. For example:


    int x = 0;
    for(int i = 0; i < 10; i++){
    x = i;
    }
    System.out.println(x);
  3. Replies
    119
    Views
    6,300

    [SOLVED] Re: javadisplay images

    When posting code, please use the highlight tags to preserve formatting. Also, I recommend using standard naming conventions- classes start with upper-case letters, methods and variables start with...
  4. Replies
    119
    Views
    6,300

    [SOLVED] Re: javadisplay images

    The code you posted is impossible to debug. It's too small of a window into what you're actually doing, and it includes stuff that has nothing to do with your problem. That's why I asked for an...
  5. Replies
    119
    Views
    6,300

    [SOLVED] Re: javadisplay images

    For better help sooner, post an SSCCE demonstrating exactly what you're doing. If you're having trouble displaying more than one image, your example should be code that tries to show two images.
Results 1 to 5 of 5