• Post Reply Bookmark Topic Watch Topic
  • New Topic

image in netbeans

 
Mateen Dar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i am using netbeans and want to display a image where should i put the image.

i am putting the image in the images directory in the src directory and calling the funnction

Image image =Image.createImage("images\a.png");
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!