This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading Image from db done !! Problem with byte array to Image

 
Ashutosh khanna
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashutosh,
Welcome to JavaRanch!

What error message are you getting?
 
Ashutosh khanna
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for replying.

The thing is that i am not getting any image in the frame.. no errors.

and i have printed the contents of the byte array on console just the check whether it is empty.

instead of a dry run... why don't you try with your database ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashutosh,
I don't follow. When you print the byte array, is it empty or does it output bytes?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic