Java, Netbeans -> ImageBox

How can I add a static image to my forms? If this were C#, I'd use an imagebox, but looking around Swing, I am not seeing anything that looks like an image control.

Who is Participating?
objectsConnect With a Mentor Commented:
yes you can use any image
the other alternative is subclassing a JPanel and implement the painting yourself, here are a couple of examples:
rossryanAuthor Commented:
Isn't this supportive of only icons? Can I use any size image, and resize it to any other size?

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.