Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23
  1. #21
    vastrolorde is offline Senior Member
    Join Date
    Jan 2013
    Posts
    124
    Rep Power
    0

    Default Re: cropping imageicon

    Well the code compiled adnd it works, but it seems it cant get the image. Since im new to bufferedimage, i have no idea where it has gone wrong.

  2. #22
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,679
    Blog Entries
    7
    Rep Power
    21

    Default Re: cropping imageicon

    I don't think it has anything to do with a BufferedImage; your program doesn't run in a directory where you think it runs; it runs in directory System.getProperty("user.dir") print that value and see if your file is there; I think it isn't ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #23
    vastrolorde is offline Senior Member
    Join Date
    Jan 2013
    Posts
    124
    Rep Power
    0

    Default Re: cropping imageicon

    Ty, i got it working, i jsut had to specifiy the path more clearly.

    Now i need to find a way to display 1 frame at a time :D

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 0
    Last Post: 10-25-2011, 01:17 PM
  2. Cropping a BufferedImage
    By crikey in forum Advanced Java
    Replies: 2
    Last Post: 08-22-2010, 04:07 PM
  3. Image cropping
    By pads in forum AWT / Swing
    Replies: 3
    Last Post: 06-23-2010, 04:32 PM
  4. ImageIcon HELP!
    By ben1989 in forum New To Java
    Replies: 1
    Last Post: 05-05-2010, 09:48 PM
  5. Image cropping in Jsf on the release of mouse
    By HarshalAuro in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 11-12-2008, 07:24 PM

Posting Permissions

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