Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2012
    Posts
    1
    Rep Power
    0

    Post image is not getting loaded ....

    Iam using eclipse IDE. Iam developing an application on java. my apllication includes almost 6 classes and each class opens in a diffferent frame. For my apllication's main interface i want add a few images or buttons with images. i have tried many codes the program runs but the image is not displayed. my main interface includes labels and buttons and little grahics code. i keep tha image in src folder of project but still its nt getting laoded. i have tries jpg,gif and png images.
    plz provide me the solution for this in form of codes.
    Thank u
    Last edited by Mehrish Yousuf; 07-08-2012 at 07:45 PM.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: image is not getting loaded ....

    99% of your posted code has nothing to do with your problem and just serves as a distraction, and in fact was so much that most of us (myself included) won't bother to read it all. We're volunteers and our time is just as precious to us as yours is to you. Why not create a small program whose only purpose is to read and display an image so we can work with the offending code?

Similar Threads

  1. Cannot initialize a class which is already loaded
    By ev54yqwk in forum Advanced Java
    Replies: 2
    Last Post: 07-08-2011, 04:23 PM
  2. image correctly loaded, but JPanel wont display
    By apchar in forum AWT / Swing
    Replies: 3
    Last Post: 04-13-2011, 04:15 AM
  3. Find a webpage loaded or not
    By vijaymsc in forum Advanced Java
    Replies: 3
    Last Post: 02-02-2011, 05:49 PM
  4. Storing image loaded in applet in mysql database
    By mrvigneshmca in forum Java Applets
    Replies: 1
    Last Post: 03-20-2009, 05:17 PM
  5. newbie: the app is loaded but i can't see it
    By tamayo in forum New To Java
    Replies: 1
    Last Post: 07-21-2007, 09:14 AM

Posting Permissions

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