Can I pass an Image object from a remote server to the client using RMI?

Edward Harned

For what class?  The basic rule for passing objects by RMI is that the class must implement the java.io.Serializable Interface.

java.awt.image.BufferedImage, no.
javax.swing.ImageIcon, yes.

The Javadoc, (too long to put here), for this interface explains what it is and how to use it.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact