This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

No global colormap  RSS feed

 
sara edison
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently trying to open my applet in IE or Netscape. My applet shows up very nicely, but my image does not. I checked the java console and it says that:
com.ms.awt.image.ImageFormatException: no global colormap in GIF file.
at com/ms/awt/image/GifImageDecoder.error
at com/ms/awt/image/GifImageDecoder.readHeader
at com/ms/awt/image/GifImageDecoder.produceImage
at com/ms/awt/image/InputStreamImageSource.doFetch
at com/ms/awt/image/ImageFetcher.fetchloop
at com/ms/awt/image/ImageFetcher.run
What does no global colormap in GIF file mean? And how would I remedy the error? I greatly appreciate any suggestions!! Thanks!!! -sara
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure what this error means... Have you tried to load a different GIF? That would at least show if the problem was with your code or the image you were trying to load...

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!