org.oddjob.images
Class ImageIconStable

java.lang.Object
  extended by javax.swing.ImageIcon
      extended by org.oddjob.images.ImageIconStable
All Implemented Interfaces:
Serializable, Accessible, Icon

public class ImageIconStable
extends ImageIcon

Provide stable serialization for ImageIcon. Required because serialization changed in Java 6 U26, thus causing Oddjob clients and server on version either side of this to fail.

See Also:
Serialized Form
Author:
rob

Nested Class Summary
static class ImageIconStable.ImageIconData
           
 
Nested classes/interfaces inherited from class javax.swing.ImageIcon
ImageIcon.AccessibleImageIcon
 
Field Summary
 
Fields inherited from class javax.swing.ImageIcon
component, tracker
 
Constructor Summary
ImageIconStable(Image image, String description)
           
ImageIconStable(URL location, String description)
           
 
Method Summary
 
Methods inherited from class javax.swing.ImageIcon
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, paintIcon, setDescription, setImage, setImageObserver, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageIconStable

public ImageIconStable(URL location,
                       String description)

ImageIconStable

public ImageIconStable(Image image,
                       String description)