How to get real path of an image in Java?

Can anyone tell me why the image is not showing in the java program?Everything works fine in the code below and I do not get any errors.?

  • I have checked and the image loads fine but it does not display on the frame. I think there is some sort of trick when you draw an image onto a BufferedImage and then draw the ...show more

  • Answer:

    Upload things to pastebin, or put spaces in log code near punctuation etc. to keep it from truncating.

HGJOX2BAP35SBOGGDMBDMA6LCA at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.