To add images to a
DrawingPanel object, you would need to call some of the following lines of code:
DrawingPanel panel = new DrawingPanel(500, 500); // creating the object
Graphics g = panel.getGraphics();
panel.loadImageAndResizeWindow("my_image.jpg"); // loads image and resizes window, like in the ImageGallery project
BufferedImage buffimage = panel.loadImage("my_image.jpg"); // loads image, but doesn't draw it...
g.drawImage(buffImage, 50, 50, null); // draws the buffered image at given x and y coordinates