• Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying an Image over a network.  RSS feed

 
Roberto Guerra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am building a small desktop application that needs to retrieve infromation from a database server somewhere in the same LAN. The application needs to obtain information about specific vehicles in the database and display the image as well. Is there any way that the image can be displayed in the client without having to download the image to the local hard-drive?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16057
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, your program could just download the image into a buffer in memory and display it.

Once you have downloaded into a buffer in memory (using whatever protocol you need to get it from the server) you could load it like this:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!