• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Path ImageIcon URL .JAR  RSS feed

 
Aymen Rebouh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I may have made of try, none works..

The file is:
/Users/Toto/Desktop/Titi/IUT/Java/TP2/project/src/fichierPointJava/img1.png

fichierPointJava est the name of the package .

I launch the ant when I am situated in project which contains the build.xml

Here are the codes that I tested:




I made out a will with or without "this", and with or without getClassLoader()

Hope someone will help me
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!