aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes how to add image to swing, i dont need the code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "how to add image to swing, i dont need the code?" Watch "how to add image to swing, i dont need the code?" New topic
Author

how to add image to swing, i dont need the code?

Soumya Rout
Ranch Hand

Joined: Aug 06, 2009
Posts: 49

hi,
I wanna know how to add image to jframe or jpanel or to any swing component. And i can do it programmatically but i want the steps how to do it in NetBeans IDE 6.5



With regards som

thnx in advance
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
This will work for NetBeans or non-NetBeans-generated apps: BackgroundImageOnJPanel
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19556
    
  16

Since you already know how to do this in code, this is not a Swing problem but a Netbeans specific problem. Moving to IDEs.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Soumya Rout
Ranch Hand

Joined: Aug 06, 2009
Posts: 49

Hmmm i knew that its not a swing prob but I dont know how set a picture to a control ....

Can any one please give me the correct steps or is there any properties to set picture to a control???


Regards som
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to add image to swing, i dont need the code?
 
Similar Threads
how to add background image, Header image, three label and three text box in JFrame
Changing background images
Background image
I have question about JFilechooser?
display image in jpanel