Results 1 to 4 of 4

Thread: Images

  1. #1
    dylan is offline Member
    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    Default Images

    Hello I am new to java. I have been programming in java for about a year now in school. I'm making a game that has an overall abstract Character class and some some other classes. I'm working in the eclipse IDE. Eclipse has been fun programming in, but I dont know how to import images, or what ever I have to do, to get those images into Eclipse. I'm using BufferedImage class that is built into java to use images. My big question is how do you deliver the images into Eclipse to use in my overall Java project? Keep your answers simple, so I can understand as a programmer. Thank You.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,244
    Rep Power
    19

    Default Re: Images

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    dylan is offline Member
    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    Default Re: Images

    I'm not sure exactly how this helps me? I need to import a image into Eclipse. So how do I actually get the image off my computer and import it into Eclipse to use .getResource?

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is online now Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,244
    Rep Power
    19

    Default Re: Images

    Doesn't look like you went through the tutorial. You don't 'import an image into Eclipse' you load the image using Java code. As shown in the tutorial.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 11-14-2012, 11:15 AM
  2. Too many images
    By jimmyNeutron in forum Java Applets
    Replies: 6
    Last Post: 03-24-2011, 03:50 PM
  3. Replies: 0
    Last Post: 12-16-2010, 05:14 PM
  4. Replies: 4
    Last Post: 12-16-2010, 04:32 PM
  5. images
    By amith in forum AWT / Swing
    Replies: 1
    Last Post: 05-20-2008, 10:54 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •