File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Picture Question

 
Atrus Greyor
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would the code be to put a picture off of your hard drive on to a frame? Any help would be appreciated
 
Jeffrey Hunter
Ranch Hand
Posts: 305
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the Java API, specifically:
  • Image
  • ImageIcon
  • JLabel (you can pass an Image into one of the JLabel constructors).

  • [ May 04, 2004: Message edited by: Jeffrey Hunter ]
     
    I agree. Here's the link: http://aspose.com/file-tools
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic