By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,779 Members | 1,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,779 IT Pros & Developers. It's quick & easy.

ImageIcon in JApplet

P: n/a
Mik
I have a problem with drawing ImageIcon objects on a JPanel in a JApplet
Everything is ok when I run applet locally, but when it's run from a server
the images are not showing
ImageIcon objects are constructed from a *.gif files which I load in init()

for( int i=0 ; i<5 ; i++ )
{
URL url = new URL(this.getDocumentBase(),path[i]);
URLConnection urlConnection = url.openConnection();
ImageIcon im = new ImageIcon(url);
}

There's no Exception... they're just not visible... why?

Mik
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.