This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
how to add images on panel in borderlayout using applets
Herbert Maosa
Ranch Hand
Joined: May 03, 2000
Posts: 289
posted
0
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.