try
{
file = new File("D:/JBuilder7/samples/editor/bullet.gif");
inputStream = ImageIO.createImageInputStream(file);
scannedImage = ImageIO.read(inputStream);
}catch(MalformedURLException url) { System.out.println("error
during icon file access"); }
catch(IOException ioe) { System.out.println("error during icon
creation"); }
also.. i have heard it is not possible to display an "*.
ico" file on a button.. please help??..
[ November 30, 2004: Message edited by: Basanth P Rangadhol ]