File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applets

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
how to add images on panel in borderlayout using applets
 
Herbert Maosa
Ranch Hand
Posts: 289
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think adding images to the panel will not make a difference whether you are using an applet or application, and whatever the layout.
Basically you will need to have a drawing surface, the best candidate of which is the canvas. So, for example you can have the canvas added to the center of your border layout.The canvas has the paint method, so inside this paint method you can invoke the drawImage() method of the Graphics class to draw the image that you want.
I wonder if this helps.
Herbert.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic