Results 1 to 2 of 2
Thread: image is not getting loaded ....
- 07-08-2012, 09:50 AM #1Member
- Join Date
- Jul 2012
- Rep Power
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.
Last edited by Mehrish Yousuf; 07-08-2012 at 07:45 PM.
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?
- By ev54yqwk in forum Advanced JavaReplies: 2Last Post: 07-08-2011, 04:23 PM
- By apchar in forum AWT / SwingReplies: 3Last Post: 04-13-2011, 04:15 AM
- By vijaymsc in forum Advanced JavaReplies: 3Last Post: 02-02-2011, 05:49 PM
- By mrvigneshmca in forum Java AppletsReplies: 1Last Post: 03-20-2009, 05:17 PM
- By tamayo in forum New To JavaReplies: 1Last Post: 07-21-2007, 09:14 AM