Image greenball = Toolkit.getDefaultToolkit().getImage( new java.net.URL( "http://mindprod.com/images/greenball.gif" ) );