Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jframe

 
Sourav Sharma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to add image in a Jframe???
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add the image to a JLabel
add the label to a JPanel
add the panel to the JFrame.

if you're talking about adding as a background image,
see the faq on this forum's main page
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic