i am trying to add a bmp image file to a panel but i dont no how. i have been trying a few different code but nothing seems to be working for me.
ImageCanvas imageCanvas = new ImageCanvas(this,bi);
visibleArea.add(imageCanvas, BorderLayout.CENTER);
this code makes the area where th image needs to be but i dont no how to add the file here.
thanks