private void drawPhoto(Image imageToLoad) {
final Image image = new Image(getDisplay(), imageToLoad.getImageData());
GC gc = new GC(photoCanvas);
gc.drawImage(image,0,0,image.getBounds().width,image.getBounds().height, 0, 0, 362, 198);
gc.drawRectangle(0,0,photoCanvas.getBounds().width-1,photoCanvas.getBounds().height-1);
photoCanvas.addListener(SWT.Paint, new Listener(){
public void handleEvent(Event arg0) {
GC gc = new GC(photoCanvas);
gc.drawImage(image,0,0,image.getBounds().width,image.getBounds().height,0,0,362,198);
gc.drawRectangle(0,0,photoCanvas.getBounds().width-1,photoCanvas.getBounds().height-1);