Search:

Type: Posts; User: joelmeler

Search: Search took 0.08 seconds.

  1. Replies
    14
    Views
    1,914

    Re: How can i add an image into my source code?

    i guess i have a lot of the needed ones
  2. Replies
    14
    Views
    1,914

    Re: How can i add an image into my source code?

    help please?
  3. Replies
    14
    Views
    1,914

    Re: How can i add an image into my source code?

    yeah u were right

    i have this now

    Image img=null;
    try
    {
    img=ImageIO.read(new File("Leftp2.png"));

    }
  4. Replies
    14
    Views
    1,914

    Re: How can i add an image into my source code?

    i do, dont i?
  5. Replies
    14
    Views
    1,914

    Re: How can i add an image into my source code?

    g.drawImage(img,p2.x,p2.y,this);
  6. Replies
    14
    Views
    1,914

    Re: How can i add an image into my source code?

    Image img=null;
    try
    {
    img=ImageIO.read(new File("Leftp2.png");
    catch(IOException e)

    }

    if(p2Direction==LEFT)
    g.drawImage(img,p2.x,p2.y,this)
  7. Replies
    14
    Views
    1,914

    Re: How can i add an image into my source code?

    yeah i already tried different ways with the ImageIO tool and none have worked culd u help me?
  8. Replies
    14
    Views
    1,914

    How can i add an image into my source code?

    this is a racing game and i want the picture to take place for my "square cars". thanks, heres the code, everything works fine, i just wanna add the pics.

    import javax.swing.*;
    import...
Results 1 to 8 of 8