Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

image  RSS feed

 
simrat khanuja
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to load an image to a swing application??
i want to load it to myframe(JFrame)..
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in the Java Tutorials.

Moving discussion to our Swing forum.
 
Tony Docherty
Bartender
Posts: 3264
81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stevens Miller posted an image panel component some time ago, see http://www.coderanch.com/t/601266/GUI/java/Repainting-JPanel-componentResized-event#2747070
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!